An application programming interface specific to Google Maps.

learn more… | top users | synonyms

2
votes
1answer
2k views

Google Map API Drag event..?

The below code is working perfectly on click event to retrieve Lat/Long and Current Zoom level. How do I get the same when I hover mouse/drag on map Window (not on submit button)? <!DOCTYPE ...
2
votes
2answers
285 views

How to add data from a Google map as layer in ArcMap using C#?

A want use C# to write a tool: add data google map as a layer in ArcMap. I am using Arcgis 10.0. Can you help me. Thanks and regards.
2
votes
2answers
792 views

Accessing KML for Google Map API using Google Fusion Table

I am trying to host my KML file on fusion table so that I have dynamic control over my KML file and I am trying to access same as in public URI as an parameter in the Google Map Java Script . I am ...
2
votes
1answer
635 views

OpenLayers Vector Layer not aligned with Google Oblique Imagery

Check http://jsfiddle.net/vasile/BKvcX/6/ In the first map, the yellow line should follow the street curve, however if you pan the map up-down, you clearly see the misalignment due to what ? ...
2
votes
1answer
768 views

using google maps, the mouse cursor and the dot on the map not inline

i'm trying to implement the example http://openlayers.org/dev/examples/drag-feature.html . When i'm implementing this with a Google map, I have a strange bug: the mouse pointer and the dot on the map ...
2
votes
2answers
1k views

Is it possible to do scale dependent rendering in Google maps with KML?

I have some data that I would like to display in greater detail as the user zooms into the interactive Gooogle map. Does google support dynamically turning layers on and off depending on the scale?
2
votes
0answers
16 views

What is the method for mapping 200k records on Google Maps API via MYSQL db?

I have a simple Google Maps api linked to MYSQL. I am trying to map a mysql table of 200k records. I have a default display of this data set as heatmap, so am not trying to map 200k markers. Even ...
2
votes
0answers
21 views

Accessing Layers Through an API?

