Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
-1
votes
2answers
390 views

Tutorial for Google Maps API [closed]

Where I can find some good tutorial for Google Maps API?
0
votes
1answer
465 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
3k 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
170 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
372 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....
1
vote
1answer
5k 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
711 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
8k 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
467 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
204 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 ...
1
vote
2answers
2k 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 ...
2
votes
2answers
7k views

Creating Google Maps Polygon from Data Object Using getFeatureById

First post here, so forgive me if I put a few things in the wrong place. I am trying to do a Google Maps search for places inside an arbitrary region loaded into a Data object loaded via GeoJSON file,...
2
votes
1answer
6k views

Can you download all google maps data in certain area?

Knowing the reference point, I want to get a list of all the shops (and co ordinates) based in that area.. For example all the shops in this mall: https://goo.gl/maps/GFfWx8pze2T2 Is there a tool to ...
3
votes
1answer
5k views

Text Label GeoJSON Markers Google Maps API

I am trying to create a Text Label, for each of the markers created from my GeoJSON with the following code... function init() { var mapCanvas = document.getElementById('myMap'); var map; var ...
1
vote
1answer
9k views

Extracting latitude/longitude from javascript and passing to html form

I have the following problem I use a google map inside an html form where the user can enter an address (autocomplete) and the marker goes to the place. The marker is draggable. What I want is to ...
2
votes
1answer
258 views

Heavy load Map application. where to start? [closed]

I want to start building a quite big project that I have in mind that is 99% based on the world map. I have worked with Google maps in the past and know how to use their api and I have done some ...
1
vote
1answer
262 views

Calculating all possible lat & long

I am new to GIA domain. I am trying to learn new concepts around mapping etc and this is my first app/implementation. I am trying to implement a store locator kind of function. I am thinking to ...
2
votes
0answers
82 views

What is the method for mapping 200k records on Google Maps API via MYSQL db?

I have a simple Google Maps api linked to MYSQL. I am trying to map a mysql table of 200k records. I have a default display of this data set as heatmap, so am not trying to map 200k markers. Even ...
4
votes
1answer
2k views

How do I remove the terrain checkbox from Google Maps?

I don't mind having the map/satellite options, but I don't need the terrain option for my map. How do I disable just that? I don't see it documented well on https://developers.google.com/maps/...
2
votes
0answers
646 views

Map gear's OL3-Google-Maps not showing the google layer even after adding google layer

I am using Map Gear's OL3-Google-Maps in order to load the google base map in OL3, I am adding like this //Before adding this i am removing the OSM base map tile layer and adding it. var googleLayer =...
1
vote
1answer
793 views

Finding locations within a radius of a given path [duplicate]

I am trying to figure out in Postgis the right sql statement for the following: I have in my database a table of merchants with latitudes and longitudes; I have a route from google that lists a lot ...
2
votes
0answers
35 views

Accessing Layers Through an API?

So, I have reason to believe that this information is not available. Nonetheless, it involves using Android, and preferably the Google Maps API (though other maps may have APIs which supply this data, ...
0
votes
1answer
1k views

Getting closest point on road to point in Google Maps using Python?

I need to find the closest point on a road to a external point. I need to do it without downloading the data (I don't know if this is possible in Google Maps) nor using PostgreSQL. I know some Python ...
2
votes
1answer
3k views

Integrate Google Street View into Openlayers3

I am wondering if it is possible to integrate Google Street View into my Openlayers3 application. I do not want to show Google Maps, only Street View, since the base maps I am working with are more ...
1
vote
0answers
98 views

How to add the geocode filtering to gxp.plugins.GoogleGeocoder

The Google geocode provides the capability of applying filters/restraints to the search, e.g. restricting the search to an area with a specific postal code, etc... I want to accomplish the same with ...
0
votes
1answer
715 views

HTML form to load points on Google Maps using API?

I am creating a web page with a Google Map embedded in it. I want to create a form to allow a user to type which London tube zone they wish to see and, when submitted, this will map the tube stations ...
1
vote
0answers
71 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 ...
1
vote
0answers
213 views

Google maps Javascript API usage statistics does not show

I am currently using the google Geocoder service from the Google Maps JavaScript API in a few applications. For months I was receiving usage statistics in my API manager, but for the last 2 months it ...
1
vote
2answers
4k views

How to calculate multiple travel times using gmapsdistance?

I am trying to use gmapsdistance on R to calculate multiple transit times from Google Maps. I have a Google API key and can generate transit travel times for one origin and one destination with the ...
60
votes
6answers
112k 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
1answer
3k views

GeoJSON data and XYZ (meter) coordinates

I'm relatively new to mapping. I have some data which I would like to save using the GeoJson format and display on Google Maps (Javascript API v3). This works for my shapes which are in [Lng,Lat] ...
1
vote
0answers
165 views

Why do I get incomplete answers using google maps api in java?

I'm using google maps API in java to check wether some places are correct, but I don't get all possible responses: GeocodingApiRequest req = GeocodingApi.newRequest(context).address("Sydney"); try { ...
4
votes
1answer
9k views

Click event doesn't work with Google Maps

I'm trying to create a simple click event when I click on a list item on my page, a marker should be created on the google map in that page. But it does not happen. Is there some google maps API ...
2
votes
0answers
716 views

Geocode area/neigborhood into polygon vertices

I have been successfully using the Google Maps API using the R package ggmap to find location coordinates for e.g. addresses or city names. However, Google Maps now shows areas as well, indicating ...
2
votes
0answers
361 views

Python error in go2streetview plugin

We have the go2streetview plugin installed in QGIS 2.8.6 Wien and when performing a search using this plugin, the following error appeared: An error has occured while executing Python code: ...
3
votes
0answers
50 views

Why does google scale seem way off? [closed]

I have read similar threads on here regarding the technicality and am in way over my head. I am not a professional cartographer - I am a professional coach driver that uses google maps to plan routes. ...
3
votes
0answers
2k views

How to scale, rotate and translate a KMZ file in Google Earth

I'm a GIS software developer. I would like to adjust manually a KMZ over Google Earth images scaling, shifting and rotating it. What I'm wondering is a tool like the one in Google Earth to add a ...
1
vote
1answer
2k views

Google Maps Distance Matrix API - Queries per second?

I'm pretty familiar with Google's Distance Matrix API, but I'm unsure about one aspect of the Usage Limitations. The documentation states that you have access to 100 elements per query (element = ...
1
vote
0answers
195 views

How to perform Zoom to ImageMapType in Google Maps API?

I am adding ImageMapType on Google Map using Google Maps API. Whenever ImageMapType is added then Map should zoom to that ImageMapType. I have read the ImageMapType reference and found out that any ...
3
votes
1answer
6k views

How to use Chrome element inspector to inspect marker icons in Google Maps API application? [closed]

I have some json data that are loaded with google maps API map.Data layer, I want to inspect the marker icon element (as shown as stars in the attached picture), what's the trick to use browser ...
1
vote
1answer
688 views

Mysql 5.5 spatial to Google Maps API

I've got a mysql table with points and polygons spatial geometries. I can see that MySQL 5.5 doesn't have the ST_AsGeoJSON() function to extract to GeoJSON. I'm looking for the simplest way to ...
1
vote
1answer
216 views

Controlling layer order between cartoDB and Google maps Fusion layer [duplicate]

I am trying to control the layer order between a cartoDB layer and a Google FusionTables layer, on a google base map. The CartoDB layer always displays underneath, whereas i want it on top. I have ...
2
votes
1answer
363 views

Birdseye Viewer in other applications?

has anyone used Bing Maps Birdseye Viewer tiles in other applications? I have seen Leaflet Bing but it looks like it just has aerial, aerial with labels and road tiles. Does it have birdseye tiles? Is ...
1
vote
0answers
927 views

How to add the geometry to google maps from geojson(retrieved as json) for a specified condition using javascript

I have a array called place_names which holds some place names. I have a GeoJSON layer loaded in CartoDB, which has three columns id, name and the_geom (which is a geometry object) that can be queried ...
1
vote
0answers
71 views

Same behaviour for minzoom for google maps api and leaflet

I need to implement the same behavior for leaflet and google maps for the case of minzoom. Google maps duplicates all the objects from the main map to the world`s copies, however leaflet doesn't since ...
1
vote
0answers
41 views

Centering & zooming on area of interest

For example, our subject of interest are coffeeshops, and user wants to lookup all coffeeshops located in Mitte district of Berlin. In order to do that he selects Berlin as city, Mitte as district and ...

1 2 3
4
5
11