An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
0answers
413 views

Finding and selecting locations in database near 10 km distance from path

In the Google Maps API, I have this Javascript. It is finding and showing user the shorter path between two cities. <!--////// \\\\\\\--> <style> #panel { position: ...
3
votes
2answers
291 views

Setdrawingmode(null) giving Uncaught RangeError: Maximum call stack size exceeded main.js.27

I have my google map codes running for time where I can draw polygon and polyline without issue. Below are my snippet of codes on how I do my drawing. Unfortunately I got this error Uncaught ...
9
votes
6answers
11k views

Google Earth plugin deprecated. Which alternatives? [on hold]

I've got a costumer of mine asking for an integration of the Google Earth Plugin to his website. From Google earth Plugin site I read this: Google Earth Plugin API has been deprecated as of ...
1
vote
2answers
2k 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 ...
1
vote
1answer
241 views

Is the data supplied to Google Maps or leaflet.js javascript rest API is private

I have a dataset which has to be used for internal/intranet web application. Is the data supplied to google map javascript api to draw map as well as to show meta information through markers is ...
2
votes
1answer
139 views

am I setting up data from google geocoding correctly for ST_DWithin search?

Sorry to ask a basic question, but I have not been able to find this laid out entirely anywhere. I am mostly relying on this SO post: What Spatial Reference System do I store Google Map's Lat/Lng ...
0
votes
1answer
184 views

Getting GPS coordinates perpendicular and parallel to AB

I already posted this question here And I got the solution thanks to Fang but the problem is that the coordinates I need to use are GPS coordinates and apparently GPS needs a different formula than ...
2
votes
0answers
51 views

Reverse clip with ogr2ogr

I'm fairly new to GIS, working on a project where I overlay counties on google maps, and overlay cities on top. I'm using fusion tables, and running into Z-index issues. To get around this I'm hoping ...
0
votes
0answers
86 views

Getting coordinates perpendicular to AB

I noticed that Google Mapmaker has a function that when you hold shift when drawing a shape you can see the perpendicular line. I want to recreate this function to use in the google maps api v3. So ...
1
vote
1answer
499 views

cartodb Feature Click with two overlapping layers

We are using Google MAP API V3 and CartoDB. I am trying to create the custom info box window as user clicked on CartoDB points marker. We have two layers on Google map first one for UK wide ward area ...
3
votes
0answers
141 views

Is there a way to expose Spherical Mercator Lat Lon in Google Map API?

The map tiles in the Google Maps are in Spherical Mercator projection (srid 900913), but in the API the methods report coordinates in Lat/Lon WGS84, e.g. map.getCenter(). Is there a way to return the ...
5
votes
2answers
442 views

Why is the Google Maps circle shape not matching to the distance calculated with PostgreSQL?

I am running a PostgreSQL 9.1 Database with PostGIS 1.5 extension. Several coordinates are stored in there with type GEOMETRY (SRID 4326). I'm building a web-application with Google Maps Javascript ...
2
votes
2answers
106 views

Can privacy be achieved when using Bing Maps API (for local authority use case)?

We have recently won a contract to provide a website for project run for a local authority. As part of the website, there should be a page with a simple map showing the project's locations, when you ...
1
vote
1answer
4k views

Using Offline map in Google Maps API for Android without copying tiles to mobile device?

I want to use my own tile maps in google maps api for android .The tile maps are created using ArcGIS for server 10.2 . The cache size is about 400 megabyte .I can't copy the cache in mobile devices ...
0
votes
1answer
330 views

google directions api returns no results

So I am trying to figure out why my api called to maps.googleapis is returning no results. I inputted my exact same queries into google maps (using their interface though, same numbers) and I get ...
1
vote
0answers
238 views

Why is longitude also written as B and latitude as k?

Why is longitude also written as B and latitude as k? I see that abbreviation when working with Google maps API.
2
votes
0answers
137 views

What can I use to calculate drive times /with/ traffic considered?

I am looking to obtain drive times for a large list of addresses and want the results to take traffic conditions into consideration. For example, drive times from a distribution centre to a store at ...
0
votes
0answers
47 views

Which software for mapping connection intensity between locations

The idea is to map the connection intensity (number of rides) between different locations, and groups of locations, in a bike sharing scheme. I wondered if someone could give me high level advice ...
1
vote
1answer
3k views

How to get the name of location in Google Maps?

I am new in google maps api. I want to get location name after user click to that location. I try to find answers in docs, but it so huge. Maybe someone can help to me or just say where in docs I can ...
3
votes
1answer
1k views

Google Streetview API overlays

Does anyone know if I can draw georeferenced polygons in the streetview api. I'm curious to know if anyone has successfully tried this. I see that custom overlays are allowed but I'm not sure if this ...
0
votes
1answer
1k views

Google Maps Api , PHP, Javascript and Postgresq-Postgis

I'm trying to make a web application, where I take the start/end city from a text box, geocode the city, use the coordinates to query my database in PHP, and return the features to be drawn in the ...
2
votes
1answer
260 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 ...
2
votes
1answer
404 views

How to add multiple locations to google map?

Well I am not a js developer, and I want to build a google map with multiple locations. I have a styled google map which looks like this, and I like to add some locations. After some research I found ...
0
votes
1answer
1k views

How to add wms overlay layer to google map

I have a WMS server (using MapServer and Apache on windows). i read this document about Mapserver's Tile Mode and use that's example to overlay my map on Google maps.but not work. my code: function ...
2
votes
0answers
133 views

Overlapping Polygons

I have a project that requires us to plot floods in a certain area, the example below shows the flood areas. What I would like to know is how would I be able to shows these polygons in a better ...
3
votes
0answers
351 views

