Skip to content

Commit e3b7389

Browse files
sterfdMaxLenormand
andauthored
update quickstart (#349)
* update notes in Quickstart>Edit a UDF and Quickstart>Next Steps * remove a couple quickstart comments * Update docs/quickstart.mdx Co-authored-by: Maxime Lenormand <44133329+MaxLenormand@users.noreply.github.com> --------- Co-authored-by: Maxime Lenormand <44133329+MaxLenormand@users.noreply.github.com>
1 parent fb147c2 commit e3b7389

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/quickstart.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ import ReactPlayer from 'react-player';
8080

8181
## Edit a UDF
8282

83-
The power of Fused Workbench is the ability to easily edit your code and it executes instantly without you having to hit "Run"
83+
The power of Fused Workbench is the ability to easily edit your code and it executes instantly without you having to hit "Run".
84+
The UDF editor calls [`fused.run(udf)`](/python-sdk/top-level-functions/#run) under the hood for you upon updates to the code.
85+
8486

8587
Let's give it a try, replace the default UDF with this code into the UDF Builder to render subway stations on a map:
8688

@@ -108,6 +110,13 @@ def udf():
108110

109111
<ReactPlayer className="video__player" playing={false} muted={true} controls height="100%" url="https://fused-magic.s3.us-west-2.amazonaws.com/workbench-walkthrough-videos/docs_rewrite/getting-started/Getting_Started_Changing_dataset.mp4" width="100%" />
110112

113+
:::info
114+
115+
The map updates automatically using from the geospatial information returned by `udf()`.
116+
This interaction goes both ways as the map can [pass coordinates](/core-concepts/filetile/#map-tiles) into the UDF with `bbox` or XYZ indices, allowing Fused to spatially filter data.
117+
118+
:::
119+
111120
Let's explore this data a bit more, the map shows us we have US states, let's print out some more info about it, just before the `return`:
112121

113122
```python showLineNumbers
@@ -259,6 +268,7 @@ Congratulations, you've touched on all the core features of Fused. 🎉
259268
Now you can dive deeper into more advanced topics:
260269
- Learn more about [UDFs](/core-concepts/why/) (We showed how to return static vector files, but we can do a lot more!)
261270
- Take a deeper look at [Workbench](/workbench/overview/)
271+
- Play around with the [Examples](/user-guide/examples) to Fused in action
262272
- Look into the [UDF Catalog](/workbench/udf-catalog/) to find UDFs from the community you could leverage
263273
- Dive into the `fused` [Python SDK](/python-sdk/)
264274
- Learn about how [Fused handles caching](/core-concepts/content-management/cache/)

0 commit comments

Comments
 (0)