Tagged Questions
0
votes
0answers
16 views
Does leaflet support KML Ground Overlays?
I found an example showing KML overlays at http://harrywood.co.uk/maps/examples/leaflet/kml.html but it only plots vector layer using polygons.
Is there any way to plot Ground overlays of KML (like ...
1
vote
0answers
20 views
Updating leaflet variable using dajax?
Really, I think this a somewhat easy question for someone with some more experience in javascript programming.
I have a Django app to map some locations using leaflet. I'm using dajax for some on ...
0
votes
0answers
47 views
Reset style on select Leaflet polyline
Using Leaflet, how can I reset a polyline to it's previous color after it was selected? I have the following function that has been applied to each polyline when constructed:
function ...
2
votes
3answers
139 views
get latitude & longitude as per address given for leaflet
In my project I am using leaflet to display points.
I am getting address from my database & want to show point for that particular address.
I dident found anything which will give me latitude ...
1
vote
1answer
53 views
Create buffer around point in LeafletJS?
I am using LeafletJS. I want to create buffer around point. after Selecting a point buffer radius will be specifed by user in feet.
After searching of awhile I found this link of JSTS. does JSTS ...
0
votes
0answers
133 views
create polylines with different colors in leaflet
I have one function which creates poly line & adds that polyline to map
function makeRoute(e)
{
if(pointsSelection.length > 0)
{
pointsSelection.push(e.target.getLatLng());
...
0
votes
1answer
76 views
How to properly use PostGIS with Maps
First time using PostGIS in an app.
Target:
- Get Heat Map of customers from address table using leaflet.js and heatmap.js
Have DB called store_dev.
Installed OSM Bright from Mapbox in it.
Have a ...
0
votes
1answer
123 views
Geojson multipolygon doesn't work with Leaflet bindPopup?
I have polygon and multipolygon data in Geojson format and when I try to bind popup for polygon, it works perfectly, and when I try to bind it for multipolygon, it doesn't work.
Is that some Leaflet ...
1
vote
1answer
409 views
CloudMade Routing with Leaflet: route is not displayed
I am trying to consume the CloudMade routing API using Leaflet.
So far, I have managed to pass points and receive a response, and parse that response into an array of points. The array of points is ...
1
vote
1answer
80 views
passing geocode results object to another file
I'm using a geocoding plugin (Leafet.GeoSearch) on a map and I'd like the results, being the LatLng point coordinates, etc available as a parameter for GeoServer cql filtered calls.
It doesn't seem ...
3
votes
1answer
337 views
How to avoid corrupt geometries when translating between TopoJSON and GeoJSON?
I'm trying to display some geojson vector features on a leaflet map.
The size of my GeoJSON is too big (25.4mb of data, 8.47mb gzipped), so I'm trying to use a TopoJSON format to reduce the size ...
1
vote
1answer
134 views
Does Leaflet has option for scale dependent layers?
Is it possible to show layers with Leaflet depending on scaling? For example not show counties until zoom level reaches 10.
Thanks.
1
vote
2answers
286 views
How to use Leaflet marker clustering with image map only?
I have image map of one state, where I would like to put about 100 markers. Is it possible to use only one image map instead of CloudMade tiles Leaflet usually uses? So, I need only that image to be ...
3
votes
1answer
78 views
How to set up a maximal zoom for polygons in Leaflet?
How to set up a maximal zoom for some layer, for example state polygons? I need that my US polygons which represent states have maxZoom 6, and when zoomed higher than 6, that US counties show up ...
2
votes
0answers
204 views
Problem with multipolygon in Leaflet
I'm using Leaflet L.Polygon, but for some reason there's only blank site. Here's my code:
var map = L.map('map').setView([37.8, -96], 4);
var cloudmade = ...