Questions tagged as 'google-maps-api-3'

0
answers

Recalculate route with Google Maps API [closed]

I'm doing a monitoring application. I wanted to send an alert in the Javascript Maps API when the user changed the route or the route was recalculated. I would like to know how to calculate the route change. Thank you.     
asked by 04.04.2016 / 19:09
1
answer

Remove locations and bus stops / stops from Google Maps

I have this code: <script> function init() { var myLatlng = new google.maps.LatLng(34.04, -118.24); var myOptions = { zoom: 13, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP }; var map =...
asked by 07.07.2017 / 19:04
1
answer

How to search for markers already created on a map - Google Maps

I have a map where a number of Markers already exist. In this map I need to go get all the markers, and show a listing with the markers visible to the user, to make a small list of data similar to this example . How can I load all markers cr...
asked by 20.12.2016 / 13:37
2
answers

How to undo the mouse scroll (zoom) action on an Iframe in google map

How to undo the mouse scroll action on google map in this Iframe? Is it possible to do this directly in this code or do I have to use Java Script? If you have to use js, how do I get this Iframe to load only after all other files? <...
asked by 20.04.2016 / 14:57
1
answer

Identify the name of the streets contained in a polygon

I have the following polygon below: function initialize() { var bounds = new google.maps.LatLngBounds(); var i; var polygonCoords = [ new google.maps.LatLng(-23.554548, -46.607911), new google.maps.LatLng(-23.556043,...
asked by 22.10.2017 / 17:44
1
answer

How to center the map in the middle of the polygon?

I have a polygon formed, at first, with 3 edges, basically created using 3 locations: Maiami, Puerto Rico and Bermuda. I took the example in the documentation that shows you how to create a simple polygon . However, by API required standard, yo...
asked by 22.06.2017 / 04:07
2
answers

Real-time Google Maps update

I'm using Google map to show objects in real time. I made a function in Javascript which is refreshed every 3 seconds and in that it updates those marked on the Google map. Something like: vmarcador[value.Id] = new google.maps.Mark...
asked by 12.08.2016 / 20:22
1
answer

How to get the location of the GPS from who access the website?

Hello I need to develop a website that creates routes, I'm using the Google API's JavaScript. I need to get the location of the user, but the same should be the GPS if the user is accessing through a mobile device, not IP as the function of HTML...
asked by 14.07.2016 / 17:40
1
answer

Map of google maps turns gray, but when I change the browser zoom back, what should I do?

So, guys, I have 2 parts of the system where I work, where I use a map to show the address of the property or person. But that in the property works perfectly, but in person (q has the same codes) I have to zoom in on the browser that looks perf...
asked by 19.07.2016 / 07:02
2
answers

Remove previous route from Google Maps

In a multi-location application, I have a button for calling a route between two points using the setDirection function, as inserted below. I would like support to be able to remove a route traced earlier after clicking on another marker....
asked by 07.11.2015 / 04:41