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
5
votes
How to improve speed of rendering polygons from Postgis in Leaflet?
I am not sure if I completely understand what your application is doing. Are you sending a query to postGIS every time the bbox changes and then render the response as a vector layer? If that's the ca …
2
votes
Accepted
Gdal2tiles with tif projection failure
Hopefully all you need to do is to set the tms option to true in Leaflet's L.tileLayer constructor. See docs here.
2
votes
Leaflet Draw Popup text unselectable in Chrome
Your popup is inheriting this style from somewhere:
-webkit-user-select: none;
-moz-user-select: none;
You should add some code in your css to set:
div.leaflet-popup-content p {
-webkit-user-s …
1
vote
display a choropleth map using D3 and Leaflet
Difficult to understand what is really going on here without fiddling with some live code, but have you checked the console for errors?
if (population) {
//If value exists…
As a guess, this bit …
1
vote
Accepted
How to add MapServer layer to Leaflet?
Not sure what you mean by "And see multyple layer images on map" but for a start you are creating a Leaflet WMS tile layer, without having a WMS service setup in your mapserver configuration. …
3
votes
Is it possible to check incoming GeoJSON to see if any of the features are identical to exis...
I guess the answer is: in leaflet there is no standard approach yet for what you are trying to do. Not sure, but I think that what you want to achieve is referenced in this open ticket. …
1
vote
Accepted
leaflet fitBounds with multiple marker
Short answer:
have a look at L.LatLngBounds
Long answer:
here is a working example on jsFiddle (with comments) that does what you are trying to accomplish. (It also uses underscore.js)
In general:
w …