Dynamically Showing and Hiding Markers in Leaflet / / No Comments This was originally going to be an example of using Leaflet with Alpine.js, but while working on that demo I discovered an interesting aspect of Leaflet that was a bit more difficult than I thought it would be – hiding and showing markers. Here’s how I approached the problem, and as always, if you know of a better way, leave me a comment below and share! Approach One For my first demo, I decided to start simple. First, I built a function to return a static set of data: async function getStores() { return new Promise(resolve => { let stores = [ { name: "Lafayette Store", open24Hours:true, location: { lat:30.216, lng: -92.033 }}, { name: "Baton Rouge Store",... more → Posted in: JavaScript Tagged with: Dynamically, Hiding, Leaflet, Markers, showing
NGO Monitor: Amnesty map app showing IDF attacks on Gaza lacks essential … – Jerusalem Post Israel News / / No Comments Jerusalem Post Israel News NGO Monitor: Amnesty map app showing IDF attacks on Gaza lacks essential …Jerusalem Post Israel NewsThe Gaza Platform application by NGO Amnesty International and Forensic Architecture – a research project based at Goldsmiths, University of London – officially came out on Wednesday. It maps IDF attacks against Gaza from July until August of last year …and more » map app – Google News… more → Posted in: Interactive Maps Tagged with: Amnesty, attacks, essential, Gaza, Israel, Jerusalem, lacks, Monitor, News, Post, showing