So, I have reason to believe that this information is not available. Nonetheless, it involves using Android, and preferably the Google Maps API (though other maps may have APIs which supply this data, ...
2
votes
0answers
55 views

Geocode area/neigborhood into polygon vertices

I have been successfully using the Google Maps API using the R package ggmap to find location coordinates for e.g. addresses or city names. However, Google Maps now shows areas as well, indicating ...
2
votes
0answers
112 views

How to scale, rotate and translate a KMZ file in Google Earth

I'm a GIS software developer. I would like to adjust manually a KMZ over Google Earth images scaling, shifting and rotating it. What I'm wondering is a tool like the one in Google Earth to add a ...
2
votes
0answers
333 views

Google maps distance based on the zoom level

I have used google maps for displaying some locations using markers, based on the user's current location. User's current location is the center point of the map. The default zoom level is 12. In ...
2
votes
0answers
84 views

Google Maps Licensing

Sorry if this isn't the right place to ask this, I've tried looking around for support forums and have found none. I had a question regarding the ToS of Google Maps/Earth, it can be found here: https:...
2
votes
1answer
204 views

Google Maps directions link doesnt work properly in the Explorer for ArcGIS mobile app?

I have an AGOL web map for finding beach accesses in Florida. Within my pop-up I have a Google maps link to get directions to the current access. Everything works fine on desktop, but the directions ...
2
votes
2answers
1k views

Working out street view heading

I was wondering if it is possible to work out a POV heading for street view based on a GPS coordinate? For instance, say I have the coordinate '43.6653055692 -79.3102166453' If I plugin the ...
2
votes
0answers
160 views

What can I use to calculate drive times /with/ traffic considered?

I am looking to obtain drive times for a large list of addresses and want the results to take traffic conditions into consideration. For example, drive times from a distribution centre to a store at ...
2
votes
1answer
500 views

How to add multiple locations to google map?

Well I am not a js developer, and I want to build a google map with multiple locations. I have a styled google map which looks like this, and I like to add some locations. After some research I found ...
2
votes
0answers
185 views

Overlapping Polygons

I have a project that requires us to plot floods in a certain area, the example below shows the flood areas. What I would like to know is how would I be able to shows these polygons in a better ...
2
votes
0answers
303 views

How to check if a point is within bounded rectangle from Java

I make an AJAX request to retrieve data from a mysql database. I add the data to google.maps.Data layer as geojson. I would only like to load the data based on the viewport. To obtain the viewport ...
2
votes
0answers
355 views

Formatting Google Places API GeoJSON and Import to QGIS?

Hi Stackexchange I'm trying to export JSON or XML data to my desktop and import it to QGIS. This is the URL I'm using but it appears to be incorrectly formatted: https://maps.googleapis.com/maps/...
2
votes
0answers
738 views

Access traffic data using Google Maps API

The following screenshot shows a traffic filter, adopted in the new Google Maps. Can we implement the similar function using Google Maps API? It looks like that google.maps.TrafficLayer can only ...
2
votes
0answers
109 views

Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3?

Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3? Of course, requesting directions for each travel mode and checking which ones return ...
2
votes
1answer
724 views

Can Google Maps Android API display WMS layer?

I am currently making an app for my final career project, and I am trying to combine the layer of Google Maps and WMS layer that displays a map from a WMS server, helping me with ArcGis SDK for ...
2
votes
0answers
744 views

How to get Google Street View panoramas on the same street as the requested address?

The Google Maps API geocodes an address to a point. I can use that point to find the nearest panorama (street view) image. I can then determine the heading based on the two points and show the ...
2
votes
0answers
200 views

How to identify each circles in Google Maps API?

By the Google Maps Drawing API, I can create lot of circle and other shapes. addListner method helps to get the radius, latitude and longitude of the circle. Now I want to identify each circle for ...
2
votes
0answers
687 views

egeoxml vs geoxml

What is the difference between egeoxml and geoxml? What i know is both are client-side parsers and both allow me to edit the kml files on the run. I guess egeoxml is an initiative by google itself ...
2
votes
0answers
582 views

directions (path find) given kml supplied bounds

Im trying to generate directions using google.maps.DirectionsService and I really need those directions bounded by the paths defined from within a pre-made kml file. I have reviewed the API docs for ...
1
vote
2answers
447 views

Using Google API within Python and applying to ArcMap?

I am currently doing a practical project at university (MSc in GIS). I have to develop a python script and the functionality of this script has been left very open other than we have to use Python ...
1
vote
2answers
6k views

Can I get the coordinates of country borders from Google Maps?

I need to get the coordinates of a country's border (e.g., Iraq) from Google Maps. How can I do that?
1
vote
1answer
18k views

display latitude and longitude on googlemaps on click

iam trying to retrieve latitude and longitude values .when user clicks on the google map latitude and longitude values has to be displayed on the textboxes my code is <%@ Page Language="C#" ...
1
vote
1answer
1k views

OpenLayers & Google Maps: TERRAIN not showing as baseMap

I have a problem with OpenLayers and Google maps: on this page: http://46.37.22.75:8085/public/ I'm loading Google maps TERRAIN with Openlayers.js, everything worked well for about 1 year, but now ...
1
vote
1answer
2k views

Google Maps - Use fitBounds on KML polygon fusion table layer

I have seen example here how to use map.fitBounds on fusiontablelayer here and here , but I think it works with markers table only. Its impossible to parse the lat and long when the vertex coordinates ...
1
vote
3answers
7k views

How upload KML from your local disk using Google Maps API?

I am trying to get load my KML from my local disk with given below code : <script type="text/javascript"> function initialize() { var mapOptions = { center: new google.maps....
1
vote
1answer
10k views

Computing Shortest Distance using Google Map v3 and Openlayers

How to compute shortest route between two points in google map that user selects and provide all routes from source to destination in Transport system?
1
vote
1answer
341 views

simulation in a google map

i tey to make samething like this site but i dont know how , i have find from google api this to but how i compine the animation site because i have not the coordinates of the routing of the this ...
1
vote
3answers
829 views

Coordinate System Google Maps API

I am making an application in java using GMaps4JSF where the person will enter the address on the map I'll take this coordinate and consult on my postgis base regions in which region this point is ...
1
vote
2answers
3k views

Google geocoding v3 stopped working

I've been using Google geocoding v3 for about 6 months but all of a sudden it's stopped working (I get a 610 error). It's only stopped in the last week or so. Then I came across this (see the pink ...
1
vote
1answer
142 views

Integrate Google Street View into Openlayers3

I am wondering if it is possible to integrate Google Street View into my Openlayers3 application. I do not want to show Google Maps, only Street View, since the base maps I am working with are more ...
1
vote
1answer
258 views

Google bathymetry service with OpenLayers Mouse Position

After searching for some days I decided to post this question here, hope someone else can give me some hints about a doubt I have. The thing is that I would like to use the Google Bathymetry Service ...
1
vote
2answers
528 views

Google Maps API v3 base map visibility

Is it possible to change visibility or opacity of google base map ? I am adding it like in simple example, and adding data layer as overlay and want to see only vector markers. Is it possible? var ...
1
vote
2answers
5k views

Offline Maps API for C# Desktop Application?

I have a C# WPF application which has browser control to display a Google Map. Google Maps API v3 is being used in the application. I use data received from a service to plot users current location ...
1
vote
1answer
361 views

Is the data supplied to Google Maps or leaflet.js javascript rest API is private

I have a dataset which has to be used for internal/intranet web application. Is the data supplied to google map javascript api to draw map as well as to show meta information through markers is ...
1
vote
1answer
601 views

cartodb Feature Click with two overlapping layers

We are using Google MAP API V3 and CartoDB. I am trying to create the custom info box window as user clicked on CartoDB points marker. We have two layers on Google map first one for UK wide ward area ...
1
vote
1answer
4k views

How to get the name of location in Google Maps?

I am new in google maps api. I want to get location name after user click to that location. I try to find answers in docs, but it so huge. Maybe someone can help to me or just say where in docs I can ...
1
vote
2answers
2k views

Unit of Google Maps API geometry services

When i call the method google.maps.geometry.spherical.computeDistanceBetween(from, to); it returns a number, is this distance in KiloMeters or Miles?? How can we find this and doc on this API?
1
vote
1answer
736 views

In what coordinate system and unit measures the coordinates returned by the Google Maps API are?

In what coordinate system and unit measures the coordinates returned by the Google Maps API are? I ask this because I have a page that returns the geocode lat / long for me to find in my postgis ...
1
vote
1answer
3k views

Keep marker constant on Google Maps Javascript

I want to be able to keep a marker constantly in the center of Google Maps on my mobile application. I have tried using bindTo functionality of Google Maps, which binds the marker to the center of ...
1
vote
1answer
677 views

OpenLayers using GoogleMaps layers: issues with setCenter and transform

Past week or so I have been doing everything in just OpenLayers and has been going great: been using markers, vectors, bringing in json data via php, and some ajax. Everything has been in one layer ...
1
vote
1answer
71 views

Why does the ArcMap exported KMZ always show my local path information when displayed in Google Maps API?

I used ArcMap (arcpy) to export shapefiles into KMZ and then display them via Google Maps API v3. It looks fine initally: But when I hover my mouse above the KMZ and click it, it will alway show my ...
1
vote
1answer
125 views

Logic behind Google querying based on POI

I am Currently Working in Geocoding process based on google API service.Today my superior asked a question how does Google exactly query a POI(Place Of Interest) if it is latitude and Longitude is ...
1
vote
2answers
1k views

Using Google Map API for Business with Openlayers

Has anyone used the paid version of Google Map API (for business) with OpenLayers? I am currently using the free version and wonder what the difference is, from both the end user and developer ...