Skip to main content

All Questions

0 votes
0 answers
20 views

leaflet (angular) dosn't show overlay-pane

I have the next map with leaflet: private initializeMap(): void { let ubicacion = this.obtenerUbicacionActual(); const center: LatLng = latLng(ubicacion[0], ubicacion[1]); // where i am ...
user2315402's user avatar
0 votes
1 answer
2k views

How to change the map center position to top place using Leaflet open street map in angular

In my angular application I have created the leaflet map and over the leaflet map I have created two more panels data in overlapping manner And I have created the circle of 5 km radius on the map. But ...
Haritha's user avatar
  • 87
0 votes
1 answer
2k views

How can I add multiple button with events for Leaflet Marker tool

I wanted to add more button along with this Cancel button, When user click on marker from leaflet toolbar. Please suggest me the solution or any plugin which helps to achieve this requirement.
vinita jain's user avatar
1 vote
1 answer
1k views

How to disable drawing any polygon on Leaflet map

I am trying to disable drawing any polygon on map until user selects any radio option displayed in image below. So How can I cancel drawing or disable user to draw anything on map?
vinita jain's user avatar
3 votes
0 answers
2k views

Getting the Altitude in leaflet

I was wondering if there is a way to get the altitude for my current location in leaflet like getting the latitude and longitude this.marker = leaflet.marker([e.latitude, e.longitude]).addTo(this.map)...
Nouf's user avatar
  • 763
1 vote
1 answer
1k views

Leaflet routing machine usage limits

I want to find out if there are any usage limits for the leaflet routing machine library. In particular what's the maximum number of waypoints that can be supplied as part of routing requests and are ...
mindparse's user avatar
  • 6,915
3 votes
0 answers
2k views

change default icon toolbar (Leaflet)

how can i change default toolbar icon to something else on leaflet.. picture above show the default view of icon.. i want to customize and change the icon to something else for example the first ...
paan's user avatar
  • 355
2 votes
2 answers
636 views

angular-leaflet : draw control: GeoJSON of Circle and Point are same. How to differentiate?

I suppose to save the drawn shapes and on-demand it should load into the map. When I draw point and circle it gives same geoJSON. Type of both the shapes are point. I can't able to differentiate the ...
Premkumar Jayaseelan's user avatar