We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
2
votes
2answers
6k views

Creating Google Maps Polygon from Data Object Using getFeatureById

First post here, so forgive me if I put a few things in the wrong place. I am trying to do a Google Maps search for places inside an arbitrary region loaded into a Data object loaded via GeoJSON file,...
2
votes
1answer
5k views

Can you download all google maps data in certain area?

Knowing the reference point, I want to get a list of all the shops (and co ordinates) based in that area.. For example all the shops in this mall: https://goo.gl/maps/GFfWx8pze2T2 Is there a tool to ...
3
votes
1answer
4k views

Text Label GeoJSON Markers Google Maps API

I am trying to create a Text Label, for each of the markers created from my GeoJSON with the following code... function init() { var mapCanvas = document.getElementById('myMap'); var map; var ...
1
vote
1answer
9k views

Extracting latitude/longitude from javascript and passing to html form

I have the following problem I use a google map inside an html form where the user can enter an address (autocomplete) and the marker goes to the place. The marker is draggable. What I want is to ...
2
votes
1answer
242 views

Heavy load Map application. where to start? [closed]

I want to start building a quite big project that I have in mind that is 99% based on the world map. I have worked with Google maps in the past and know how to use their api and I have done some ...
1
vote
1answer
250 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 ...
2
votes
0answers
77 views

What is the method for mapping 200k records on Google Maps API via MYSQL db?

I have a simple Google Maps api linked to MYSQL. I am trying to map a mysql table of 200k records. I have a default display of this data set as heatmap, so am not trying to map 200k markers. Even ...
4
votes
1answer
1k views

How do I remove the terrain checkbox from Google Maps?

I don't mind having the map/satellite options, but I don't need the terrain option for my map. How do I disable just that? I don't see it documented well on https://developers.google.com/maps/...
2
votes
0answers
622 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
723 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
936 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
97 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
685 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
68 views

Finding roads with similar incline [closed]

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 different country and the road property I'm comparing is ...
1
vote
0answers
211 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
4k 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 ...
51
votes
6answers
92k 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
3k 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
164 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
8k 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
671 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
334 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
2k 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
188 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
5k 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
651 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
210 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
337 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
861 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
67 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
289 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
385 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
68 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
3k 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
741 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
869 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
2answers
981 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
67 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
14k 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
764 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 (...