Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Snap to shapes Google Maps

I wish to add snap to shape feature of openlayers shown here Snap Interaction to Google Maps drawing Library. Is there a way that this can be achieved. Here is the bare bone code of the Google Maps ...
1
vote
0answers
11 views

Create Polygons from Polylines

I am creating an application using Google Maps Drawing Library. In the application the user can draw a bunch of PolyLines as shown in the picture below. Please disregard the color variation of ...
0
votes
0answers
19 views

How to get the shortest distance from a polyline to a set of points in Python?

Here in the image, the black line is the polyline I have and the red points are the points from which I need to find the distances D1, D2, D3 and D4. The polyline data is extracted from Google ...
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
2answers
137 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
1answer
467 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
27 views

How to extract road images from the Google Map Street View?

As a beginner with the programming (python), I am looking for the most functional way to extract many road images from the Google Map Street View. I need to make a datasets of road surface images like ...
3
votes
4answers
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....
0
votes
1answer
3k views

Speeding 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 ...
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
votes
1answer
36 views

Get phone number of a store from Google Maps

I want to extract some data from google maps, I tried before with OSM but the result doesn't satisfy me enough .. what I need exactly, is there any way to take the data description from feature on ...
0
votes
0answers
10 views

Cannot Display KMZ attibutes data in Google Maps API

I called the KMZ file (something I created from a shapefile) in Google Maps API, while clicking the KMZ my attibutes list is not showing on the Map. it only giving the headings of the columns.
1
vote
1answer
30 views

Use Google Direction API result to display route in OpenLayers

I need to show route between 2 points in OpenLayers. I have received the route details from Google Directions API. The API has given start location / end location, Steps and overlay_polyline (encoded) ...
0
votes
0answers
30 views

Reducing the number of Google Map API calls by using Open Street Map tiles

I have a website that is exceeding the Google Maps API free limit. I am wondering if by switching over to Open Street Map as the default tile layer (replacing Google Maps Street layer) if I will ...
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 ...
0
votes
1answer
97 views

Turn by Turn Navigation for Google Map on Laptop

How can I generate voice navigation for turn-by-turn directions for Google Maps on my laptop?
11
votes
7answers
46k 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, ...
1
vote
1answer
801 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 (...
1
vote
1answer
847 views

Google Maps API: Can't load GeoJSON when inside a function

I use the sample provided on the Google Maps API page (https://developers.google.com/maps/documentation/javascript/datalayer). I put the sample inside a function like following function ...
0
votes
0answers
24 views

How to divide / split / cut polygons in Android?

I am developing a GIS app in Android. I have checked the GoogleMaps and OSM (OSMDroid) libraries and I am able to create and edit lines, polygons etc. but I was not able to divide a polygon, with a ...
1
vote
0answers
29 views

ggmap to get travel distance from dataframe

I am trying to use the mapdist() function from the ggmap package to get travel distances from coordinates in a dataframe. # need an api key to use the ggmap function register_google(key = "") ...
0
votes
1answer
127 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
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 ...
0
votes
0answers
106 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 ...
0
votes
1answer
187 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 ...
1
vote
3answers
6k views

Google Maps has inconsistent zoom level / scale ratio

At the same zoom level, the scale bar of a map from Google Maps API (v3) can have different sizes. Here are two screenshots I took at the same zoom level on the same map at two different locations. ...
1
vote
1answer
65 views

How can I export geotagged photos from Google Earth Pro?

I have a project and I am assessing social media based landscape photographs. How can I download photos as point shapefile and export them from Google Earth Pro to ArcMap?
1
vote
0answers
69 views

Animating a heatmap over time using Google Maps API

I'm currently building a web application using flask and google maps api. I was wondering if it would be possible to create a page where user can select the time using a slider bar and the google ...
0
votes
0answers
33 views

Creating many Google Maps paths and exporting to ArcGIS/QGIS

As part of my senior thesis, I have a CSV of about 500K unique combinations of starting and ending lat/long coordinates, each of which represents the starting and ending locations of bike share trips. ...
0
votes
1answer
55 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
339 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 ...
0
votes
1answer
71 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
1answer
195 views

Average radius of city size?

Do any geographers on here have an estimate of the mean and median city radius sizes? I'm trying to optimize some Google Places API queries [e.g.] and this information would be helpful for that ...
0
votes
1answer
230 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 ...
3
votes
2answers
10k views

Downloading Google Maps municipal geometry

When searching for a city on google maps, google is that smart it displays a geometry line on the boundary off the municipal. See this link: http://g.co/maps/23dz5 Is there a place in the google maps ...
1
vote
0answers
144 views

How to use ground overlay google map android for polygon area to fit the map image in it?

I have a park area that is not rectangle or a simple shape. It is just like polygon area. I could load sample image on it for testing, in my android app. There it is : mGroundOverlayRotated = ...
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 ...
3
votes
4answers
5k views

Get road type by coordinates

I need to do the following task: to retrieve the road type (highway, bridge, track, pedestrian and others) by coordinates, query a remote service (via HTTP). I'm looking at the different major ...
0
votes
1answer
103 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
1answer
53 views

Wrong coordinate system after import

I try to do something simple, use official data of Belgium zones that I found here: https://eservices.minfin.fgov.be/myminfin-web/pages/cadastral-plans. So I downloaded the files of one city and ...
1
vote
0answers
552 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 ...
57
votes
6answers
109k 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
67 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
65 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
40 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 ...
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 ...
2
votes
0answers
183 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
37k 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 ...
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 ...
-2
votes
1answer
245 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://...

1
2 3 4 5
11