An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
1answer
3k views

Google Maps Ground Overlay: How to calculate bounds?

I'm working with the Google Maps API for the first time and I'm trying to append a simple image of a Building on top of my current map view. This seems to be very straight forward when I look at the ...
1
vote
1answer
154 views

Feature “Add to wishlist” in Info Window in Google Maps API 3?

I have Google Map and a lot of markers. Is there possibility to add feature when user clicks on marker and Info Window shows up, that user has option to add that location to wishlist and associate ...
1
vote
1answer
327 views

Adding custom polygons in google maps

Do you have any experience with adding custom polygons in to the google maps? I have made polygons from raster layer. And my goal is to show this layer in google maps. For now i have experience with ...
1
vote
1answer
44 views

Certain polygons not obeying JavaScript style rules?

http://catalinagis.org/ownership You can see that some of the parcels don't follow the fill style rules (opacity: 0.5) even though the same style rule applies to all polygons in the data. This ...
1
vote
1answer
169 views

Creating image for google map tiles from KML file

I am totally new to this. I have a KML file of zip code boundaries. I want to create image from this KML, so that can use to overlay google maps. Can someone please guide me here?
1
vote
1answer
843 views

Determine current address location in android mobile app

In my Android App I need to figure out what address i.e city, state, country my Android phone is in. So for that, first I determine latitude, longitude via GPS. The phone gives this. Now, from lat, ...
1
vote
1answer
295 views

Route planning needs double click

I am new to Stack Exchange so i hope i can prepare my question in an adequate way. I try to make a small route planning application. A start address should be entered and the destinations are fixed. ...
1
vote
2answers
619 views

Get road type by coordinates

I need to do the following task: to retrieve the road type (highway, bridge, track, pedestrian and others) by coordinates, query a remote service (via HTTP). I'm looking at the different major ...
1
vote
1answer
179 views

Cluster the data on map using cartodb.createLayer

We are using Google MAP API V3 and CartoDB. I am trying to achieve whole UK wide properties on the map with points and I have plotted all the points using cartodb.createLayer as per its Geo coordinate ...
1
vote
1answer
244 views

Google Maps Javascript and PHP

I try to make a menu bar with icons which show the same icons in the map when clicked, for example hotels or bars. I made a form with radio buttons for choose and click submit. This goes to PHP, ...
1
vote
1answer
343 views

Google Maps click event does not work on mobile devices

