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

0
answers

Create a marker on the "go" and another on the "back" in a Polyline

IhaveaPolylinebetween" Origin " and " Destination ", in this Polyline I need to insert markers in a given "Point" location, I do this using the function isLocationOnEdge (). But when there are Polylines adjacent to the " Point " location, I'...
asked by 21.02.2018 / 01:23
0
answers

How to create a Polygons Array in Google Maps Api v3?

I get 2 object arrays, how do I make each one a polygon?     
asked by 01.02.2018 / 20:23
0
answers

How to create a Polygons Array?

I get several polygon arrays, each polygon has its latlng and information like ID, TYPE, and so on. How do I create these polygons on the map? I already tried to use the for but it is giving error, saying that it is not an array. for(...
asked by 01.02.2018 / 14:00
0
answers

Google Maps Div Bug Api V3

My Google Maps, when zoomed "global" and I use draggable, it disappears, as if it were some bug in the div.    GLOBAL VISION, WITHOUT USING DRAGGABLE.           DRAGINGTHEMAPINTHEGLOBALVISION. CSS CODE: html, body, #map { h...
asked by 26.01.2018 / 16:56
0
answers

Markers inside polygons

I'm using the code below to draw a polygon and print it on the map: function initMap() { var map = new google.maps.Map(document.getElementById('map'), { center: { lat: -22.563923, lng: -44.16...
asked by 15.01.2018 / 17:52
0
answers

How to change the zoom in a certain location in google maps api v3?

I'm trying to get the map to zoom in on a particular markers location when they are created in Firebase. I already tried to use the setZoom() setCenter() but what happens is this: I'dlikeittobeontopofthecorrectlocation,forexample:Itha...
asked by 18.12.2017 / 13:44
1
answer

How to add onClick the "Draw Shape" button in Google Maps Api?

I would like to add the "onClick" event in the "Draw Form" of the "Drawing Controller" of google maps api v3. I could not find the documentation and can not right-click the button to check if it has an "id". Would anyone know how to do thi...
asked by 19.12.2017 / 15:10
2
answers

Problem with Google Maps KEY

I have a problem putting the Google Maps map on my site. I already generated a KEY on the panel and I took the simplest example of Google and it is not working. The displayed error is:    "Oops, something went wrong.   correctly. See the J...
asked by 28.08.2017 / 18:35
0
answers

Using Circle as a mask with Google Maps Api V3

I have a circle, and multiple rectangles, which I paint with some colors, but, I just want to see the colors inside the circle, not outside it. Example I just want to see the colors of the inner circle, I thought if I used the circle as...
asked by 04.08.2017 / 15:42
1
answer

Problem creating map using API Google Maps Javascript

I'm not able to initialize my map using javascript. Basically I created 2 files to test the creation, a html file with a div to contain the map and a js file with the map creation function. But whenever I try to call the map...
asked by 27.07.2017 / 23:15