Change mouseover fillOpacity
-
Hi, i’m trying to change the opacity on mouseover but i can’t manage to do it.
If i put the fillOpacity in my shortcode i change the overall opacity of my map and not simply when hovering over a specific area (in this case a prefecture). Here is my code :[leaflet-map address="Tokyo, Japan" zoom=6 doubleClickZoom=true scrollwheel=true fitbounds=1 tileurl=""]
[leaflet-geojson src="/uploads/japan-prefectures.geojson" color="#ffffff" fillOpacity= "0.3" fillColor="#1eae00" weight="0.8" popup_text="{name}"][/leaflet-geojson][hover]
[zoomhomemap]
Thanks
edit: i tried with someting like this but i don’t see the changes :[hover opacity=0.8 fillOpacity=1]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.