We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

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

Drawing Census Tracts in Google Maps

If I have census data with TigerGIS/PostGIS is it possible to get back all of the long/lat coordinates for the certain census tract? I want someone to be able to type in an address or census tract, ...
1
vote
0answers
165 views

Google Map- Polygons

I construct three polygons in the google map using the help polygons in google Map API for developers site. They are look like one polygon inside an another polygon .When my page is loaded all three ...
1
vote
0answers
320 views

(Google Map) auto update of info window content like time

Is there anyway to frequently auto update content of info window like live local time of particular city like New York?
0
votes
1answer
3k views

Draw a polygon automatically through markers (points) in google maps

I have a difficult situation, I'm trying to draw a polygon through markers (points), what I need is for the polygon to be drawn automatically after tracing the points. The problem is that most of the ...
1
vote
1answer
1k views

Downloading Google Maps data like OSM?

I am working on a project in which I require road network. I have downloaded data through OpenStreetMap but it is not updated. Is it possible to download Google Maps data with attributes?
0
votes
1answer
2k views

Creating filter checkboxes for Google Maps Javascript Web Map?

I'm currently using google fusion tables to store research data and visualize it in the Google Maps Javascript API. I'm new to coding and am having trouble developing some functional components of the ...
0
votes
2answers
2k views

How to associate function to custom controls in google maps api?

In the following code I've added a custom control on a map using Google Maps API V3. <html> <head> <title>Simple Map</title> <meta name="viewport" content="...
1
vote
0answers
2k views

How to add a button (with image) on a map using Google Maps API

I need to put a button on a map built using Google Maps API v3. I've seen this sample https://developers.google.com/maps/documentation/javascript/examples/control-custom and that's good for me but ...
1
vote
1answer
2k views

Polygon style settings not working KML google maps api

I'm using the javascript API for Google Maps and uploaded a kml. It's picking up the .kml fine, but the polygon style isn't pulling in correctly. I've got 4 polygons each with different colors and ...
3
votes
1answer
2k views

Accessing Google Tile independent from their API in OL3 is possible for paying customer?

Using map from tile providers are common use-case in web mapping: overlaying internally-hosted WMS/WFS layer on top of Google Maps/OSM/Bing Maps. These are easy in OpenLayers 2. However, this feat -...
1
vote
1answer
74 views

How to display faster shapes covering a country map?

I need to display ~9000 polygons that represent country regions on a google map in a fast way. The polygons are kml formats (but I can get other formats too). At the moment everytime the map is ...
1
vote
1answer
666 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 ...
1
vote
1answer
269 views

How do I add a MapProxy overlay to Google Maps API?

I have Mapserver running, reading from a raster file, which I can overlay over Google Maps using its Javascript API. Now, for caching of tiles, I need to use MapProxy URL for Google Maps overlay. How ...
1
vote
1answer
874 views

Is there any way to get route polygon

I have trying to find way to get google map display route polygon, so that i can filter data from my database(using polygon): Google directionsService.route There is some option I found but it is ...
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 ...
0
votes
1answer
443 views

Is it possible to use all Google Maps feature with Leaflet's GoogleMutant API

I'm using leaflet in my project for longer period of time. Now it is required to use Street View feature of google map with it's Peg Men. Is it feasible? I've another question in mind where ...
1
vote
1answer
3k views

How to add marker in Leaflet base on Google Maps layer?

I have tried many way to add marker base on Google Maps but it doesn't work at all, but if I changed my base map to such as open street map which provide by Ersi or Leaflet, it does work. Why is it ...
1
vote
0answers
70 views

Traverse all roads in a city or bounded region

Is it possible to provide a starting point(lat/long) to a drone and then simulate it to traverse through all the roads in a bounded region. What I currently have(using OpenStreetMaps) is a list of ...
0
votes
3answers
2k views

Generate KML file/url from Google Maps

I created kml file from ArcMap and imported into my Google maps, it works. Not sure if you can open this URL: https://www.google.com/maps/d/edit?mid=13TuHmGuW9nnE-8TACTfGLdDDf6o&ll=38....
9
votes
6answers
17k 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 ...
1
vote
0answers
1k views

Achieving more accurate geolocation

Currently, I am using Google Maps API with HTML5 geolocation to create a POC about asset tracking via a web service. The user opens the web browser and we track it from there and display it on an ...
1
vote
1answer
2k views

googlemutant and leaflet problem view data

I just create a new map with leaflet and GoogleMutan with this three CDN libriaries: 1) maps.googleapis.com/maps/api/js?key=MYKEY" async defer 2) unpkg.com/leaflet@1.0.1/dist/leaflet-src.js 3) ...
3
votes
1answer
187 views

Adding association for location with city or zip code when using PostGIS to add markers using geography?

On my front end, I am using google maps JS api. I am adding markers, the google maps event gives me the lat/lng for where I add the marker. I'm adding that marker into my postgres database: INSERT ...
1
vote
1answer
1k views

Google geocoder doesn't return U.S. county information

