Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps
31
votes
5
answers
129k
views
Drawing polyline in Leaflet?
This is my coding I used in Leaflet:
var pointA = new L.LatLng(28.635308, 77.22496);
var pointB = new L.LatLng(28.984461, 77.70641);
var pointList = [pointA, pointB];
var firstpolyline … Points (in Leaflet "circles") are showing perfectly on the map. …
3
votes
2
answers
6k
views
Animated lines and line styles in Javascript [closed]
I'm using Leaflet library and Mapbox. I need to create animated line from one city to another, slow motion "travelling" from one point to another point.
Is that possible in javascript and how? …
0
votes
1
answer
4k
views
How to render only those Leaflet layers which are in current map view?
Is it possible to render Leaflet layers which are in current map view so that other layers which are not in that map view doesn't render? …
0
votes
1
answer
308
views
Multiple Geoserver GetFeatureInfo templates for same layer?
I would like to use that layer a couple of times on different maps, but I want different data in Leaflet popup. Is it possible to define multiple templates for same layer? …
10
votes
1
answer
18k
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? …
52
votes
5
answers
170k
views
Showing popup on mouse-over, not on click using Leaflet?
Is it possible in Leaflet that popup opens on mouse-over, not on click? …
0
votes
1
answer
2k
views
Geojson multipolygon doesn't work with Leaflet bindPopup? [closed]
Is that some Leaflet bug and how can I solve this? …
2
votes
2
answers
2k
views
Go to URL on click with GeoJSON
I'm using Leaflet API and GeoJSON. …
5
votes
1
answer
11k
views
Is it possible to create filters based on attributes for markers in Leaflet?
Something like
var markersA = a[2] contains 'A'
I thought it is maybe possible with Leaflet Marker groups or something similar.
I'm new to Javascript so I'm interested if it's even possible. …
1
vote
1
answer
2k
views
Is it possible to show migration arrows on Leaflet map?
I need to develop Leaflet map which will show the whole world. Also, I need to draw some arrows which will show paths of migrations in the world. … Do you have some advice how can that be shown on the map in Leaflet API?
My ideas:
Is it possible to show some direction arrows with RaphaelJS? …
2
votes
0
answers
2k
views
Problem with multipolygon in Leaflet
I'm using Leaflet L.Polygon, but for some reason there's only blank site. … But Leaflet polygon coordinates should be in lat lngs. …
4
votes
1
answer
587
views
How to set up a maximal zoom for polygons in Leaflet?
Is that possible in Leaflet? All states are defined like Leaflet polygons.
Thanks in advance. …
0
votes
1
answer
328
views
Postgis objects inside Leaflet circle
How can I retrieve database objects from postgis database which are contained inside Leaflet circle object? I assume circle is only a point with some radius and not a polygon. …
1
vote
Openlayers Leaflet and popup
I don't understand why are you using both libraries, you should choose one - Leaflet or OpenLayers and work with that one. … This code isn't working because you didn't defined Leaflet map:
map = L.map('map');
You defined OpenLayers map as map and in this line
geojsonLayer.addTo(map);
you're adding leaflet layer to leaflet …
1
vote
1
answer
897
views
How to create and serve map tiles?
What would be best approach if I need it in Leaflet application? …