Hexagon binning using Google Maps

I have a bunch of geolocated points that I am looking to cluster on a google map using hexagons. These clusters will be stored in a db for quick retrieval and will be reduced to a single point and ...
0
votes
1answer
119 views

Load single image by map API and draw overlays

I have an image which I want to make it zoomable and dragable in browser, and draw some overlays like lines and markers on it. So I wonder if I can use the map api like Google map or openlayers to ...
0
votes
0answers
60 views

Integrate leaflet module in a google maps application

Is it possible to use a leaflet application over a google maps application? What I want is to integrate a leaflet module / application over a google maps application just by passing the google maps ...
1
vote
0answers
106 views

InfoWindows in Nested Polygons (Google Maps Api 3)

I have a large polygon with thick borders inside which there are several smaller polygons something like multiple city polygons inside a state border. The problem with this is that the info-windows ...
0
votes
0answers
25 views

Alternative map solutions for a web application behind a paywall (paid webapp) [duplicate]

I am planning to start developing a map enabled application behind a paywall (paid webapp). Since Google requires to license Google maps API for Work (by contacting a representative) I have no idea ...
0
votes
0answers
176 views

sublayers[].hide() Not Working for a Visualization Using Multiple Layers/Tables

I am able to add an additional sublayer (i.e., visualization) to my base map plus base cartodb layer, but when I try to remove it using sublayers[1].hide(), it won't hide them. The visualization I am ...
1
vote
0answers
65 views

Generating a Placemark (Google Earth) via information link

I'm using the ArcGIS JavaScript API. I'd like to have an infowindow pop up that has a link to a downloadable KML placemark. Is this possible without pre-generating thousands of individual KML files? ...
0
votes
2answers
1k views

How to get lat/long of all adresses inside a polygon in google map?

I have several polygon shapes inside a City in Germany. I need to generate Point data of houses inside those Polygons. It is very time consuming to add all the building Locations manually. I am ...
2
votes
0answers
289 views

Comparing mapping APIs

I am planning to write a thesis about mapping APIs and compare three of them (Google Maps API, Leaflet and OpenLayers) or four, if you consider OL2 and OL3 as different APIs. I am planning to make 3 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
2k views

How to remove roads from Google satellite hybrid map in OpenLayers?

I am trying to display Google satellite map in Openlayers. So, I added Google Satellite Hybrid map. My problem is, I need to display labels(like POI, place name etc) but don't need any roads & its ...
0
votes
1answer
112 views

KML Layers suddently not appearing on embedded Google map

I have an embedded map on: http://wtc.army.mil/modules/family%20and%20caregivers/sfacMap.html I am receiving the error below in different forms related to the session id/token trailing after the ...
1
vote
1answer
506 views

Checking whether lat/long is in sea using Google Maps API?

I am using the Google Maps API, in which as of now we are plotting the track of a vessel track, but the system is now allowing us to update even a Lat/Long which is on land. Is there is any way to ...
0
votes
1answer
185 views

CRS of QGIS bounding boxes [duplicate]

I used QGIS to find the extents/bounding boxes of a list of features from census data. I used the following method: Vector - Research tools - Polygon From Layer Extent, which creates a new shapefile ...
0
votes
1answer
1k views

Zip code highlighted in google map

When we search for a zip code in Google Maps we get the area highlighted in the map with a dotted border. How is this calculated? How do they know how to draw the polygon? I'm looking at implementing ...
2
votes
0answers
235 views

How to check if a point is within bounded rectangle from Java

I make an AJAX request to retrieve data from a mysql database. I add the data to google.maps.Data layer as geojson. I would only like to load the data based on the viewport. To obtain the viewport ...
2
votes
1answer
310 views

My woes rendering shape files on web-based mapping application

First, I'd like to let it be known that this is my first journey into developing mapping applications with such a large set of data. So, I am in way locked into the techniques or technologies listed ...
2
votes
0answers
276 views

Formatting Google Places API GeoJSON and Import to QGIS?

Hi Stackexchange I'm trying to export JSON or XML data to my desktop and import it to QGIS. This is the URL I'm using but it appears to be incorrectly formatted: ...
1
vote
0answers
800 views

How to overlay a flat image onto google maps with two points of reference?

The Android API allows for images to be superimposed onto a map. To do so, the developer specifies a set of lat/long coordinates for an "anchor point" within the image, the width (or height) of the ...
2
votes
0answers
659 views

Access traffic data using Google Maps API

The following screenshot shows a traffic filter, adopted in the new Google Maps. Can we implement the similar function using Google Maps API? It looks like that google.maps.TrafficLayer can only ...
2
votes
1answer
103 views

“Window” definition in Google Maps JavaScript API v3

I am trying to use Google Maps Javascript API in a java application through Nashorn (basically lets you run javascript in java). Anyway when I load the API I get an error that "window" is not defined ...
0
votes
1answer
253 views

How to set the zIndex of the 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 ...
1
vote
0answers
77 views

Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3?

Is there any way of knowing what Travel Modes are available for directions between two places in Google Maps v3? Of course, requesting directions for each travel mode and checking which ones return ...
2
votes
1answer
994 views

trigger event on multiple layers at the same time in Googlemaps

Say if I have 3 layers with different table schemas (fields), I pushed all three layers into one array and loop through the array to add listeners to each layer so that everytime I click on the map, ...
1
vote
0answers
298 views

How to Legally Use Google Imagery and Maps in ArcGIS Desktop and Web Applications? [duplicate]

With companies like Arc2Earth and Spatial Energy offering solutions to view Google imagery and maps inside ArcGIS for Desktop, there is clearly a legal way to develop a similar product yourself. My ...