Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
22 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
0answers
12 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 ...
0
votes
0answers
41 views

How to design an interactive physical map for learning geography with data layers? [closed]

I'm working on a project to help my kids think about geography. The idea is a world map roughly wall-map sized, with a series of transparent cutouts for each country. The cutouts would have ...
1
vote
0answers
24 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
12 views

check if a point is in a polygon that's saved in mymaps.google.com

I have a set of polygons in my mymaps.google.com account. How can I find out if a given coordinate is in any of the polygons in mymaps.google.com? So far what I've found is checking if a coordinate ...
0
votes
0answers
18 views

Show default map label on top of RGB Layer

I would like to have cities, state, country labels on top of overlay like above image from sentinel-hub, how can i achieve that using google map?
0
votes
0answers
31 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
25 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
47 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
81 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
101 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
79 views

Google Maps 'uncaught exception: InvalidValueError: not a Feature or FeatureCollection' when adding GeoJson

New to GIS here and trying to take a shapefile I converted to geojson and display it on a google map. As stated I get this error: 'uncaught exception: InvalidValueError: not a Feature or ...
0
votes
0answers
57 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&...
0
votes
2answers
122 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.
0
votes
0answers
35 views

Google Maps Static API Specify state/provence vs city of same name

I's using Maps Static API to show the province of Quebec, rather than the city of Quebec. It would be analogue to wanting New York State rather than New York City. The URL I am using is: https://www....
0
votes
0answers
24 views

Obtaining a more general address when reverse geocoding? (Google Maps API)

The intent is that from two different points (locations), let's say... 1km apart from eachother, the given JSON response gives the same address so that there's the possibility of having a feature ...
1
vote
0answers
138 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 ...
0
votes
0answers
162 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
300 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 ...
3
votes
3answers
350 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 ...
2
votes
0answers
121 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
43 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 ...
0
votes
0answers
54 views

“Ghost” OVER LAYER: Postgis, Geoserver and OpenLayers environment

Did someone from the community has been through this problem and can help us find a solution? In an environment using Postgis (Version 9.2.23), Geoserver (Version 2.12.1) and OpenLayers (Version 4.6....
1
vote
0answers
58 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
476 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
447 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
60 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 ...
0
votes
0answers
98 views

How to get latlng of Railway Tracks in Google Maps given a center latlng and zoom?

I have used JavaScript to get latlng(latitude and longitude) of a point when clicked.The code is as below.But I want to get an array of latlng of all points on railway track so that I can get ...
1
vote
0answers
143 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
109 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
64 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 ...
0
votes
0answers
134 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 ...
0
votes
0answers
110 views

Google Map JavaScript API Drawing order confusion with two GeoJson Overlaying on top of each other

I have been using Google Maps JavaScript API to do some data visualization. I am facing a problem which I suspect is the drawing order, but could be others. (*Census Tract is a larger geographical ...
2
votes
1answer
41 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
129 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 ...
0
votes
0answers
142 views

Changing inclusion of country/state labels at different zoom levels?

In Google Maps static API (and other APIs as far as I can tell), at zoom level 7 the country label for USA disappears and at zoom level 8 the labels for individual states disappear. I am interested ...
0
votes
0answers
122 views

Google maps api way to calculate height from camera to the ground

Is there any way to find height from camera to the ground, knowing google maps zoom level? Something like: zoom level = 14 -> distance from camera to the ground = 500 meters
1
vote
2answers
146 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
0answers
35 views

Saving boundary (e.g. polygon boundary) to variable when using fusion tables?

I have an overlay layer created using fusion tables. I am retrieving values from the table using: var vname = e.row['l_name'].value; and this is working correctly. I click on one of the many ...
0
votes
0answers
70 views

Splash screen in Google Maps JavaScript API

I have created an API in ArcGIS Web App Builder Developer edition. Now I am creating a Similar API in Google maps JS API. I have attached an image with Splash screen before launching the website. How ...
0
votes
0answers
35 views

Making heatmaps on Google Maps API?

Is it possible to make heatmaps on Google Maps API? I'm developing a web system that shows statistics about crime. I'm using Yii2 framework and PostGIS.
0
votes
0answers
81 views

Google maps api: not able to turn layer on when it starts off

I have a google maps API application where some layers start off. I can't, however, get them turned on when the associated checkbox is checked. The layer only appears after a pan/zoom after that ...
0
votes
0answers
125 views

Prevent listener from being added if it already exists

I want to prevent my GMaps object from adding unneeded listeners. var map = new google.maps.Map(mapWrapperElem, mapOptions); map.addListener("click",function(event){ // Do stuff }); How do I ...
0
votes
1answer
293 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.
0
votes
0answers
213 views

Streetview coverage data

I'm trying to get a random location where streetview is available, and to do this I'm using this coverage map: https://mts1.googleapis.com/vt?hl=en-US&lyrs=svv|cb_client:apiv3&style=40,18&...
0
votes
1answer
53 views

How to include ArcGIS javascript apis ElevationProfile template in openlayers4 application

I developend a small application using openlayers4 javascript library. As per my bussiness requirement I need to add a elevationprofile widjit to display elevationprofile chart for drawpath. I tried ...
1
vote
0answers
1k 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
0answers
159 views

Google hybrid map is not loading in openlayers3 map page

I am trying to add google hybrid map in openlayers3 map page, but tiles are not loading in the page. I used google maps api script also. The below is my source code: <script src="https://maps....
0
votes
1answer
74 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
737 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: ...