Timeline for How to change Leaflet marker color on mouseover?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 10, 2020 at 6:00 | history | tweeted | twitter.com/StackGIS/status/1215513786913894401 | ||
Aug 10, 2016 at 12:16 | answer | added | Benno | timeline score: 5 | |
May 4, 2016 at 17:41 | comment | added | LarsH | And the Leaflet StyleEditor does its magic by giving the icon a Mapbox URL of this form: api.tiles.mapbox.com/v3/marker/pin-m-circle+ffc871.png, where ffc871 is the hex color string. Apparently it can be any six-digit hex string! But probably this is best done using MakiMarkers, which seems to have been designed for this purpose: github.com/jseppi/Leaflet.MakiMarkers | |
Dec 8, 2014 at 23:17 | answer | added | Ricky Sahu | timeline score: 3 | |
Jul 25, 2014 at 4:24 | comment | added | RyanKDalton | You should check out Leaflet.StyleEditor on GitHub. It took me a while to figure out how to get the demo to work, but 1) click the Style tool, 2) click the marker, 3) key point... change the icon setting to something other than default, 4) select color. Voila! Pretty slick. | |
Jul 23, 2014 at 21:01 | answer | added | Kyle Pennell | timeline score: 9 | |
Jul 23, 2014 at 20:58 | vote | accept | Kyle Pennell | ||
Jul 23, 2014 at 19:44 | answer | added | Duncan Rager | timeline score: 7 | |
Jul 23, 2014 at 17:56 | history | asked | Kyle Pennell | CC BY-SA 3.0 |