An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
0answers
2k views

How to create a Google Maps with draggable routes with fixed markers

I have a webapp where I show a route on a map, I pass two address and show the route on map, so I'd like that this route should be draggable but the points A and B shoud be fixed. How to do this?
1
vote
0answers
2k views

Google Places Autocomplete Limit Suggestions to Local Area

I'm not sure if this is the right place to ask, but can I limit the suggestions that Google Places Autocomplete find to say 5 km of a certain location? If I'm in Dublin I don't want to see suggestions ...
1
vote
1answer
2k 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
0answers
288 views

Detecting If A Coordinate Is Near Polygon Edges In Google Maps API

Is there a way to add a test to see if a Lat/Long coordinate is near the edge of a polygon? I am building very complicated polygons that have rivers and roads as borders. Because of this, it is very ...
1
vote
0answers
361 views

Avoid backtracking while creating loop in Google Map API 3

I am trying to build a solution where i would create loop by google map. My first and only business rule is there should not be any repeated route. But with my demo ...
0
votes
3answers
1k views

OpenLayers 2.13.1 - Google layers

I'm following the examples of a free on OpenLayers, in the code below I am calling various layers of google maps api. Have checked with the code book and is correct but nothing appears on the broswer ...
0
votes
3answers
4k 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, ...
0
votes
1answer
59 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 ...
0
votes
1answer
154 views

simulation in a google map

i tey to make samething like this site but i dont know how , i have find from google api this to but how i compine the animation site because i have not the coordinates of the routing of the this ...
0
votes
2answers
732 views

How to Resolve Inconsistent OpenLayers vector position Over Google map [duplicate]

I have an OpenLayers map with a Google base layer and an OpenLayers vector layer on which people can draw their own bounding boxes using the DrawFeature control. I have found that, as you zoom in, ...
0
votes
2answers
216 views

How to use Google Maps for more than just an overlay

I'm using ArcGIS Desktop 10.1 SP1 and I have defined the anuual risk of accidents for each segment of a city road network. I would like to know if anyone tried to do more than overlay on GoogleMaps ...
0
votes
2answers
1k 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
2answers
778 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 ...
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
2answers
796 views

Unit of Google Maps API geometry services

When i call the method google.maps.geometry.spherical.computeDistanceBetween(from, to); it returns a number, is this distance in KiloMeters or Miles?? How can we find this and doc on this API?
0
votes
1answer
3k views

Can I get the coordinates of country borders from Google Maps?

I need to get the coordinates of a country's border (e.g., Iraq) from Google Maps. How can I do that?
0
votes
1answer
645 views

How to convert Singapore Onemap Co-ordinate to Google maps co-ordinate system

I have to fetch few 3000 co-ordinates (I am Geo-coding ) and convert it into Google map co-ordinate system. Following is the process I am doing I am calling Mapone.sg API for geo-coding in return ...
0
votes
1answer
469 views

Google Map layer loads tiles even if this layer is disabled in OpenLayers

Sorry for cross posting I've asked this question in OL mailing list, but not get response yet. It is very important for me to resolve this issue. I've made a little example that reflect my problem. ...
0
votes
1answer
38 views

moving user by gps and show interested points

Is it possible in a Web application with google maps, to use a user his mobile gps and when move and is near on an interest point such as hotels, interested point i have stored in a Postgresql ...
0
votes
1answer
53 views

Google Maps API v2 and Maps engine

I´m researching on the options in drawing shapes on Google Maps with API v2 and Google Maps Engine. I´ve managed to set up the admission to draw a viewed layer on my setup on my site. Does anyone know ...
0
votes
1answer
130 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 ...
0
votes
1answer
729 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 ...
0
votes
1answer
710 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 ...
0
votes
1answer
134 views

CRS of QGIS bounding boxes

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
990 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 ...
0
votes
1answer
90 views

Draw Complex shapes

Is it possible to draw complex shapes (polygons) like below image, combining lines and arcs. It is more like a Land Survey plan. So I have coordinates of each point and in case of arc - Radius, Chord, ...
0
votes
1answer
45 views

Commercial Admin Levels

I'm looking to find commercially available admin boundaries (0 through lowest available) for the world that I can place into a user-friendly interface that allows the non-technical user (ie someone ...
0
votes
3answers
625 views

ST_transform postgis

