diff --git a/instagram-locations.py b/instagram-locations.py index 286d414..ca53952 100644 --- a/instagram-locations.py +++ b/instagram-locations.py @@ -102,6 +102,10 @@ html_template = ''' width: 100%; height: 600px; } + img.selected-location { + filter: hue-rotate(120deg); + z-index: 999 !important; + } @@ -126,6 +130,9 @@ html_template = ''' L.geoJSON(locs, { onEachFeature: onEachFeature }).addTo(map); + + var centerMarker = L.marker([$lat, $lng]).addTo(map); + centerMarker._icon.classList.add('selected-location'); '''