@@ -210,10 +210,13 @@ It uses [GeoJSON](https://en.wikipedia.org/wiki/GeoJSON) to display polygons and
210210
211211Demonstrates how to create an engaging map with custom icons, colors, rich descriptions with markdown support, and connecting points with lines.
212212Perfect for visualizing multi-dimensional relationships between points on a map, like routes between locations.
213+
214+ Note that the map tile source is set to a MapTiler map. The API key included in the URL in this demo will not work on your own website.
215+ You should get your own API key at [MapTiler](https://www.maptiler.com/cloud/).
213216' ,
214217 JSON (
215218 ' [
216- { "component": "map", "title": "Paris", "zoom": 11 , "latitude": 48.85, "longitude": 2.34 },
219+ { "component": "map", "title": "Paris", "zoom": 13 , "latitude": 48.85, "longitude": 2.34, "tile_source": "https://api.maptiler.com/maps/streets-v2/{z}/{x}/{y}.png?key=RwoF6Y3gcKx4OBMbvqOY" },
217220 { "title": "Notre Dame", "icon": "building-castle", "color": "indigo", "latitude": 48.8530, "longitude": 2.3498, "description_md": "A beautiful cathedral.", "link": "https://en.wikipedia.org/wiki/Notre-Dame_de_Paris" },
218221 { "title": "Eiffel Tower", "icon": "tower", "color": "red", "latitude": 48.8584, "longitude": 2.2945, "description_md": "A tall tower. [Wikipedia](https://en.wikipedia.org/wiki/Eiffel_Tower)" },
219222 { "title": "Tower to Cathedral", "geojson": {"type": "LineString", "coordinates": [[2.2945, 48.8584], [2.3498, 48.8530]]}, "color": "teal", "description": "A nice 45 minutes walk." }
@@ -233,7 +236,7 @@ or abstract 2D data visualizations.
233236 ' [
234237 { "component": "map", "tile_source": false },
235238 { "title": "MySQL",
236- "color": "red", "description": "The litteral red square",
239+ "color": "red", "description": "This literal red square is defined as a GeoJSON polygon. Each (x,y) coordinate is a JSON array. ",
237240 "geojson": {"type": "Polygon", "coordinates": [[[0, 0], [0, 4], [4, 4], [4, 0], [0, 0]]]}
238241 },
239242 {
0 commit comments