Timeline for Highlighting selected geojson feature and return to previous state when another one is selected using Leaflet?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 30, 2019 at 14:53 | comment | added | Laurent | Thank you bill. Actually, instead of circle markers, I'm using svg | |
Jan 29, 2019 at 13:56 | comment | added | Bill Chappell | Check out extension.iastate.edu/communities/gis/quicktasksheets search on Leaflet, The have task sheets that may help, For circleMarkers: indicator.extension.iastate.edu/projects/tasksheets/reports/…. That should help get you started. | |
Jan 29, 2019 at 10:52 | comment | added | Laurent | Thanks Bill, That is very interesting. I'll have a look at it | |
Jan 28, 2019 at 22:45 | comment | added | Bill Chappell | Here is a page of examples I used for a class.I have examples of circlemarkers, polylines and polygons here, right clck on the example, view source to see how I did it. gistechsolutions.com/leaflet/DEMO The style and getColor functions are similar for all except regular markers, which don't change unless you do fontawesome markers. | |
Jan 28, 2019 at 22:35 | comment | added | Laurent | Yes, this is what I mean. Do you have an example that included all kind of features ? Thanks you for your help btw | |
Jan 28, 2019 at 17:43 | comment | added | Bill Chappell | By feature you mean marker, polyline, polygon right? My example works on polylines or polygons or circlemarkers. For markers I usually just put a small circlemarker under them. Here is an example of my yellow select on a marker. gistechsolutions.com/leaflet/DEMO/Simple/indexMap3.html | |
Jan 28, 2019 at 15:38 | comment | added | Laurent | Thanks you Bill ! And how do you do if I have feature AND marker ? | |
Jan 28, 2019 at 13:43 | history | answered | Bill Chappell | CC BY-SA 4.0 |