Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
2
votes
0answers
595 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
670 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 ...
2
votes
0answers
35 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, ...
0
votes
1answer
880 views

Getting closest point on road to point in Google Maps using Python?

I need to find the closest point on a road to a external point. I need to do it without downloading the data (I don't know if this is possible in Google Maps) nor using PostgreSQL. I know some Python ...
2
votes
1answer
3k 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
0answers
96 views

How to add the geocode filtering to gxp.plugins.GoogleGeocoder

The Google geocode provides the capability of applying filters/restraints to the search, e.g. restricting the search to an area with a specific postal code, etc... I want to accomplish the same with ...
0
votes
1answer
650 views

HTML form to load points on Google Maps using API?

I am creating a web page with a Google Map embedded in it. I want to create a form to allow a user to type which London tube zone they wish to see and, when submitted, this will map the tube stations ...
1
vote
0answers
64 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
209 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
2answers
3k views

How to calculate multiple travel times using gmapsdistance?

I am trying to use gmapsdistance on R to calculate multiple transit times from Google Maps. I have a Google API key and can generate transit travel times for one origin and one destination with the ...
49
votes
6answers
81k views

Getting polygon boundaries of City in JSON from Google Maps API?

When searching Google Maps for a city, the city's administrative boundary is displayed. Is there a way to get the polygon boundaries of City in a JSON format using google maps api?
1
vote
1answer
2k views

GeoJSON data and XYZ (meter) coordinates

I'm relatively new to mapping. I have some data which I would like to save using the GeoJson format and display on Google Maps (Javascript API v3). This works for my shapes which are in [Lng,Lat] ...
1
vote
0answers
163 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 { ...
4
votes
1answer
7k views

Click event doesn't work 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 ...
2
votes
0answers
643 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
327 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
46 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
1k 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
1answer
2k 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
182 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 ...
3
votes
1answer
4k 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 ...
1
vote
1answer
615 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
1answer
204 views

Controlling layer order between cartoDB and Google maps Fusion layer [duplicate]

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
325 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 ...
1
vote
0answers
792 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 ...
1
vote
0answers
66 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
41 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
5k 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
288 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
1answer
330 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
1k 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
67 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
2k 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 ...
1
vote
0answers
725 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
2answers
4k 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
785 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 ...
1
vote
1answer
887 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 minutes....
1
vote
1answer
1k 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?
4
votes
4answers
5k 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
65 views

Certain polygons not obeying JavaScript style rules?

Styling misbehavior http://catalinagis.org/files/geojson_opacity.jpg http://catalinagis.org/ownership You can see that some of the parcels don't follow the fill style rules (opacity: 0.5) even ...
3
votes
1answer
13k views

Google maps distance based on the zoom level [duplicate]

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 ...
1
vote
1answer
721 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 (...
2
votes
1answer
2k 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
434 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 ...
1
vote
0answers
2k 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
2k 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
295 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
92 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
542 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 ...
2
votes
0answers
207 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:...