Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
2
votes
1answer
346 views

How do duplicate script on Google Earth Engine code editor

I'm following https://docs.google.com/document/d/1bRCEB8ybRUp2D6vFc7mjqDMG2bpmCd2iTPQIEern0mk/edit#, its about classification and regression. I followed the regression part then I'll do the ...
0
votes
1answer
1k views

Collecting Lat-Long in a Google Docs Form by adding script?

So I need am trying to figure out a way to collect Lat long data and have it saved automatically when I fill a Google form on my phone. Is it possible as retracing address to plot is not possible for ...
-1
votes
1answer
345 views

Flying a tour along a (KML) route and exporting frames

I'm pretty new to the Earth Engine / GIS cosmos so please excuse my inexperience. I'm working on a project for which I want to fly a virtual drone along a KML (or any GPS waypoint) route and export ...
2
votes
2answers
151 views

Converting Google Maps lat long to EPSG:6706

I'm sending a WMS GetFeatureInfo() request, but there is something wrong because the returned info does not appropriate a clicked point. I suspect that the error is in the BBOX parameter of the ...
0
votes
1answer
775 views

Principal Component Analysis (PCA) issue on Spectral indices and transformations of Earth Engine

Following the Principal Component Analysis (PCA) section on Lab 4: Spectral indices and transformations from https://developers.google.com/earth-engine/edu I reached a point which its not clear, in ...
0
votes
1answer
117 views

Google Earth Engine filterdate ignored by plot?

I'm starting with Earth Engine (EE) coding. Following instructions from https://developers.google.com/earth-engine/tutorial_api_07 I was able to put together some code and get a plot. But why the ...
0
votes
1answer
24 views

Fusion table query using variable?

I am new to google map api as well as fusion table. I want to make a dynamic query using fusion table. for that i am using the following piece of code: var layer3 var yr = 2015; layer3 = new ...
5
votes
1answer
1k views

Getting the departure time based on a desired arrival time for driving

Context: I'm working on a logical problem as part of my Msc. thesis in GIS. I want to calculate the departure time (output) based on a desired arrival time (input). I have chosen to use an API to ...
0
votes
2answers
1k views

Google maps dynamically load marker after center_changed with minimum distance

I would like to load dynamically markers (trees) to get displayed around the center of a google map. I call the script xml_trees.php on our server passing the southwest and the nordeast coordinates of ...
2
votes
1answer
436 views

Dynamic styling of data layer (icons) in Google maps api v3

I want to use different icons based on attibute values 'art' in a Google Maps data.layer. I've defined an customIcons object with all the styling options I need. var customIcons = { Ap: { ...
0
votes
1answer
478 views

Display the data layer to info windows taken from GeoJSON

