I have a Leaflet map with a layer called flickrpics that is loaded dynamically in geojson based on the bbox of the current map view. I would like to get a simple count of the number of markers in that layer, so that I can display it next to the layer...
I am creating a site that uses a database in the background to track markers on a javascript google maps api. For some reason when I log in to my site and it redirects to the maps page it will load the map but no markers. Then if I refresh, the marke...
Currently I use a StyledMarker icon (the default bubble icon with custom colors), but I've seen that some sites use the more compact "dot" (picture of dot marker). My question is if it is possbile to replace the default bubble marker with...
So I am wanting to incorporate Marker Cluster into my map (obviously), however I am having a few issues.  Note: I am doing this within a project and didn't write the code for the map itself, but I  understand the gist of it.  We fetch the locatio...
I am trying to do something like : https://github.com/IvanSanchez/Leaflet.Polyline.SnakeAnim/blob/master/demo-group.gif  where I have multiple markers.   In the example code https://github.com/IvanSanchez/Leaflet.Polyline.SnakeAnim/blob/master/demo-g...
I'm new to Leaflet JS. I'm trying to figure out a way to change the default style for a L.Geojson marker used in Leaflet Realtime plugin. I don't know what property to change so that I can change the style of the markers.  Here is my code...
I currently have realtime analytics php api. It has this entity named $resulting. If I do print_r($resulting); it returns for example (if only 1 user is online):  Array ( [0] => Array ( [0] => Arnhem [1] => 5.898730 [2] => 51.985104 [3] =...
I have application where gps info are extracted from photo with gps data. When I want to update position by edit action, I would like to drag a marker, replace it and save new position. When I click to map, old marker is still there, so there are two...
I'm using Leaflet and the marker cluster plugin and I want to dynamically modify the icon of the cluster from which child is inside.  First I create my clusterGroups then I add some markers. I create two groups but I display only the first one &#...
I have been trying to use the example on Mapbox.com for link navigation. marker nav  I want to be able to change the js innerHTML to different properties in my own geojson i.e. change title to "editorname". I can get the nav links to reflect...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.