Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

0
votes
0answers
25 views

Getting GPS coordinates of an ending point based on a specific road, a starting point and length

In an Excel file, through VBA, I would like to have the GPS coordinates of a certain point, starting from the previous known point and the length of a specific highway (or a road). I mean a "delta" ...
1
vote
0answers
52 views

Consuming real-time traffic data from Google Maps?

In order to microprocess an logistic study about the best path to take, I need to consume, somehow, real-time traffic data from Google Maps. Is there an "open source" way to do this? The ...
0
votes
1answer
29 views

Controlling order KML Polygons are drawn using Google Maps API?

I am creating an application that allows users to turn on and off KML layers: The KML layers are hosted on ArcGIS Online, and I'm bringing them into the application by creating a new KML Layer ...
0
votes
1answer
13 views

KML file problem with Google Docs

I can't make this work. I have a JavaScript program that should upload a KML and it does not work. Uploading the same KML manually in Google Maps works perfectly <!DOCTYPE html> <html> &...
0
votes
0answers
9 views

Google Maps API - Missing administrative levels - How to deal with islands

Example: Spain>Balearic Islands>Ibiza Spain>Balearic Islands>Mallorca Spain>Balearic Islands>Menorca Currently Google Maps is defining the island of Ibiza at the same level as the places on the ...
0
votes
0answers
27 views

Google Earth like tool to direct query spatial data from an SQL database

I'm looking for a desktop reporting tool which allows me to query spatial SQL data via direct query. I'm looking for a simple application end user without any GIS knowledge can use. I've tested ...
3
votes
1answer
73 views

Fetching the nearest location of points, while accounting for bodies of water

I've got a database of points (in this case, schools) and in my app, users search for the nearest ones to them. Under the hood, we're currently using ElasticSearch to filter by latlng (using Geo ...
0
votes
0answers
29 views

How to correctly select a edge of a polygon in Google Maps?

How to correctly select a edge of a polygon in Google Maps? So far, I was able to create a simple demo here You can try the code to see that there's a bug wherein it doesn't select the last edge of ...
0
votes
0answers
20 views

Capturing total area generated from Google Maps' measurement tool in parent web page

I'm attempting to embed Google Maps in one of my web pages, specifically to use the measurement tool to allow users to measure buildings. When I'm on the web page that is embedding Google Maps, how ...
1
vote
0answers
21 views

How to create a custom draggable rectangle overlay in Google Maps?

I'm trying to emulate a functionality in a certain app wherein a user can draw a rectangle and and hold & drag it. Then upon dragging, it shows the current length, width and area. It's hard to ...
0
votes
0answers
64 views

How to save marker and polyline in database?

I want to store marker and polyline in the database. In this script, I have 3 functions, that is to draw a polyline, marker and the point of destination. Can anyone fix my script below? var map; var ...
1
vote
1answer
66 views

Cutting area from polygon in Google Maps API? [closed]

I found this example here. var map; function initialize() { map = new google.maps.Map( document.getElementById("map"), { center: new google.maps.LatLng(37.4419, -122.1419), zoom: 13,...
1
vote
0answers
24 views

ArcGIS Network Analyst - Using Bing Maps API or Google Maps API? [closed]

I'm looking for a resource we can use as a network dataset in the ArcGIS Network Analyst to calculate drive/walking times from locations to the nearest transportation hubs (Roads & Highways, Local ...
0
votes
0answers
19 views

Separate interstate and non-interstate roads from a given route

I have direction steps from city A to city B (obtained from Google Directions API). I need to differentiate the interstate road distances from non-interstate distances in the route. Google ...
0
votes
0answers
16 views

MySQL Query for Google Map Developer

Need your advice, i have used Google Map API for my WEB site based on MySQL database, I would like to know if MySQL Query can be implemented on Google Map API's. So it would display marker based on ...
0
votes
0answers
15 views

Getting geom of a path from a route in here maps api

I am migrating my laravel application from Google maps to Here maps. As a part, i will use routing api for a given start point and end point. In google maps, routing api could get encoded geometry for ...
2
votes
1answer
45 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
72 views

Is there a way to Collect 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 ...
0
votes
1answer
104 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
62 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
194 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
33 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
20 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 ...
0
votes
0answers
147 views

Seeking equivalent of Google Maps API 'title' for polygons?

I am using Django, GoogleMaps API, and GeoJSON to draw polygons from the spatial database to map. I wanted to add a title so that when you hover over/click on (don't care which) the name or ID of the ...
0
votes
0answers
139 views

Access data collected by Google Maps application

Google Maps collects user data and deciphers information like places visited, transportation, health etc. Other Google products, like Google Now for example, use the data to improve their products. I ...
4
votes
1answer
498 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
270 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
112 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
116 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(...
0
votes
1answer
441 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
338 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
49 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
115 views

Change between various API keys at runtime using Google Maps JavaScript API 3

Is it posible change the API key for Google Maps JS V3 at runtime? But It must be done even without reloading the page. Only using JavaScript. We have a webapp using angularJS single page. This ...
0
votes
0answers
172 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
146 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
464 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
2answers
758 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: ...
0
votes
0answers
485 views

Python Google Maps 3d View

I followed this tutorial http://hci574.blogspot.com/2010/04/using-google-maps-static-images.html, and I can do this : http://maps.google.com/maps/api/staticmap?center=36.7820204,-2.811997&zoom=10&...
1
vote
2answers
435 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
239 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
273 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
415 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 ...
4
votes
3answers
1k 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
219 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
51 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
171 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
690 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
779 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
71 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
221 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 ...