A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
0
votes
1answer
367 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
0answers
29 views

How to open Google Street View within your web app page? [closed]

Is this code syntax correct? I have the button enabled and it gets highlighted when I mouse over it, but when I go to click it, it does not open up. I have the following code listed below: <!-- ...
1
vote
0answers
15 views

React Google map . Fix the marker in the center

I want the functionality as Uber/ola app where the marker is fixed in the center evenwhen we drag the map the marker should be fixed in the center. And finally when the drag end we need to get the ...
54
votes
6answers
97k 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
0answers
27 views

Google Map - saving latitude and longitude of route/path to my server to show in future the selected route/path and navigate accordingly [closed]

I am planning a software/mobile application where the tasks are like below. An interface where a admin person will create a route map customisation by dragging a polygon path and also may add google ...
1
vote
1answer
57 views

A better way to display large vector maps (~5 million features) using Google Maps API?

I have a fairly large data set, about 5 million features, that I need to display on the web using Google Maps API. I am currently processing the file in QGis with XYZ Tiles, and using the generated ...
0
votes
0answers
18 views

How to spiderfy markers on zoom_changed :Google Maps?

I have several markers on my webpage and I am making use of Overlapping Markers library : https://github.com/jawj/OverlappingMarkerSpiderfier I am experiencing a strange bug on as demonstrated in the ...
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 ...
1
vote
1answer
1k views

Google Maps V3 + multiple Fusion Table layers = inconsistent markers?

One of my colleagues is working on a map for a news story and is having some difficulty getting the markers to consistently show up. Changing the order in which the layers instantiate is causing ...
0
votes
2answers
7k views

Google Places Autocomplete Limit Suggestions to Local Area

I'm not sure if this is the right place to ask, but can I limit the suggestions that Google Places Autocomplete find to say 5 km of a certain location? If I'm in Dublin I don't want to see suggestions ...
2
votes
0answers
77 views

Earth Engine NodeJS API: Failed to load resource and CORS policy issue

