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:
Tag: google-maps
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
Find correct streetview from Google maps URL without using computeheading
I am using the computeHeading code from a previous answer by Geocodezip which mostly works fine but with some hiccups which are not Geocodezips fault. The variable “heading” recieves the computeHeading result and this data positions the heading view for google maps streetview like this: However this is not always accurate. What I would like to achieve is pass the
How do I set a marker in MapView of React Native
I want to set a marker on MapView in React Native, but I can’t find any information through official documents of MapView. If it is not allowed in that way, how can I use existed react module such as react-googlemaps in React Native? Answer You can set markers using the annotations prop. For example:
onclick in InfoWindow content
I got a little problem in my code, I try to launch a function in the content of a InfoWindow in javascript, and, I don’t know why, I got difficulties to do that. I’ve looked at a lot of topics about it on stackoverflow and elsewhere, applied exactly what I’ve seen on these topics but… Note: this is a part
Google Maps API v3 Heatmaps Error: “Cannot read property ‘HeatmapLayer’ of undefined”
I am trying to load a Heatmaps layer onto my google maps, but for some reason I just keep getting the error “Cannot read property ‘HeatmapLayer’ of undefined.” Here is the jsFiddle: http://jsfiddle.net/9HQ2a/3/ Answer Add the visualization library to the URL when loading the google maps js.
AngularJS google maps directive
I’m trying to develop an app using angularjs and a directive that I’ve found for instantiate GMaps: http://nlaplante.github.io/angular-google-maps/#!/usage. I follow all the steps but I cant get to render the map! it returns no errors! in the HTML In the controller: Answer Different answer, but I felt google-maps-directive is harder for me to use. Thus, I have created a google
Find centerpoint of polygon in JavaScript
I have a “place” object from Google Maps which has a set of coordinates that represent a bounding box for a given location, say London. Each set of coordinates has a latitude and longitude. I have written the below code to find the centerpoint, but I am not sure if it does actually produce the centerpoint. What if the polygon
Get zoom size on Google Map API
How can I get the zoom size in google map after changing by mouse wheel or zoom bar ? I use Google Map API 3 with JavaScript. I want to show in console.log() with every change. Answer Easy. As per docs: Here’s a great utility that shows all the events as they fire.
Google Maps API v3 (one infowindow open at a time)
Does someone know how to modify this code so that google maps closes infowindows when you open another? In other words, I want only one infowindow open at all times. I looked around on stackoverflow but couldn’t seem to implement people’s solutions in this code. Answer There is a google recommendation what to do if you only want one InfoWindow