Skip to content

Commit 1a505e7

Browse files
committed
Forgot to add markdown section describing 'add_layer()' functionality
1 parent 9695c9f commit 1a505e7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

guide/09-mapping-and-visualization/using-the-map-widget.ipynb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,14 @@
567567
"usa_map.add_layer(world_timezones_item)"
568568
]
569569
},
570+
{
571+
"cell_type": "markdown",
572+
"metadata": {},
573+
"source": [
574+
"### Adding layer objects to the map\n",
575+
"You can add a number of different layer objects such as `FeatureLayer`, `FeatureCollection`, `ImageryLayer`, `MapImageLayer` to the map. You can add a `FeatureLayer` as shown below:"
576+
]
577+
},
570578
{
571579
"cell_type": "code",
572580
"execution_count": 25,
@@ -609,7 +617,7 @@
609617
"cell_type": "markdown",
610618
"metadata": {},
611619
"source": [
612-
"You can add a number of different layer objects such as `FeatureLayer`, `FeatureCollection`, `ImageryLayer`, `MapImageLayer` to the map. While calling the `add_layer()` method, you can specify a set of renderer instructions as a dictionary to the `options` parameter. The previous cell shows how you can set the transparency for a layer. The `opacity` value ranges from `0 - 1`, with `0` being fully transparent and `1` being fully opaque.\n",
620+
"While calling the `add_layer()` method, you can specify a set of renderer instructions as a dictionary to the `options` parameter. The previous cell shows how you can set the transparency for a layer. The `opacity` value ranges from `0 - 1`, with `0` being fully transparent and `1` being fully opaque.\n",
613621
"\n",
614622
"You can make use of the **\"smart mapping\"** capability to render feature layers with symbology that varies based on an attribute field of that layer. The cell below adds the 'USA Freeway System' layer to the map and changes the width of the line segments based on the length of the freeway."
615623
]

0 commit comments

Comments
 (0)