I have a problem for displaying data to info windows on the Google Maps Data layer. Here I use GeoJSON to load data. can anyone help me? var map; function initMap() { map = new google.maps.Map(...
1
vote
1answer
816 views

Loading Markers via XML and adding Infobox using Google Maps API V3?

I'm having a couple of issues that I can't seem to resolve so I'm going to throw this out there to the community. I'm trying to create a Google Map that loads markers based off an existing XML file (...
0
votes
1answer
822 views

Changing color scale in KML files?

I want to work with kml/kmz files in the Google Maps API, but I want to remap the color scales. Is that possible? Here are example kml/kmz files where I'd like to change the color representation ...
1
vote
0answers
125 views

Incorrect tile repeating in WMS?

I am trying to leverage my GeoServer and add a WMS layer to a map created with of Google Maps. What I am getting instead is the tile repeated across the display. I am passing the BBox from the ...
0
votes
0answers
255 views

How to show on Leaflet: WMS on top of OpenMapTiles (vector PBF)?

I made a simple Leaflet page with the following content: Overlays: a geojson polygon file WMS polygon layer from Geoserver of my own (tiled=true) Baselayers: All 4 Google Maps: road, terrain, ...
1
vote
0answers
230 views

Vector tile layers over 3D terrain

I have a set of vector tile layers I'm hosting (mbtiles) on Mapbox. Currently, I'm using Leaflet to overlay these on a 2D satellite view and works. However I'm wanting to add in some features to my ...
0
votes
1answer
763 views

Displaying animated data over time with the Google Maps API and JS

I'm building an app using Google Maps API and AngularJS. I've managed to display data both as pointers, clusters and heat maps and to reload the maps in real time when the data changes. Now I was ...
0
votes
1answer
1k views

ISO 3661-2 Region Codes

I have noticed that Google Maps API provide the ISO code as the short name for the country. However for regions it is quite variable... For instance if I want to check Madrid, Spain: ISO-Code Spain: ...
2
votes
2answers
928 views

UI CHARTS ( for indices time series in python API of Google earth Engine)

If I use python api for google earth engine and want to make a UI chart for mean value of NDVI for a particular year , how does the UI.CHART function work in python api for google earth engine.
1
vote
0answers
380 views

How can I render custom google maps tiles with mapnik?

I'm currently developing my own little GIS service, that displays custom computed information on a google map. As you can see, I'm loading a custom tile overlay, where I renderd the information in a ...
1
vote
0answers
467 views

Cost of hosting an OSM tile server with similar performance to Google Maps API

I am considering switching from Google Maps API to hosting my own OSM tile server. Right now my site gets about 2,000 map hits a day, serving about 20-30 users at a time. With Google Maps API, I ...
0
votes
1answer
573 views

How to Zoom Google Maps Javascript API to level 25

Cannot Zoom Google Maps Javascript API after 1:564 (zoomlevel: 20) in Mapstore. Can anyone help me to solve this cause my layer keeps on zooming but the map is stuck at zoom 20, I want to zoom it to ...
6
votes
3answers
2k views

Render vector tiles to PNG on Android & iOS

I have an Android + iOS app using Google Maps SDKs to display a map, and I'm in the process of setting up an OSM tile server. I'm evaluating the possibility to use vector tiles instead of raster, but ...
4
votes
0answers
360 views

Vector tile layer over Google Maps or MapKit in iOS?

I'm looking for a way to add a vector tile layer instead of the built in raster layer for Google Maps or MapKit in iOS but I can't seem to find anything that isn't a complete replacement like MapBox. ...
0
votes
1answer
75 views

Get current travel times for a list of destinations from Google Maps into a Sheet

I have a list of coordinates in Google Sheets (around 20). I'd like to input a location and receive current travel times to each coordinate, for the different transport modes. Is this possible from ...
1
vote
0answers
310 views

Deploy Google App Engine app for Google Earth Engine

Basically, an app from Google App Engine makes a request to Earth Engine (server to server basis) then renders this image to a web page. In my case, it requested SRTM data: mapid = ee.Image('...
1
vote
0answers
809 views

Response not working in AJAX/PHP

I am working on Google Maps API, where I have made a dynamic marker popup. Now I want to take the user information from the popup and save it to my MySQL database without reloading the page. So I am ...
0
votes
1answer
1k views

Python and Google Maps API place search: Read csv read row by row and loop fuction

I want to automate a task in Python with the Google API Search Place. Right now, my code with Google Maps API is returning places 'hospital' for one set of geographic coordinates. But, I have a CSV ...
2
votes
2answers
79 views

Manipulating shapefile into PostGIS?

I have a series of shape files that I am trying to convert and enter into a postgis database so that I can pull the data out as GeoJSON but I am having troubles getting the data to enter with the ...
1
vote
0answers
298 views

How to reproduce geodesic transformation in Google Maps API

I need to show points on country map of Russia, but not in Mercator projection, it should be in usual view, be more real (like we see it everywhere every day). Trying to figure out different ...
1
vote
0answers
195 views

Calculate minimum Traveled distance from L Latlng in T time

I want some functionality in my Android/iOS application i.e. U user is travelling to L location, So when the U is 15 minute away from the L location he/she will get some Notification. What i tried so ...
1
vote
0answers
199 views

Getting a 3D view from Google Maps into QGIS?

I guess it would be safe to assume that there is no straight-forward way of doing this, since 3D functionality was just rolled into QGIS, but is there a way of importing the 3D (tilted) view from the ...
1
vote
0answers
360 views

How do I overlay `.mbtiles` tiles on my Google Maps Object?

I have a Linode server where I'd like to upload custom-tiles-that-cover-USA-only.mbtiles. I also have script.js on the server, which has this basic code for loading a Google Maps object and putting it ...
2
votes
1answer
63 views

Google maps slice arctic

I am developing earthquake visualization web-app for arctic zone using Google Maps JavaScript API. During the development I found Google Maps doesn't display map above approximately N85 degree, if you ...
1
vote
0answers
457 views

Creating multi-country Google Maps API Polygon?

I'm working on an embedded interactive map using the Google Maps API. I need to show several "regions" that each contain some neighboring countries. For instance one of the regions is the countries of ...
1
vote
3answers
2k views

CORS error when using Google Elevation API

I'm trying to use Google elevation API with an AJAX request. It doesn't work and when I do console.log(ajax.responseText) I'm getting this error : Cross-Origin Request Blocking: The Same Origin ...
0
votes
1answer
498 views

Creating coverage map in google maps using .tab file?

I used MapInfo Professional 11.5 to convert a .tab file to .kml file of google maps. However, the converted .kml file has a great size(80Mb), so i cannot use this .kml file in google maps.
1
vote
0answers
2k views

Google Geocoding API returns “OVER_QUERY_LIMIT” for some addresses, seemingly at random

I'm using a Python script to send a list of addresses to the Google Geocoding API and parse the JSON results to give me a text list of coordinates. My problem is: For some addresses in the list, the ...
0
votes
1answer
234 views

Point locator on polygon for onclick of elevation profile graph

I am trying to display a point locator on polygon path, when onclick of elevation profile graph.I tried the following code with google api in openlayers library, the graph is showing but pointer is ...
1
vote
1answer
2k views

How do we remove labels bound to markers in google maps api

I am using: > ruler1 = new google.maps.Marker({ position: map.getCenter() , map: map, draggable: true }); to create a marker and then create and bind a label to it as below: ...
5
votes
1answer
900 views

Importing google maps/bing points: which projection?

I am trying to use data imported through one of the google maps/Bing API, and am confused about the projection. Using the APIs, data comes under a non-geographic format, such as json or xml, try: ...
2
votes
1answer
1k views

Google Maps API extract elevation value along route

I am using the Directions and Elevation Service of Google Maps, in order to extract the coordinates and the elevation along a route between a start and end point. I could set my directions service ...
1
vote
0answers
2k views

How access Google Maps through a proxy server [closed]

I'm on a private network where the user's machine only has access to the internal network. I need to make the user's machine access the Google maps api through a proxy server. Anyone know if it's ...
1
vote
1answer
2k views

Converting GeoJSON pixel coordinates to lat long coordinates for use with Google Maps API?

The entire process is quite a bit more complex than the question, so let me briefly describe it: An SVG overlay of map features is parsed. Each path is converted to WKT using SVG-to-WKT and then ...
2
votes
1answer
162 views

How to add a constraint in a google geocoding API request

I'm trying to get the center point of some localities using the geocoding API from google. 95% of the requests get the expected result but from time to time the API give me an unexpected result ...
0
votes
1answer
3k views

Generate GPX file from GoogleMap url

I need to create a C# application takes a Google Map Url like this: https://www.google.it/maps/dir/40.7191523,-74.0123231/40.7087892,-74.010857/40.7082982,-73.9994353/@40.7123687,-74.0111298,15.33z/...
0
votes
1answer
543 views

How can I get coordinates outside the scope of a function

I am using google maps API in OpenLayers for geocoding so that when I enter an address I can get back the coordinates of this address. I am implementing this with a function but I cannot get the ...
2
votes
0answers
375 views

Changing default Google Maps max viewport?

I want to show a portion of the world of on my Google map, where the user can zoom in, but if he zooms out, he shouldn't be able to go further out than my default viewport (i.e, if I define Africa, ...
2
votes
1answer
3k views

Geocoding with MMQGIS. How to use Google API Key?

I'm trying to geocode two csv files with 10 addresses each. When I tried with the first one, every address was located by Google, but when geocoding the second file I get this error: Exceeded Daily ...
1
vote
0answers
435 views

Google Maps API setTilt(45) on custom tile layer

With google maps api, I'm trying to put a custom XYZ service on top of google satellite 3d view (45°). Is it possible? I have a mapnik stack server serving a custom tile XYZ service (transparent ...

1
2
3 4 5
11