You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,6 +125,9 @@ This code creates a map that appears as follows:
125
125
126
126
:::image type="content" source="./media/map-add-line-layer/add-symbols-along-a-line.png" lightbox="./media/map-add-line-layer/add-symbols-along-a-line.png" alt-text="A screenshot showing a line layer on an Azure Maps map with arrow symbols along the line.":::
127
127
128
+
> [!NOTE]
129
+
> For a copy of the image file used in the above sample, see [purpleArrowRight.png](https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Static/images/icons/purpleArrowRight.png) in GitHub.
:::image type="content" source="./media/map-add-pin/add-custom-icon-to-symbol-layer.png" alt-text="A screenshot of map with a pin added using the symbol layer with a custom icon.":::
162
162
163
+
> [!NOTE]
164
+
> For a copy of the image file used in the above sample, see [showers.png](https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Static/images/icons/showers.png) in GitHub.
The url passed to the `loadDataSet` function points to the following json:
90
-
91
-
```json
92
-
{
93
-
"type": "Feature",
94
-
"geometry": {
95
-
"type": "Point",
96
-
"coordinates": [0, 0]
97
-
},
98
-
"properties": {
99
-
"color": "red"
100
-
}
101
-
}
102
-
```
103
-
104
100
Once you add features to the data source, the simple data layer figures out how best to render them. Styles for individual features can be set as properties on the feature.
105
101
106
102
The above sample code shows a GeoJSON point feature with a `color` property set to `red`.
The following code snippet shows how to read a delimited file and render it on the map. In this case, the code uses a CSV file that has spatial data columns. You must add a reference to the Azure Maps Spatial IO module.
85
85
86
86
```javascript
87
-
88
87
<!-- Add reference to the Azure Maps Spatial IOmodule. -->
0 commit comments