jekyll-leaflet
jekyll-leaflet copied to clipboard
how to change the icons ?
Hello, Could you explain how to change the icon marker and, according to the issue #7, how to change the image size by using divId.
Thank you,
For your second question, I believe this is how you specify the divId:
{% leaflet_map { "zoom" : 9,
"divId" : "mydiv123" } %}
{% leaflet_marker { "latitude" : 41.881832,
"longitude" : -87.623177,
"popupContent" : "Hello World from Chicago!" } %}
{% endleaflet_map %}
You would then specify the CSS for that particular id:
#mydiv123 {
height: 600px;
}
Let me know if that doesn't work. For your first question, I will have to look a bit deeper into specifying of customer marker images...
Yesssss that works ! But it would be better to assign height in {% leaflet_map %} and other parameters ... ;-)
I came across this issue while trying to find out how to set custom marker icons. Is this available nowadays?