I created a map using Google Maps API with Angular Material libraries (https://material.angularjs.org/) After I upgraded Angular Material from 0.70 to 0.82, I found the info window did not show up by ...
1
vote
1answer
3k views

Google API for Boundary coordinates

Is there any Google API (or any other) which can provide boundary information (i.e. Lat, Lng) for a particular location. Location can be a city, district or a region with in a city. For Example Dammam ...
1
vote
1answer
5k views

Using Offline map in Google Maps API for Android without copying tiles to mobile device?

I want to use my own tile maps in google maps api for android .The tile maps are created using ArcGIS for server 10.2 . The cache size is about 400 megabyte .I can't copy the cache in mobile devices ...
1
vote
1answer
627 views

Checking whether lat/long is in sea using Google Maps API?

I am using the Google Maps API, in which as of now we are plotting the track of a vessel track, but the system is now allowing us to update even a Lat/Long which is on land. Is there is any way to ...
1
vote
2answers
533 views

How to make my KML/KMZ accessible to the public

I created a basic web dashboard with MVC 4 that has a Google Map open on it. I have a KMZ file I made with ArcGIS desktop of a road in a Google Drive folder that i made publicly available so that i ...
1
vote
2answers
6k views

How to create styled markers with custom marker tooltip

How to create custom markers and when mouseover on marker i need a tooltip can any one suggest me how to do these type of markers...i need markers like below image Thanks in advance
1
vote
1answer
773 views

Google Maps V3 + multiple Fusion Table layers = inconsistent markers?

One of my colleagues is working on a map for a news story and is having some difficulty getting the markers to consistently show up. Changing the order in which the layers instantiate is causing ...
1
vote
1answer
262 views

How to create feature layer in Google Maps? [closed]

In ArcGIS we have the ArcGIS Online portal kind of application where we can create a feature layer. Is there any application where I can maintain the feature data in Google? Or how we can do this in ...
1
vote
2answers
5k views

Drawing aerial routes for flights on Google Maps API between two markers?

I have been drawing route till now using DirectionService. But now my current requirement is to draw a route on air.I did some research and found this link which helps us to draw curved polylines ...
1
vote
1answer
2k views

Export KML from points plotted in javascript Google Maps API?

I want to export a KML file from points plotted in Javascript using the Google Maps API. Is there a way to do this? The user logs in and checks Google Maps, then plot points on the map and finally ...
1
vote
4answers
1k views

Rendering temperature on google maps

I have a number of data points in the form of (latitude,longitude,temperature). I am required to render the temperature on a map. The final result should be similar to the the map here I used ...
1
vote
1answer
1k views

Transit Directions: Preferred Vehicle Type?

I would like to be able to get transit directions through the JS api, that is limited to a single vehicle type (e.g. Bus). This functionality is available on maps.google.com, but how do i submit the ...
1
vote
1answer
1k views

GeoReference tiff image into the Google map?

I want to Geo-reference a tiff image contain a Map for a specific region, I need to add this region(image) and Geo-reference it on the Google map, SO I can see on the map for the region I select the ...
1
vote
2answers
333 views

kml divide map into regions

in google map, how to show Douglas county MAP in regions manner. (east, west, north, south). These regions should cover with border and show the picker when click the balloon. Here is my KML ...
1
vote
2answers
1k views

Can I download a layer displayed on the google api?

Given the google api displaying a map on some site with layer 'A' on top of it. How can I create a GIS file for layer A (as simply as possible of course)?
1
vote
1answer
595 views

geoxml3 parseKMLString function not working?

I am unable to use Parser.parseKMLString(). Its giving me a error saying Parser.parseKMLString() is not a function. What i am trying to do is, read the KML file on the server and return the entire ...
1
vote
1answer
2k views

Offset Google markers at the same address

What can I incorporate into my current code below to offset markers, as markers at the same address don't show. Here's example http://www.mediwales.com/mapping/test UPDATE: I've changed the way the ...
1
vote
1answer
231 views

Delimitate an area - google map

I tried to find tools to delimitates a specific region area of a map When the mouse is on a specific area, there is the region delimition which appears. Like this website : ...
1
vote
1answer
24 views

Finding locations within a radius of a given path [duplicate]

I am trying to figure out in Postgis the right sql statement for the following: I have in my database a table of merchants with latitudes and longitudes; I have a route from google that lists a lot ...
1
vote
0answers
26 views

How to find roads with similar incline?

I have no prior GIS experience, so please bare with me. What I'm trying to do is find a road (or a portions of road) from one country that is similar to another road(or portion of a road) from a ...
1
vote
0answers
60 views

Google maps Javascript API usage statistics does not show

I am currently using the google Geocoder service from the Google Maps JavaScript API in a few applications. For months I was receiving usage statistics in my API manager, but for the last 2 months it ...
1
vote
0answers
32 views

Why do I get incomplete answers using google maps api in java?

I'm using google maps API in java to check wether some places are correct, but I don't get all possible responses: GeocodingApiRequest req = GeocodingApi.newRequest(context).address("Sydney"); try { ...
1
vote
1answer
115 views

Click event doesn't work with with Google Maps

I'm trying to create a simple click event when I click on a list item on my page, a marker should be created on the google map in that page. But it does not happen. Is there some google maps API ...
1
vote
0answers
35 views

Python error in go2streetview plugin

We have the go2streetview plugin installed in QGIS 2.8.6 Wien and when performing a search using this plugin, the following error appeared: An error has occured while executing Python code: ...
1
vote
0answers
78 views

Google Maps Distance Matrix API - Queries per second?

I'm pretty familiar with Google's Distance Matrix API, but I'm unsure about one aspect of the Usage Limitations. The documentation states that you have access to 100 elements per query (element = ...
1
vote
0answers
30 views

How to perform Zoom to ImageMapType in Google Maps API?

I am adding ImageMapType on Google Map using Google Maps API. Whenever ImageMapType is added then Map should zoom to that ImageMapType. I have read the ImageMapType reference and found out that any ...
1
vote
0answers
89 views

Mysql 5.5 spatial to Google Maps API

I've got a mysql table with points and polygons spatial geometries. I can see that MySQL 5.5 doesn't have the ST_AsGeoJSON() function to extract to GeoJSON. I'm looking for the simplest way to ...
1
vote
0answers
33 views

Same behaviour for minzoom for google maps api and leaflet

I need to implement the same behavior for leaflet and google maps for the case of minzoom. Google maps duplicates all the objects from the main map to the world`s copies, however leaflet doesn't since ...
1
vote
0answers
20 views

Centering & zooming on area of interest

For example, our subject of interest are coffeeshops, and user wants to lookup all coffeeshops located in Mitte district of Berlin. In order to do that he selects Berlin as city, Mitte as district and ...
1
vote
0answers
69 views

QGIS KML layer won't show up in Google Maps API

I've trimmed US Census shapefile data to show census blocks in just three states, by editing the attribute table. I then color coded the states based on values in the table by changing the style in ...
1
vote
0answers
283 views

Google maps api kml layer not working

The code below was working, but now it is not. This isn't my actual production code, just my KML test document to make sure everything is working. I got this document as a working example from stack ...
1
vote
0answers
22 views

Batch Geocoding in R over daily limit with pay as you go? [duplicate]

I have found the the geocode function in ggmap to be very helpful in the past. Now I am trying to geocode about 60,000 addresses. The google maps API daily limit is 2500. Google offers a "pay as you ...
1
vote
0answers
127 views

Problem with my google map, place search with a text bar

I am doing a small project with google maps api, I am trying to locate all the interesting services around me. For example, i want to search "restaurant" then it will shows all the restaurant near me ...
1
vote
0answers
91 views

How to directly get a Google API map based on a cell tower object

How do I pass a cell tower object to the Google Maps JavaScript API or Embed API to get a map for wherever the tower happens to be? I realize that I can accomplish the task in two steps by first ...
1
vote
0answers
338 views

Parsing geocoded data using python

I am trying to create a .csv file of parsed information of geocoded data from the google API geocoding service. I want to parse out the address information to be in separate columns. My script runs ...
1
vote
1answer
36 views

Quick question regarding geocoding limits on google's API

We have a google-api business license, so we can do 100k requests in a day, but at the moment, we are hitting our limits as we have a bunch of initial data to geocode. Instead of constantly hitting ...
1
vote
0answers
278 views

How to stop drawing the polyline in Google maps when path reaches in some defined area near the destination?

I am trying to draw the polyline between the 2 points and my requirement is, the polyline should stop drawing when it reaches the specified area surrounding the destination. I mean I don't want the ...
1
vote
1answer
38 views

Which web maps works best for which web service

Im trying to do a project , where i grab data from mySQL database, and display it onto a web map api mashup (showing a chart on the map). I want to develop an example using REST, SOAP and possibly ...
1
vote
0answers
112 views

How can I access the array of predicted addresses from Google Maps once an address is entered?

The Google Maps JavaScript Autocomplete API mentions that autocomplete returns an array of prediction objects. How can I access this array without autocomplete? I have a standard HTML form with ...
1
vote
0answers
165 views

How to update kml file/layer dynamically?

I am using a kml file for displaying map with custom boundary lines. That kml file is downloaded from some website. In that file, inside the placemark tag there is no point tag for display icons. Eg: ...