diff --git a/docs/EXAMPLES.md b/docs/EXAMPLES.md index 83f94ecfb..210bd6016 100644 --- a/docs/EXAMPLES.md +++ b/docs/EXAMPLES.md @@ -76,14 +76,13 @@ mapbox.Draw({ }, // polygon mid points { - 'id': 'gl-draw-polygon-midpoint', - 'type': 'circle', - 'filter': ['all', - ['==', '$type', 'Point'], - ['==', 'meta', 'midpoint']], - 'paint': { - 'circle-radius': 3, - 'circle-color': '#fbb03b' + "id": "gl-draw-polygon-midpoint", + "type": "circle", + "filter": ["all", ["==", "$type", "Point"], ["==", "meta", "midpoint"]], + "paint": { + "circle-radius": 3, + "circle-color": "#fbb03b" + } }, // polygon outline stroke // This doesn't style the first edge of the polygon, which uses the line stroke styling instead