![]() Var mapDiv = document.getElementById('mappy') Ĭenter: new (-23.563594, -46. Start or stop navigation On your Android phone or tablet, open the Google Maps app. Google map users can devise a map and directions. I want that my first click to the point A and the second my point B, and them the possibility to drag them, like the project linked function goma() Google maps already have a built-in route planner, and it can create driving directions to multiple locations. I will post here a short code only with my directions. ![]() I made another project that you can click to draw the route but it don't have markers, and is not draggabble, this is my actual project with the full code Adding a Marker Point A custom marker point is a pinpoint that appears on the map. My project has 2 points that has a predefined lat and lng, and I want to draw by myself the start and the end of the point A and B and don't lose it functionality. To start, make sure you’re in the custom map editor by heading to the Google Maps website and selecting the hamburger menu > Your Places > Maps > Create Map. I'm making a google maps project and need to create a route clicking on it.
0 Comments
Leave a Reply. |