SQL within that zone is a point SELECT "public".zona.zts FROM "public".zona WHERE ST_Within ( ST_Transform ( ST_GeomFromText ( 'POINT(-30.033514 ...
0
votes
1answer
717 views

Custom Buttons for Google Drawing Manager

can we design my own custom button for the Drawing manager? According to API https://developers.google.com/maps/documentation/javascript/reference#DrawingManagerOptions we can customize only the ...
0
votes
1answer
956 views

Uncaught ReferenceError: GEvent is not defined after migrating to google map api v3

I have managed to change the needed things, but I get the error from the title in the console, and I cannot figure it out what else needs to be done. any ideas? This is my code(if you paste it and run ...
0
votes
1answer
329 views

I can not override my WMS layer in Google Maps as a base

I can not override my WMS layer in Google Maps as a base: I have a WMS layer in geoserver am using openlayers to show them. Calling only works WMS layer:   see my code, I am using using the bounds ...
0
votes
1answer
270 views

Google maps api + Open layers

I need to open google maps in Latitude: -30.0330600 Longitude: -51.2300000. We report that the object map or call the api? <!DOCTYPE html> <html lang='en'> <head> <meta ...
0
votes
1answer
580 views

how to create temperature heat map on a web?

I'm work on a website of weather data . I need to make heat map with temperature data to show the status of temperature in the state my data(lat,lng,temp), I'm trying to work with Google maps but it ...
0
votes
1answer
184 views

What is issue in this request to Google map engine API

i want to use the batchInsert of google map engine, i am calling this with dojo/request ...
0
votes
1answer
363 views

Can I use google api or google maps in web application developed with arcgis api or esri technology?

I need to know that is it possible to use google map (as a basemap) and its GIS functionalities(like find/search features) in my web application developed with arcgis api for ...
0
votes
1answer
497 views

Auto Generate kml files along the roads for more than 8 points

What I am trying to do: Auto Generate kml files for bus routes. Input: Bus stop list for each route with name and lat/long (every list has more than >30 bus stops.) Output: kml file of the route ...
0
votes
1answer
2k views

Sample JSON code to get latitude and longitude values from Google API geolocation

I'm a fresher in JSON coding. I got a sample Google API geolocation console from https://developers.google.com/maps/documentation/business/geolocation/ site. {'cellTowers': [ { 'cellId': ...
0
votes
3answers
211 views

Get google maps small portion for offline application

Can some body help me in downloading some portion of hybrid maps of google as I want to store them in my server and display them on web application using openlayers so that the user will only have ...
0
votes
1answer
338 views

How to control opacity for kmz files in google maps api

I need to load several kmz files at one time via Google Maps API, and want to control the opacity for some of the kmz files. Is there a way to do it? I checked ...
0
votes
1answer
98 views

Fusion table styling

I am importing data from fusion table data as a layer. but the colour i used in fusion tables is not reflected in my map. it by default remains red small icon. Please let me know if I am doing ...
0
votes
1answer
198 views

Display Lat/Lng coordinates from Oracle DB with ArcGIS HTML5 component

We have some experience in using ArcMap and ArcSDE, but this dates back to 2008, so we're not up to date with the recent developments in ESRI products. Now we're dealing with a database that has some ...
0
votes
1answer
624 views

Reverse geocoding polygon co-ordinates?

I have a large dataset of polygons for property sections that I need to reverse geocode. It was recommended that I use a GIS like Quantam to do this however from my research I am not 100% sure if a ...
0
votes
1answer
11k views

Google Map - display specific markers popup using a list of markers

I have the following code: <script type="text/javascript"> window.onload = function() { // Creating a new map var map = new google.maps.Map(document.getElementById("map"), { ...
0
votes
1answer
839 views

Reference materials for learning Google API V3 with PHP and MySQL (tracking)

I am new to this Google API. Now i wanted to learn Google API with PHP and MySQL. Actually i wanted to create an application that will track x,y coordinates coordinates on real time bases for ...
0
votes
1answer
831 views

Can I reset “latlng” coordinates on Google Maps?

I have made a custom map type using the Google Maps API. I have used maptiler to create the different zoomlayers and the 0 layer (really zoomed out) is a 256 x 256 tile. The image only covers 134 x ...
0
votes
1answer
114 views

How to get nearby tiles from a location?

I want to get the tile in which a particular location lie and also its nearby tiles. Is there any google map api which could return this information.
0
votes
1answer
37 views

How to identify train stations from (vague) codes?

I'm trying to identify and geocode several train stations based on location codes that were supplied to me. Most of them take the form "CCSSS" where "CC" appears to be an abbreviation for a country ...
0
votes
0answers
10 views

How to find one polyline of google map overlaps other polyline in map?

I have two routes let's say route 1(Location A to F) and route 2(Location B to E) in Google map. How could i determine route 1 includes route 2? Here route 2 is shorter than route 1 so, coordinates ...
0
votes
0answers
17 views

google maps api with polyline not displaying lines

I converted shape files into mysql table that has features like LINESTRING and MULTILINESTRING. I am using google maps api ( var shape = new google.maps.Polyline({path: ...
0
votes
0answers
38 views

Parsing geocoded data using python

I am trying to create a .csv file of parsed information of geocoded data from the google API geocoding service. I want to parse out the address information to be in separate columns. My script runs ...