I'm geocoding a bunch of U.S. addresses with various levels of completion. In some cases, Google's geocoding API (https://maps.googleapis.com/maps/api/geocode/json?address=) doesn't return a county (...
1
vote
0answers
250 views

Road Extraction from Latitude and Longitude using Google Maps API? [closed]

Google Maps API allows grabbing roads for individual latitude and longitude specifications (or the nearest roads if the point/s are not on a road). However, the way it requires data to be entered for ...
1
vote
2answers
1k 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 ...
0
votes
0answers
662 views

Is there a OSM tile server that allows you to style like google api?

The google maps API allows you to style the map you get back. Is there an OSM equivalent? This question asked how google did it How are Google serving up their Styled Maps? has there been any ...
0
votes
1answer
2k views

C# - Geocode pharmacy by name and location

How can I find the coordinates of a pharmacy by it name and location? I'm trying to search with the Google geocode API like this: var pharmacyName = "Farmácia Ereirense"; var address = "Cartaxo, ...
1
vote
1answer
648 views

Can I get a google static map at the inbetween zoom levels that google maps site does?

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'...
2
votes
0answers
479 views

TMS tileOrigin on Google Maps ImageMapType

I'm trying to show a tiled image layer on Google Maps, which is currently showing on an OpenLayers / ESRI engine. OpenLayers has a parameter on a TMS layer to specify tileOrigin (0,0 is different) ...
3
votes
1answer
3k views

How to set google map zoom to fit the screen & position infobox labels depending on the area of polygon

I am using google map's FusionTablesLayer and polygon to set layers of USA states. I am having problem in integrating following 2 things : a) Set zoom property, so map will fit to the screen. I know ...
1
vote
0answers
298 views

Google My Maps integrated on own site

The My Maps solution from Google is great, especially for quick adding layers and styling. Is it possible to export the map to my own website as a full sized map and without the My Maps logo? There´s ...
2
votes
1answer
6k views

Google maps API find the nearest markers in my location

I have this code and I don't know how to include "find the nearest markers in my location". I tried some codes but nothing didn't work perfectly. I want if i click to button it shows markers in my ...
0
votes
1answer
1k views

Alert Box on Marker Google Maps API

I have a marker called chicagoMarker and each time the user zooms in closer I would like to alert them if they are getting closer to chicago. I am not sure if I have a problem with my event listener ...
1
vote
0answers
174 views

Maintain Nominatim with my own data

I just started using google map API but found some restrictions on daily request limit. After some research I found I can use open street map, but has its own request restrictions. To resolve I ...
-1
votes
2answers
365 views

Tutorial for Google Maps API [closed]

Where I can find some good tutorial for Google Maps API?
0
votes
1answer
424 views

Why do I get “Invalid Data Source” when opening a GPX file from ETrex 30?

Why is it if i load the .gpx files in qgis it says "Invalid Data Source" as well as in google maps? I want to view the waypoints from the .gpx file. I used gpx etrex 30
2
votes
1answer
1k views

ArcGIS JavaScript Extension for the Google Maps API, serverapi.arcgisonline.com/jsapi/gmaps/

My code using as the following: Google Maps API in V3: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=geometry&v3&key=...
3
votes
2answers
2k views

Clipping a section from google map as geotiff

I am trying to export regions of interest in google map as geotiff. I know google earth has option to save image as jpeg. Are there any tools to obtain a part of image from google maps with its ...
1
vote
0answers
104 views

Finding all line segments lying inside polygon and what % of line inside polygon using Google Fusion Tables?

I was practicing with fusion tables sample code and while playing with some dataset, I was thinking how to achieve this. So if you see attached image. Red blocks : These are SLA code or SLA areas. ...
0
votes
1answer
2k views

Get distance in meters between lat/lng coordinates, divided in North and East direction

I've got 2 couples of lat/lng coordinates and I would like to get distance between them in meters, but divided in X (east) and Y (north) directions. I've found this function in a Stack Overflow ...
2
votes
0answers
1k views

Using Google Maps API to selectively highlight railway routes one at a time?

I am trying to understand the TransitLayer in Google Maps' Javascript API. Utilizing Google's example code, I managed to display a geographically-accurate map of Tokyo Metro, Toei Subway and Yokohama ...
1
vote
0answers
133 views

Google TMS links legal for usage in OL, GeoNode, QGIS? [closed]

I really like to use the Google tms urls in OpenLayers, QGIS (QuickMapServices), GeoNode, like https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z} But is it legal to use this links? Will ...
1
vote
0answers
342 views

How to generate tiles using gdal2tiles that can be used for google.maps.ImageMapType?

Using GDAL tools such as gdal2tiles.py, allows one to generate map tiles from a single image file. However, the tiles generated by gdal2tiles doesn't seem to be like one used for google.maps....
0
votes
1answer
4k views

Trying to get Spiderfier to work with MarkerClusterer in Google Maps

I have just over 100 points to display on a map and had it working fine. Quite a few of these points are displayed at the exact same coordinate position so sit on top of each other. To make it so ...
1
vote
0answers
645 views

How to generate list of polygons that fall within radius circle using Google Maps API?

I have created a Web app using Google Fusion Tables, the Google Maps API and Derek Eder's Searchable Maps Template that allows someone to enter an address and distance, and then see which US ...
0
votes
1answer
6k views

Remove the last plotted line from Google Map _ Android?

I created a class that select latitudes and longitude from sqlite then mark on map then draw polyLine. Problem : Every time I select my records 100 to 100, when I saw first 100 then I clear map then ...
0
votes
1answer
424 views

openlayers pinch zoom not working

I am interacting with a google map using openlayers3. On pinch zoom, the map throws an exception : Uncaught TypeError: Cannot read property 'x' of undefined I am using Google Maps API 3.2 and ...
1
vote
0answers
194 views

DWG to image tiles using FME

I need to make image tiles out of a DWG. I need them so I can use them as overlay on google maps. hopefully I can get them in this folder configuration: zoom_level/x_or_column/y_or_row.png or similar ...
0
votes
2answers
1k views

How to use WMTS url service in my android map application as basemap?

I am building a android map application and i want to use as basemap some wmts url services of our country. How can i implement this and get layers from WMTS url services as TileOverlay to google map ...