An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
1answer
1k 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
1answer
148 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
204 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
1answer
78 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
924 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
1answer
310 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
1k 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
468 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
69 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
423 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
2k 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
470 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
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
145 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
70 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
83 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
94 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
117 views

Google maps to gpx

I have taravel map created in google maps. Now I need to save way points in GPX format to make them available for my GPS Osmand application. How to solve this problem?
1
vote
1answer
89 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
275 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
550 views

Google Streetview API overlays

Does anyone know if I can draw georeferenced polygons in the streetview api. I'm curious to know if anyone has successfully tried this. I see that custom overlays are allowed but I'm not sure if this ...
1
vote
1answer
612 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
4k 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
507 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
161 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
2k 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
914 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
839 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
885 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
806 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
866 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
222 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
743 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
509 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
1k 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
192 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
22 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
50 views

Display google map with boundary lines for each address

I am working on Google MAP API integration and I have tried to display the map with boundary lines for each address, such as Zillow.com. Eg: ...
1
vote
0answers
20 views

How to get indoor directions by using Google API

I have a problem using Google Direction API to get the route between two points(One point is outside the building and the other is inside the building). When I use API to get the directions, only the ...
1
vote
1answer
29 views

Reading terrain data from Google?

Am I missing something or is it not possible to read terrain data (such as forests, roads, rivers, lakes, etc) through google? I'm trying to create an app where you can walk in a scene dynamically ...
1
vote
1answer
91 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
0answers
73 views

Zoom and search fusion tables map

I have built a fusion table with a geo location search. Right now, my search function centers on the results of the geocoded address. I would like the map to detect the nearest marker and zoom ...
1
vote
1answer
225 views

How to get boundaries of city?

is there any api to get bounds of city. What i want is i give city name and in return i get that city boundaries. I have searched google maps, arcgis and OpenStreetMap but didnt found any ...
1
vote
1answer
188 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 ...
1
vote
1answer
126 views

JSon on Google maps

Good morning everyone! I'm trying to show a .json layer on Google Maps. This is the example that I'm using.... got it from google. <!DOCTYPE html> <html> <head> ...
1
vote
1answer
50 views

Export from QGIS to Google Maps maintaining formatting

I'm totally new to QGIS so I'm not even sure this is possible. I've created a bunch of polygons within QGIS and they look just like I want them (color, transparency, etc.). What I'd like to do now ...
1
vote
0answers
217 views

Finding and selecting locations in database near 10 km distance from path

In the Google Maps API, I have this Javascript. It is finding and showing user the shorter path between two cities. <!--////// \\\\\\\--> <style> #panel { position: ...
1
vote
0answers
38 views

Reverse clip with ogr2ogr

I'm fairly new to GIS, working on a project where I overlay counties on google maps, and overlay cities on top. I'm using fusion tables, and running into Z-index issues. To get around this I'm hoping ...
1
vote
1answer
279 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 ...