I am using the L.divIcon when using iconSize:null which is causing iconAnchor:[0,0] to not be recognized,my code looks like this:
var divIcon =L.divIcon({ className:'current-location-icon', html:'', iconAnchor:[0,0], iconSize:null, popupAnchor:[0,0] }); How can I ensure that the icon is visible exactly at [0,0] when adjusting size using CSS?
أكثر...
var divIcon =L.divIcon({ className:'current-location-icon', html:'', iconAnchor:[0,0], iconSize:null, popupAnchor:[0,0] }); How can I ensure that the icon is visible exactly at [0,0] when adjusting size using CSS?
أكثر...