Tagged Questions
1
vote
0answers
79 views
Leaflet: Linking a marker click event to an image
I'm breaking down my question into three parts. I am a beginner to Leaflet and to writing code. Currently, I have a JSON file with all of my markers linked to my map page. The idea is that every ...
0
votes
1answer
162 views
How to keep bound popups from opening on [click]?
I am working on a map application which creates and binds popups on markers and polyline objects.
The popups are created and bound lazily, i.e. ad-hoc when a user clicks on a specific object. The ...
4
votes
1answer
132 views
binding nested arrays as geojson popups in leaflet
I am struggling with geojson popups in leaflet.js
I have nested arrays as properties for my features -
an example would be counts of fish caught at a location (not my actual project data!)
...
1
vote
1answer
1k views
How to open popup on mouseover in Leaflet? [duplicate]
Possible Duplicate:
How to show a popup on mouse-over, not on click?
I'm working with Leaflet library. I defined L.layerGroup and add some markers to the group. Can somebody help me with ...
4
votes
1answer
2k views
How to show a popup on mouse-over, not on click?
Is it possible in Leaflet that popup opens on mouse-over, not on click?
This is working for just one marker at a time, but I need it for a bigger number of markers:
marker.on('mouseover', ...
2
votes
1answer
280 views
How to insert new line text in popup
I'm using Leaflet Marker Cluster and I need to show five different lines in a popup. But when I write this, they are all in the same line. Can someone help me to be one under another?
var a = ...
2
votes
1answer
992 views
Leaflet marker cluster and popups
I want to develop a map with Leaflet marker cluster. You can see how it looks like here: https://github.com/danzel/Leaflet.markercluster
But I need that my markers have popups with more information ...