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'...
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(...
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...
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...
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...
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...
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...
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...
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...