Styling markers in 2 different geojson sources in the same map.
-
What am I missing to understand? I have two data sources in geojson, and I want to use different symbols for each of the elements. Currently, all elements appear on the map, but they are all the same color (the first geojson is red -as supposed- and all of the elements of the second geojson are blue – that′s the problem). I’ve read the entire documentation and can’t figure it out. I apologize, but I’m not a programmer.
“And by the way, how can we place the symbols next to the name in the legend? Thank you! Great plugin!!”
[leaflet-map lat=41.47492520278639 lng=352.11181640625006 zoom=9 height=”450″]
[fullscreen]
[leaflet-geojson circleMarker color=red radius=5 src=”https://192.168.10.13/wp-content/uploads/2024/01/pote.geojson”%5DNome:{NOME}[/leaflet-geojson]
[leaflet-geojson circleMarker color=blue radius=5 src=”https://192.168.10.13/wp-content/uploads/2024/01/clies.geojson”%5DNome:{NOME}[/leaflet-geojson]
[[leaflet-featuregroup property=CAE values=”pot” groups=”Pote” visible=0]
[leaflet-featuregroup property=”Com” values=”Br,Ce,Ch,Jo,Ma,Pe,Re,Ri” groups=”Br,Ce,Ch,Jo,Ma,Pe,Re,Ri” visible=0]
- The topic ‘Styling markers in 2 different geojson sources in the same map.’ is closed to new replies.