diff --git a/index.html b/index.html index d3f56db..bdc6c23 100644 --- a/index.html +++ b/index.html @@ -149,7 +149,7 @@ //}) function highlightLastMarker(geoJSON, highlightColor) { - geoJSON.reverse()[0].properties["marker-color"] = highlightColor + geoJSON[0].properties["marker-color"] = highlightColor return geoJSON }