309 reputation
111
bio website
location Berlin
age
visits member for 2 years, 2 months
seen 2 days ago

Jan
26
comment Change marker's size by with zoom in Leaflet
My real code is a bit bigger. I am using a L.control.layers with three overLayers. Now your workaround is to dublicate the var icons and depending on zoom level active one or the other. But that's not very usefull in combination with L.control.layers. Wouldn't it be possible to change the icon's size via CSS or something? BR
Jan
26
comment Change marker's size by with zoom in Leaflet
thanks. The example is working now. But I still recognize a problem. The icons only change once and are not changing back, e.g. when zoom is < 14. Or sometimes it shows bigger and smaller icons on the map at the same time. But, I guess your example is a workaround that will not work in my specific case. The code I posted above is just an example code.
Jan
25
comment Change marker's size by with zoom in Leaflet
Well, I cannot get the map up with the code above. As I am not a developer, I cannot tell you what's going wrong. But the map stops working when adding the map.on part to the script. Any suggestion?
Jan
20
comment Change marker's size by with zoom in Leaflet
Hi Tom, thanks for your help. Okay, I'll try to be more clear. I also changed the code. I use icons coming from Font-Awesome. They have this icon in different resolutions. What I want the map to react is like if zoom=13 use icon 16*16 pixel; if zoom=10 use icon 24*24 and so on. Is that possible?
Jan
20
revised Change marker's size by with zoom in Leaflet
changed the code
Jan
15
asked Change marker's size by with zoom in Leaflet
Jan
8
comment MiniMap in Leaflet
Perfect! Thanks for your help!!!
Jan
8
accepted 'Home' button leaflet map
Jan
8
comment 'Home' button leaflet map
AWESOME! It works like charme! Thank you very much!
Dec
20
awarded  Yearling
Dec
20
asked 'Home' button leaflet map
Dec
15
accepted MiniMap in Leaflet
Dec
11
revised MiniMap in Leaflet
added 940 characters in body
Dec
10
comment MiniMap in Leaflet
Well, that does not work. Could you produce a working map with your suggestion?
Dec
9
asked MiniMap in Leaflet
Dec
9
comment Mapbox.js/leaflet.js working in FF but not in IE
Thanks, I trust your JS knowledge and will see it later when uploading it to a webserver.
Dec
9
accepted Mapbox.js/leaflet.js working in FF but not in IE
Dec
5
asked Mapbox.js/leaflet.js working in FF but not in IE
Dec
1
comment Leaflet Layer Controler
I am continuing the topic with kita layer here now: gis.stackexchange.com/questions/123985/…
Dec
1
asked L.esri.featureLayer shows up and sometimes not