An Open-Source JavaScript Library for Mobile-Friendly Interactive Maps

learn more… | top users | synonyms

-1
votes
2answers
1k views

Adding the draw control in Leaflet

I'm trying to add the Draw Control availble in with the Leaflet.Draw Plugin I've downloaded the code and stored in htdocs and point my page towards the js and css libraries needed. The page loads ok ...
-1
votes
1answer
399 views

Is it possible to show markers from MySQL database with Javascript?

I'm interested if it's possible to show markers (latit, longit) from MySQL database with Javascript libraries like Leaflet?
-1
votes
1answer
230 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 ...
-2
votes
1answer
309 views

how to customize the marker using leaflet

I am adding markers to the map as below: var markers = new L.LayerGroup(); L.marker([Latitude], [Longitude]).bindPopup("Hi there").addTo(markers); map.addLayer(markers); I have my own marker ...
-2
votes
1answer
136 views

Upgrade Leaflet to 0.4, how to start?

I have an app based on leaflet 0.3.1 and it is time to upgrade to 0.4 !!! Nice ! So, what to do now ! Obviously, our map is absent in the browser, so let's have a look inside our files. Well, i have ...
-4
votes
1answer
879 views

How to create a layer switcher in leaflet

I had used the following layers in leaflet,now i want to switch between the 4 layers ,please tell the code to create a layer switcher control in leaflet // night layer //var osmUrl = ...