An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
1answer
627 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
3k 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
3k 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
594 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
16k views

Google Map - display specific markers popup using a list of markers

I have the following code: <script type="text/javascript"> window.onload = function() { // Creating a new map var map = new google.maps.Map(document.getElementById("map"), { ...
1
vote
1answer
4k 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
156 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
393 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
208 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
1k 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
316 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
848 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
191 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
260 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
405 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
1k views

How to get boundaries of city? [closed]

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
6k 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
782 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
628 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
810 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
289 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
362 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
618 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
239 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 : http://www.police.act.gov....
1
vote
0answers
40 views

GeoJSON, Google Maps, and 'lazy loading'

One of my projects involves a 'live-fetch' of geoJSON-ified data from a GIS-capable PostgreSQL server: I'm examining its performance as an alternative to tiling. Our tiling goes all the way to zoom ...
1
vote
0answers
23 views

DWG to image tiles using FME

I need to make image tiles out of a DWG. I need them so I can use them as overlay on google maps. hopefully I can get them in this folder configuration: zoom_level/x_or_column/y_or_row.png or similar ...
1
vote
1answer
42 views

Calculating all possible lat & long

I am new to GIA domain. I am trying to learn new concepts around mapping etc and this is my first app/implementation. I am trying to implement a store locator kind of function. I am thinking to ...
1
vote
0answers
119 views

Map gear's OL3-Google-Maps not showing the google layer even after adding google layer

I am using Map Gear's OL3-Google-Maps in order to load the google base map in OL3, I am adding like this //Before adding this i am removing the OSM base map tile layer and adding it. var googleLayer =...
1
vote
1answer
69 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
27 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
107 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
39 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
278 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
50 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
113 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
37 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
1answer
127 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
36 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
23 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
95 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 ...