Multiple tile issue google maps API v3 JS

I have a map where user from an admin panel can add many tiled layers to the map. Those layers will be added to the map in the form of loop. The user can switch the layer on and off based on their …

Change icon back to default state after infoWindow closed Google Maps

So my goal here is to make the icon go from the “normalIcon” state to the “activeIcon” state on button click, which it currently does. It opens an infoWindow when the pin is …

Google Maps Infobox images pop out to another infobox with an image gallery

So I have this location that I have images for. I have about 15 images and I want there to only be 4 images on the infoWindow for the location and then you can click on the images and it will …

Google Maps Marker Clustering not working

I got this code from this Snippet here that works fine and changed a little bit. But now I wanted to add Marker Clustering to the map like this but I get nothing to work. I added to the head and in front of “markers1 =” but then I get the error I don’t know why this code is not working here without the marker cluster. On my Page, it works fine. Answer When I add the specified code to the posted code snippet: <script src=”https://unpkg.com/@google/markerclustererplus@4.0.1/dist/markerclustererplus.min.js”></script> to the head var markerCluster = new MarkerClusterer(gmarkers1, {imagePath:’https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m’}); to after the gmarkers1 array

Adding Marker Label underneath a marker to Google Maps in google-maps-react

I am using google-maps-react package to create the Google map and using Marker to create the markers. My Question: How can I add the marker label underneath the marker? Right now I have it displaying a title but its on-top of the marker. I have screen shots of what I have now vs what I’m trying to accomplish besides the custom marker icon. This is my function of creating the marker. }; Then this is my render to display the map then calling the display marker function. } This is my marker now This is what I’m trying to get

Get only countries to autocomplete from Google Maps API

I’m using Google Maps API to get autocomplete list of cities and countries (without other details), and it works exellent. var input = document.getElementById(‘newAddress’); var options = { …

Google maps Places API V3 autocomplete – select first option on enter

I have successfuly implemented Google Maps Places V3 autocomplete feature on my input box as per http://web.archive.org/web/20120225114154/http://code.google.com:80/intl/sk-SK/apis/maps/documentation/…

Close all infowindows in Google Maps API v3

I am busy with a script that will make a google maps canvas on my website, with multiple markers. I want that when you click on a marker, a infowindow opens. I have done that, and the code is at the …