Skip to main content

All Questions

1 vote
3 answers
6k views

How can I get all coordinates between two points polyline

How can or i found all coordinates between two points on poly line. I doesn't need distance or only mid point. Let suppose I have two points Point A (left) lat: 39.091868 long: -9.263187 Point B (...
Rafi Ullah Patel's user avatar
1 vote
1 answer
7k views

Place custom markers for leaflet.draw marker property

I am using leaflet.draw plugin to allow the user to place markers on the map but not sure how to provide configure in drawControl to take custom icon ,custom width and custom height tried doing it ...
dhana lakshmi's user avatar
1 vote
2 answers
6k views

Use 3D View Google Map in Leaflet plugin

I Use Leaflet Map Plugin. i Write this code for create and load google map tiles in LeafLet var map = L.map('map').setView([31.2744015, 48.7251283], 18); // load a tile layer //Satellite: ...
Pouya's user avatar
  • 1,920
1 vote
1 answer
2k views

How to show Google maps and leaflet draw polygons in a same layer?

I am able to display marker & geojson polygons using leaflet and google maps.but map and polygons are coming in different layers this is not looking good when you zoom in,zoom out or while ...
trex tiab's user avatar
0 votes
0 answers
1k views

How can I use Google maps with Leaflet? [duplicate]

Here is the code I am using with osm. I was able to display marker but I was not able to display and edit geojson polygons. I have google api keys with me. Is it possible to do it with google maps? ...
Anuj Mayank's user avatar
1 vote
1 answer
656 views

function surprisingly changes polygon coords in leaflet map

I'm trying to create some functionality to leaflet map, to every created marker I add triangle with specific rotation. This is function to create marker and add triangle (this works well): function ...
Petr Bečka's user avatar