Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
0
votes
1answer
45 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 ...
0
votes
0answers
31 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
16 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 ...
1
vote
0answers
29 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 ...
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 ...
1
vote
1answer
58 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 ...
2
votes
0answers
83 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 ...
-2
votes
1answer
112 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://...
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 ...
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 ...
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
50 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
67 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
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 ...
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
0answers
58 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 ...
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
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 ...
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 ...
0
votes
0answers
113 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 ...
0
votes
0answers
69 views

Opening Google Maps Street View from Google Maps Image

Is there a way I can link the Google Maps Street View Image to the actual Google Maps so when a user clicks on the image it takes them to the address in Google Maps Street View? Right now I only have ...
0
votes
1answer
386 views

Google Earth Engine: pop-up when clicking on geometry/Feature

This may be more of a JavaScript question than a GIS question. I'm adding feature points to a GEE map (https://code.earthengine.google.com/2d6c3146e5468cb9f14e10039ca22b59). My goal is to map point ...
0
votes
2answers
192 views

Getting WMS address from ArcGIS Online service?

Was wondering if there was a way to get a WMS service address/feature/functionality from an ArcGIS online service, to provide Tile functionality? i.e. If I want to use this ArcGIS online service (...
0
votes
0answers
26 views

Add custom icon via mapbox.attr

I try to add my custom icon via mapIcon attr but doesn't work: <script type="text/javascript"> function fc_addressint_initMap(mapBox) { var mapLatLon = eval("(" + mapBox.attr("...
0
votes
1answer
133 views

Returning raw address from pandas column using Geopy?

I have a Pandas dataframe, and I'm calling a geopy function on each row of 'address_original' column to get as much detail as possible about every address from geopy.geocoders import GoogleV3 ...
0
votes
0answers
62 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
295 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
131 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
36 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
31 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
94 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
94 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
43 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
22 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
126 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
315 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
765 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
37 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
23 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
62 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 ...
2
votes
1answer
211 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
583 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
1answer
290 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
127 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
501 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
64 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
22 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 ...
4
votes
1answer
859 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
662 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
349 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: { ...