An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
0answers
24 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
37 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 ...
0
votes
0answers
9 views

How to get all postal code using polygon mapping

I am working with polygon mapping in GOOGLE MAPS API 3. in my application i need to get all postal code (Singapore) between the boundaries which i mapped. can anyone suggest me for any possibilities.
2
votes
0answers
12 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 ...
1
vote
0answers
12 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: ...
3
votes
0answers
33 views

Why does google scale seem way off? [closed]

I have read similar threads on here regarding the technicality and am in way over my head. I am not a professional cartographer - I am a professional coach driver that uses google maps to plan routes. ...
2
votes
0answers
44 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 ...
1
vote
0answers
22 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
25 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 ...
0
votes
0answers
29 views

How to bind event to Polygon inside polygon in google maps.?

I am drawing a polygon buffer in google maps api v3 and finding number of polygon objects lying inside it.(on click) I am using oracle spatial database. on each child polygon click i need to do some ...
3
votes
1answer
56 views

How to use Chrome element inspector to inspect marker icons in Google Maps API application? [closed]

I have some json data that are loaded with google maps API map.Data layer, I want to inspect the marker icon element (as shown as stars in the attached picture), what's the trick to use browser ...
0
votes
0answers
23 views

How to get unique placemark id's in kml file?

I'm implementing a kml layer in a map using Google Maps Javascript API, and I'm using QGIS to create the kml file from a shp file. In order to view the extended data in the kml file in Google Maps, it ...
1
vote
0answers
32 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 ...
0
votes
1answer
24 views

Controlling layer order between cartoDB and Google maps Fusion layer

I am trying to control the layer order between a cartoDB layer and a Google FusionTables layer, on a google base map. The CartoDB layer always displays underneath, whereas i want it on top. I have ...
2
votes
1answer
47 views

Birdseye Viewer in other applications?

has anyone used Bing Maps Birdseye Viewer tiles in other applications? I have seen Leaflet Bing but it looks like it just has aerial, aerial with labels and road tiles. Does it have birdseye tiles? Is ...
0
votes
0answers
54 views

Google maps not being displayed inside my widget

I am trying to display my data in google maps. Like if i drag and drop my data, a widget should opens and it should display the data in the google maps inside the widget.Now, widget is opening, but ...
0
votes
0answers
33 views

Google Maps JS API With Google Earth Spotted?

I've been, somewhat, following the news on the deprecation of the Google Earth API since it was first announced earlier this year. I'm an amateur GIS guy and I've been wanting to port over a simple ...
0
votes
0answers
33 views

How to add the geometry to google maps from geojson(retrieved as json) for a specified condition using javascript

I have a array called place_names which holds some place names. I have a GeoJSON layer loaded in CartoDB, which has three columns id, name and the_geom (which is a geometry object) that can be queried ...
0
votes
0answers
71 views

Google Maps Layer not working

http://dev.openlayers.org/examples/google.html This example is not working properly. The Google map does not show, however if you click the last map and then click back through the layers to streets ...
1
vote
0answers
30 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
18 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 ...
0
votes
1answer
227 views

transparent infowindow google maps apis

I can add a div into the infowindow content and set it's style giving it background color, but I failed to make it transparent. Is there a way to make the infowindow of google maps API transparent, ...
1
vote
0answers
49 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 ...
0
votes
0answers
78 views

WMS getmap tiles not matching in google maps API

I am trying to see a WMS layer above Google maps API's satellite baselayer. When building the WMS URL string I am using WIDTH=256 and HEIGHT=256 which I think is the default. The thing is that the ...
0
votes
0answers
27 views

Google static map path from MS SQL spatial data

I am trying to generate Google static maps on the fly that include a path based on data I have in a MS SQL Server geometry column. I currently use the encoded path algorithm to reduce the length of my ...
0
votes
1answer
47 views

Removing Google maps base layer from Google Maps API

I need to remove the base layer of google maps dynamically. User can add or remove the base layer.Because I am using more layer on top of it.Is there any function in google maps api to remove the ...
1
vote
0answers
170 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
1answer
262 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
0answers
94 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 ...
0
votes
0answers
32 views

How to get the directions of the co-ordinates in leaflet?

Now i'm working on the live tracking to track my vehicle.I want to get the directions to change the marker position based on the co-ordinates. I have using arrow icon for marker icon. I need to ...
0
votes
1answer
93 views

Leaflet : How to update polyline ? Live Tracking

var ColorVar = '#bd0026'; var firstpolyline = new L.Polyline(polyList, { color:ColorVar, weight: 8, opacity:0.8, smoothFactor: 1 } ); ...
0
votes
1answer
32 views

Polygons on Mouseover event only Activate on Borders

I have a map with several polygons that have a mouseover and click event. The mouseover event causes the polygon to change color, and the click event brings up a custom info window. Most of the 200 ...
0
votes
0answers
40 views

is there any flight travel time api?

I know there is google api for distance where we can calculate the driving distance but similar to that i want to pass two city names and I want it to give me just the duration like 4 hours 30 ...
0
votes
1answer
91 views

Get every coordinate from an address database

I have a xls database of street addresses. I want to get the latitude/longitude coordinates for all of them. I know very little programming, but I can learn. What's the easiest way of doing this?
3
votes
4answers
2k views

google.maps.ROADMAP doesn't show on OL unless I change base layer and re apply

I have web app with OL 2.13 and google street as base layer. Everything worked fine till couple of days ago, suddenly (without any change) the map loads white (no errors in console) and only if I load ...
1
vote
1answer
43 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
0answers
150 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 ...
0
votes
1answer
88 views

How to identify train stations from (vague) codes?

I'm trying to identify and geocode several train stations based on location codes that were supplied to me. Most of them take the form "CCSSS" where "CC" appears to be an abbreviation for a country ...
0
votes
0answers
102 views

How to find one polyline of google map overlaps other polyline in map?

I have two routes let's say route 1(Location A to F) and route 2(Location B to E) in Google map. How could i determine route 1 includes route 2? Here route 2 is shorter than route 1 so, coordinates ...
2
votes
1answer
234 views

Google Maps API: How to remove terrain from the satellite view?

(I asked this in SO General - but then thought it might be better here - sorry for the cross-post!) Using the API, is it possible to turn off the 3D terrain in the Google Maps satellite view? I'd ...
1
vote
0answers
64 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 ...
0
votes
0answers
152 views

google maps api with polyline not displaying lines

I converted shape files into mysql table that has features like LINESTRING and MULTILINESTRING. I am using google maps api ( var shape = new google.maps.Polyline({path: ...
0
votes
0answers
248 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
844 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 ...
2
votes
1answer
104 views

What is the best method for route cost estimation? [closed]

What would be the best method for calculating a rough adhoc route cost i.e. a potential road (been some years since I have used Network Analysis in ArcGIS), alternatively would it be better using ...
0
votes
1answer
61 views

Cartodb not loading layers on IE8-10 on longer requests

Check the demo here: http://unirazz.com/cartodb/cartodb1.html After map is loaded, click on GO button to load cartodb layers. It works in latest browsers excepts IE8-10. If I reduce the length of ...
1
vote
1answer
27 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
190 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 ...
2
votes
0answers
67 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: ...