Questions tagged [google-maps-api]

An application programming interface specific to Google Maps.

Filter by
Sorted by
Tagged with
12
votes
4answers
76k views

Creating drive time polygon around map point? [closed]

I'd like to create a 30 min drive time polygon around 400 separate points I have plotted to google maps. I have discovered http://www.freemaptools.com/how-far-can-i-travel.htm but this seems to freak ...
9
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 ...
5
votes
1answer
4k views

How to calculate polygon area considering slopes?

I am looking for an accurate algorithm or a service to calculate surface area on earth where points are calculated on the basis of GPS Coordinates. I am using Google Map Api version 3 and are drawing ...
-2
votes
1answer
123 views

How to Draw/plot or identify in GoogleMaps with below PointData

How to Draw/plot or identify in GoogleMaps with below PointData? Below are the points generated from spatial cadastre software. PointName Xpos Ypos _1 341.0926 527.9615 _10 669.1454 527....
8
votes
6answers
15k 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 ...
5
votes
4answers
7k views

In what coordinate system and unit measures the coordinates returned by the Google Maps API are?

In what coordinate system and unit measures the coordinates returned by the Google Maps API are? I ask this because I have a page that returns the geocode lat / long for me to find in my postgis ...
4
votes
1answer
733 views

Integrating Google Maps in WordPress?

I need to add Google Map with about 400 markers into WordPress site (into one page). Every marker needs to have info window with photo, description and link. It is really high number of markers, so I'...
3
votes
2answers
6k views

How to disable Google map zooming animation effect?

I am using Openlayers mapping library in my application. I have integrated Google map V3 & added other several WMS overlays, Vector layers etc. Every thing working fine. But I am facing big ...
1
vote
1answer
3k views

OpenLayers & Google Maps: TERRAIN not showing as baseMap

I have a problem with OpenLayers and Google maps: on this page: http://46.37.22.75:8085/public/ I'm loading Google maps TERRAIN with Openlayers.js, everything worked well for about 1 year, but now ...
1
vote
1answer
629 views

Setting zIndex of CartoDB.js layer on top of Google Map's GroundOverlay?

I am trying to combine the Google Maps API Ground Overlay example with CartoDB.js example using Google Maps. It appears both APIs are displaying their layers correctly. However, the ground overlay ...
49
votes
6answers
83k 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?
11
votes
1answer
11k views

Corner coordinates of Google static map tile

How to calculate the corner coordinates (bounding box) of a static Google Map image, fetched with e.g. http://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=...
9
votes
7answers
40k 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, ...
7
votes
1answer
6k views

Output polygon data from postGIS and read it on Google Maps API

So, I have a group of polygons stored in PostGIS. I'm trying to build a web application with Google Base maps (using Google Maps API). Now, How do i output the polygons in the right format so that ...
14
votes
3answers
797 views

How are Google serving up their Styled Maps?

As we all know, Google changed web mapping when they introduced Google Maps. At the time of writing this, tiled maps are now the norm with web mapping. For example, with ArcGIS Server, you cache ...
3
votes
2answers
9k 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 ...
5
votes
1answer
19k views

Accuracy of Google Maps latitude and longitude?

I am making a program that uses GPS location preferably from smart phone, laptop works too and compares it to a building, the points you in its general direction. I am making this web application ...
4
votes
1answer
565 views

Importing google maps/bing points: which projection?

I am trying to use data imported through one of the google maps/Bing API, and am confused about the projection. Using the APIs, data comes under a non-geographic format, such as json or xml, try: ...
8
votes
2answers
3k views

Getting US Highway exit geocodes using Google Maps API? [closed]

For our application, we need to get all the US interstate highway exits along with their Geocodes. Can you please explain how to get these using Google Maps API or Google Local search or otherwise? So ...
2
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 -...
2
votes
1answer
898 views

Google violates same origin policy using KML with Google Maps? [closed]

Does Google Violate the same origin policy when it tries to access the KML files from a globally accessible server? The condition for Google maps to display the KML is that it should be globally ...
2
votes
1answer
1k views

How do I embed a KML map using the “new” Google Maps?

I have a KML link that I can use to generate an embedded Google Map using "old" Google Maps and would like to use it instead to create a "new" Google Map embedding. To generate the an "old" embedding,...
1
vote
1answer
3k views

Order of KML Layers in Google Maps API V3

I'm working on a website that when finished will allow the user to turn on and off a number of different KML layers using checkboxes, the layers are parsed through geoXML3 and I want to know how to ...
1
vote
3answers
5k 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
2k views

GeoReference tiff image into the Google map?

I want to Geo-reference a tiff image contain a Map for a specific region, I need to add this region(image) and Geo-reference it on the Google map, SO I can see on the map for the region I select the ...
3
votes
2answers
1k views

Generating random points on a route

I am trying to generate random points on a route from one point to another. What I have till now is, given a source and a destination, I can get a route using Google's API. But how do I get the ...
2
votes
1answer
499 views

Ordering Cartodb torque visualization over Google Maps heatmap layer

I am attempting to create a map with two layers: a CartoDB Torque visualization on top and a Google heatmap layer underneath. So far I have only been able to get them to draw in the opposite order I'...
2
votes
1answer
6k views

Using Google Maps Coordinate System in QGIS?

I have some Points in Shapefile with BC Albers Coordinate Syetem and I need to Project them to Google Maps Lat and Long. I tried to do this by using WGS 84 / Pseudo Mercator EPSG: 3857 and WGS84 ...
2
votes
1answer
3k views

How to obtain to Max zoom levels for Google layer using OpenLayers

I was trying to obtain maximum zoom level ( level 22) for Google street map using Openlayers.layer.google script. The following code does not seem to work. It works to the maximum zoom level when ...
1
vote
1answer
152 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
1answer
759 views

Kml not overlaying onto Google Map

I created a basic dashboard with MVC 4, visual studio 2012, The dashboard displays a Google map. Here is an image of the dashboard: My intention is to be able to take this Kml file: And successfully ...
1
vote
1answer
465 views

Reading terrain data from Google?

Am I missing something or is it not possible to read terrain data (such as forests, roads, rivers, lakes, etc) through google? I'm trying to create an app where you can walk in a scene dynamically ...
1
vote
1answer
1k views

Get every coordinate from an address database

I have a xls database of street addresses. I want to get the latitude/longitude coordinates for all of them. I know very little programming, but I can learn. What's the easiest way of doing this?
1
vote
3answers
478 views

Creating map-based online questionnaire/survey? [closed]

I am planning to create map-based online questionnair/survey for my master dissertation on bicyle safety. What I want to do is, asking my potential respondants to mark their answers by adding pins/...
0
votes
2answers
2k views

GIS Web API - WFS-T Edit

My organization has a asset management application using Google Maps Java API as the GIS viewer. The application does some simple editing/querying on a kml file through html form elements. Instead ...
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 ...
0
votes
2answers
4k views

Leaflet : How to update polyline ? Live Tracking

var ColorVar = '#bd0026'; var firstpolyline = new L.Polyline(polyList, { color:ColorVar, weight: 8, opacity:0.8, smoothFactor: 1 } ); ...