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 initialize a pop-up gallery slider. It currently does nothing when the image is clicked. I have 2 other locations
Tag: google-maps-api-3
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
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
Can’t get Google Map height to automatically resize when div is resized
I am using AngularJS, jQuery UI (with a custom directive for resize), and Bootstrap. On my page, a Google Map appears in the top section, and a table will appear in the bottom section. As the user resizes the bottom section, I’d like the Google Map to automatically resize to take up the remaining space. I’ve tried several different approaches
How to show indian state borders in google maps api?
I am looking to develop a google map which clearly shows state boundaries of Indian states, something like It clearly shows the state boundaries of Indian states, any idea how to do it? I found a lot but did not get satisfactory results any help will be really appreciated ! Answer You can use loading KML file on google map.
Google Maps clustering if markers greater than 5
I’m trying to add clusters into google map and below code works charm, but I need to add clusters if there are more than 5 markers at same place. How would I do that with MarkerClusterer? Answer From the MarkerClustererPlus documentation minimumClusterSize number The minimum number of markers needed in a cluster before the markers are hidden and a cluster
remove a polyline with the same link
I have a problem with Polylines google map api v3. I draw a polyline when I click a link , as I delete or hide with the same link a polyline ? Here is my code: HTML AND javascript Answer You need to keep a reference to the polyline in the global scope. If it has already been created, remove
How do I hide labels in styled map of Philipines?
I have the problem with Philipines`s view at map: Map styles: All fine,except Philipines with strange “titles” on it. I haven`t any ideas… Answer I see “Spratty Islands”, “Paracel Islands”. You need to turn off: proof of concept fiddle code snippet:
Google Maps having directions doesn’t work on mobile : “No Routes Found”
I wanted to have a map having directions set to a static destination. From what i saw, i gave a link as follows: Which opens up a new page with the map. I haven’t been able to replicate this on mobile (Android/Ios) however. Following error comes up on the mobile: “No Routes Found” . Can you explain me what am
Place street view on major street rather than back street
Following code places camera on road closest to marker however its an back street and kind of useless for navigation. Is there way to place camera on nearest major street instead (in this case “Eastern Ave”) without changing marker’s position rather checking picking programmatically closest major street over just any closest street. http://jsfiddle.net/0LdqLzt6/ Answer Using the answer from Request main