I am developing a GEE nodeJS custom application. I have gone through the documentation and source(https://github.com/google/earthengine-api/tree/master/demos/server-auth-nodejs). I setup the service ...
5
votes
2answers
35k views

Offline Maps API for C# Desktop Application?

I have a C# WPF application which has browser control to display a Google Map. Google Maps API v3 is being used in the application. I use data received from a service to plot users current location ...
1
vote
2answers
1k 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....
10
votes
1answer
4k views

Grouping map points into fixed cluster sizes?

I have a dataset of 655 lat/long pairs which I'd like to split into about 100 groups. A group should have 5-10 pairs which are geographically close to each other. Dense groups should have more ...
0
votes
1answer
3k views

How to speed up Google Geocoding API Slow performance?

I am using Google geocoding API service with their Java client, and my dev Key, The problem is when I run up to 40 requests it does slow to 600ms. I am using it in a webservice that is supposed to ...
-2
votes
1answer
111 views

Google Earth Engine API map deploy to a website

Can we convert Google Earth Engine code (i.e., which is written in GEE console) to JavaScript so that it can be viewed on a website/app? I have gone through the GEE API documentation (https://...
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 ...
2
votes
1answer
706 views

Getting google static map at inbetween zoom levels that google maps site does? [closed]

I'm not sure if this is new in the Google maps site but you can use the scroll bar to zoom in-between the standard zoom levels. The plus and minus buttons still jump a full zoom level and there doesn'...
0
votes
0answers
10 views

Google Maps is rounding my zoom level? [duplicate]

I am developing a python addin that allows the user to click on a location in arcmap and a browser window opens with the associated area in google maps. The issue I am currently facing is that the ...
10
votes
6answers
18k views

Openlayers v4.0.1 support Google Maps Javascript API?

I want to know if the latest version of Openlayers (v4.0.1) supports Google Maps as a Tile Layer. I can't find any document ion about this. If Openlayers doesn't support Google Maps, could someone ...
0
votes
1answer
122 views

Making map use set of coordinates in QGIS

I have made a custom google map with the google map api which has a few functions that work well within it - one specifically is limiting the user on what they can view within the bounds of the map. ...
0
votes
1answer
571 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
vote
2answers
2k views

Using Google Maps static tiles with Leaflet?

I am trying to use tiles generated with the Google static API with Leaflet and I am facing issues because the generated tile seems to be displayed "off-centred". My original question has been posted ...
1
vote
0answers
22 views

Finding Segment information on a Route between 2 places

Is there a way to find Segment information on a Route between 2 places using Google Maps API? I have 2 places/addresses/latlong. I am looking for the direction between the two. For this direction, I ...
3
votes
1answer
308 views

Linking Google Maps API for business from OpenLayers?

I just came across a web-page about supplying private key from OpenLayers to Google Maps for business API. But checking on the Google Maps API page, it is asking for signatures which is hash of the ...
0
votes
1answer
128 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 ...
10
votes
8answers
42k views

How to Geocode a Google SpreadSheet?

I have a spreadsheet in Google Docs with about 20-30 rows, with the following 6 columns : ID, Name, Address, Cell_No, Latitude, Longitude where the last two columns are empty. What is an easy way, ...
0
votes
1answer
497 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 ...
1
vote
1answer
695 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
41 views

Reprojecting CRS from Geocode API fails to match shapefile CRS

I have a shapefile obtained from this link. library(rgdal) library(rgeos) dir <- tempdir() unzip('~/Downloads/4106902.zip', exdir = paste0(dir, '/4106902')) shape <- readOGR(paste0(dir, '/...
0
votes
1answer
89 views

Why does size of circle object drawn in Google Maps increase when moving it away from Equator

I'm building a web app that allows the user to search the database based on his Google Maps location and a customizable search area around the location. I've noticed that when I keep the radius of the ...
2
votes
0answers
49 views

Reverse geocode through Google Maps API inaccurate?

I have placed around a 1000 markers in my area through Google My Maps, transformed the KML file to CSV, and now want to transform the coordinates to addresses. I am just testing with the first 5 to ...
0
votes
1answer
219 views

Including ArcGIS JavaScript api ElevationProfile template in OpenLayers 4 application?

I developend a small application using OpenLayers 4 JavaScript library. As per my bussiness requirement I need to add a elevationprofile widjit to display elevationprofile chart for drawpath. I tried ...
0
votes
1answer
286 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 ...
6
votes
3answers
34k views

Google Geocoder Lookup get postal code by country and city

I'm currently using Google Geocoder API to determine location data for my web service. It's important for me to get the postal code for a given country and city, but it's look like that Google is ...
0
votes
1answer
60 views

Google / Mapbox static maps displaying custom image with certain bounds

I have a process which generates a simple Google Static Map (can also be a MapBox static image as the code is pretty much interchangeable). It's recycled code from a project I found years ago. The ...
0
votes
1answer
69 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
50 views

Extracting travel times from Google Maps for a certain time?

I got the idea that it could be interesting to make a regular daily query to the route planning feature of Google Maps to collect statistics about commuting times. For example: ask Google Maps every ...
4
votes
1answer
853 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
0answers
37 views

Geocoding using Google Services on MMQGIS

I am trying to geo-code a list of addresses using Google web services. I have a Google API key and MMQGIS runs, but geo-codes 0 locations. At first I thought my data was unreadable, but when I run ...
0
votes
1answer
94 views

Limiting Google street view to extent on OpenLayers 2?

I would like to be able to limit the Google street view area in my map to to 500m radius from where the panoramic street view starts ( this is where the user clicked the mouse on the map). Is this ...
0
votes
0answers
57 views

Using Pix4d google_tiles KML outside of Google Earth

I am using Pix4d to generate orthomosaic tiles. I would like to display these in something other than the HTML that is provided. Possibly have 2 or three shown on the same window. The full ...
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 ...
2
votes
2answers
119 views

Which web maps work best for which web services

I'm trying to do a project, where I grab data from a MySQL database, and display it onto a web map API mashup (showing a chart on the map). I want to develop an example using REST, SOAP and possibly ...
0
votes
0answers
40 views

Pass coordinates to recenter google map iframe from parent page

Can somebody tell me where my code is wrong? Here is the code block to pass from the parent to the iframe: document.getElementById('street').contentWindow.map.setCenter({lat:latt, lng:lon}); This ...
1
vote
0answers
1k views

Creating relationship between MS Access DB and Google Maps API/Fusion Tables? [closed]

We are having an issue with a project that we are working on using Google API and M.S Access. Our project goal is to design a web map in Google API where we can select a parcel of land and have all of ...
0
votes
0answers
14 views

How to convert shapefile into Google Maps-compatible GeoJSON? [duplicate]

I have a shapefile whose Coordinate Reference System's NAD_1983_CORS96_StatePlane_ Florida_East_FIPS_0901_Ft_US/ESRI:103257. How do I convert this shapefile into a .geojson file that can be read onto ...
4
votes
4answers
1k views

bathymetry (Ocean Floor depth) data - API or similar

I am looking to extract the ocean floor depth from a given lat/lng. Research has lead me to lots of sources. Does anyone have any words of wisdom or good sources or the best way to achieve this? ...
1
vote
1answer
1k views

Plotting line on map, or obtaining latitude and longitude coordinates of such line, that is 120km north of US-Canada border?

How do I plot a line on a map, or obtain the latitude and longitude coordinates of such a line, that is 120km north of the US-Canada border, including parts of the border that cross water? I managed ...
0
votes
0answers
107 views

maxZoom doesn't work Google Maps API

I use Google Map Tiles (lvl 16 to 25). But, I can't reach more than 22 maxZoom level when I use the maptype Roadplan and 20 when I use the maptype satellite.. I would like to increase the maxZoom to ...