An application programming interface specific to Google Maps.

learn more… | top users | synonyms

2
votes
1answer
16 views

“Window” definition in Google Maps JavaScript API v3

I am trying to use Google Maps Javascript API in a java application through Nashorn (basically lets you run javascript in java). Anyway when I load the API I get an error that "window" is not defined ...
2
votes
2answers
101 views

Are there any web services providing country border data?

I am an Android developer (working in Java) and want to write a geographical quiz game. The quiz will need a list of countries and will randomly choose one to highlight on a map (probably using Google ...
2
votes
1answer
1k views

Looking for an API that will autocomplete adresses, and split them up into parts

I'm kinda new to the whole GIS thing, and found that is necessary for onw of my web apps. It's come to my attention that some people don't know what a proper physical address looks like, and so I'd ...
2
votes
1answer
4k views

Zoom Change Event Listener with google maps api

I'm trying to create an event listener that turns off a google fusion layer once the map is zoomed in to a certain level. I'm pretty new to javascript and its google maps api, so any help is ...
2
votes
3answers
363 views

How to visualize Google Fusion Table Map using JavaScript?

The simplest question. When you create a google Fusion Map with geographic data, Google provides you with an iframe link to display the Map on your website. But i need to display that information ...
2
votes
1answer
1k views

How to find direction points using Google Maps API 3?

I am drawing a route in Google Maps. I have passed the start point, way points and end points. My route is drawing correctly. I am using Google Maps API 3. request = { origin: originAddress, ...
2
votes
1answer
897 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
358 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
391 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
496 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
747 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
14 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
1answer
121 views

Determine when I have crossed state line?

We are currently using the Google Maps API to get route information and total mileage but we would like to determine when we are crossing into a new state. When we return the route information we can ...
2
votes
0answers
172 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
2answers
177 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
0answers
150 views

Can markers changes undo through history/revert to original?

I'm a contributor to a food foraging map and found that many markers are in the ocean. I then also noticed that I had an undo at the top of gmaps and realised I'd moved 5 trees trying to get to my ...
2
votes
0answers
148 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
395 views

how to show information window for the marker cluster

This is my markercluster code : i need information window for the markercluster icon as well as marker icon, i have another cluster.js file, can some one please tell me how can i show the information ...
2
votes
0answers
495 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
659 views

Dynamic Contour generation and project on google maps

Is it possible to generate contour map layer at runtime and overlap or project on google maps. I am using google map api v3 and want to generate contour map layer using data from sql server and ...
2
votes
2answers
643 views

How to convert GTFS to XML or JSON?

Do you know any tool that provides that? I need to manipulated GTFS file but I would like to have data available in any well-known format like XML or JSON. EDIT GTFS are Google Transit Feed ...
2
votes
0answers
384 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
1k views

Geocoding - get lat/long from 11000 address

What I have: an Excel file with 11 thousand address (street + zip code + city) all address are from Portugal the address are not accurate (some address have the name street in a short way) What I ...
1
vote
1answer
1k views

How to obtain to Max zoom levels for Google layer using Open layers

I was trying to obtain maximum zoom level ( level 22) for Google street map using Openlayers.layer.google script. The following code does not seem to work.It works to the maximum zoom level when Var ...
1
vote
3answers
3k 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 ...
1
vote
1answer
5k 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
2answers
2k 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
985 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
2answers
151 views

Can raster files from ArcGIS for Desktop be visualized in Google Maps?

I have raster files created using ArcGIS (Desktop application). On the other side I develop an application using google maps. Can I visualize those raster files somehow on google maps API?
1
vote
1answer
271 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
58 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
309 views

How do you get the coordinates from a drag event in the Google Maps API V3?

I have made a Google Version 3 Geocoder , I want to be able to pick up the coordinates of the route when it is dragged. I know how to pick up the coordinates giving the start and end points, but, ...
1
vote
2answers
2k views

how to replace GTileLayer in google maps API v3

I need to port code of one application written in Google Mapa API v.2 to API v.3. There is several layers taken via TMS, that are displayed using GTileLayer class. It is as simple as: var ...
1
vote
1answer
1k views

Initializing Google Maps Streetview object looking at the position

I have a streetview included in my web site using google API to load it. var theloc = new google.maps.LatLng(lat, lon); var panoramaOptions = { addressControl: false, position: theloc, pov: { ...
1
vote
1answer
337 views

Google maps api, several moving markers using a csv file containing the coordinates

I collected 5 sets of coordinates of moving vehicles and I want to play the scene using googlemaps API showing those 5 vehicles moving. The sets are saved in a postgresql table. is it possible ? if ...
1
vote
1answer
2k 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
126 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
26 views

trigger event on multiple layers at the same time in Googlemaps

Say if I have 3 layers with different table schemas (fields), I pushed all three layers into one array and loop through the array to add listeners to each layer so that everytime I click on the map, ...
1
vote
2answers
112 views

How to use custom map tiles with the Google Map API V2 for Android.?

I'm looking for a way to use custom map tiles with the Google Map API V2 for Android. I'm writing an application that will create it's own maps in real time with data that are comming from a robot. ...
1
vote
1answer
79 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
4answers
434 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
456 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
449 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
629 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 ...
1
vote
2answers
156 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
325 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
396 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
742 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
152 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
0answers
11 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 ...