An application programming interface specific to Google Maps.

learn more… | top users | synonyms

1
vote
1answer
1k views

How to obtain to Max zoom levels for Google layer using Open layers

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 Var ...
1
vote
2answers
2k views

how to replace GTileLayer in google maps API v3

I need to port code of one application written in Google Mapa API v.2 to API v.3. There is several layers taken via TMS, that are displayed using GTileLayer class. It is as simple as: var ...
2
votes
2answers
489 views

Do the recent developments in the Google Maps API replace necessity of OpenLayers?

I think the main drawback of the Google Maps API is that we can't add our own vector data or raster imagery as one of the layers in the map. Is this correct? Or is there any alternative in the Google ...
0
votes
0answers
519 views

Python package for Google Maps API v3?

I am looking for a Python package that can generate the JavaScript to display Google Maps API v3. I would like to integrate such package into a django website. I know pymaps exists but it's for ...
2
votes
1answer
910 views

Openlayers Transform not transforming a point from EPSG 27700 to EPSG 4326

I am trying to add Google street view functionality to a Openlayers Map. I have started by using 3 divs to hold the Openlayers Map (which uses a local tilecached base map), a google api map and ...
2
votes
1answer
850 views

Google Map API Drag event..?

The below code is working perfectly on click event to retrieve Lat/Long and Current Zoom level. How do I get the same when I hover mouse/drag on map Window (not on submit button)? <!DOCTYPE ...
1
vote
1answer
1k views

Initializing Google Maps Streetview object looking at the position

I have a streetview included in my web site using google API to load it. var theloc = new google.maps.LatLng(lat, lon); var panoramaOptions = { addressControl: false, position: theloc, pov: { ...
5
votes
2answers
520 views

How to achieve an “inner glow” effect on polygons drawn using the Google Maps v3 javascript API?

Is it possible to produce an "inner glow" effect on polygons drawn using the Google Map v3 javascript API? If not possible using the vanilla Google Maps API, is there a 3rd party tool that can do it? ...
4
votes
1answer
3k 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. ...
4
votes
1answer
464 views

How to find the nearest polygon from a given point?

Basically I have set of points [lat-long pairs] which defines different polygons on map. Now I have a coordinate [lat-long] from which I want to find the nearest polygon from that point. Any help ...
4
votes
1answer
469 views

Existing ArcGIS Rest Services - What platform to use for building mapping application?

I have clients that have an existing ArcGIS Server. Map layers are published as rest services and I am going to build a mapping application that displays their datasets. Functionality should include ...
9
votes
4answers
265 views

Google Maps and Search for KML URL

Can anyone tell me how I could add the functionality as seen on google maps that allow users to specify a URL to a KML file in the search bar? I would like to include this in my own embedded map but ...
4
votes
1answer
3k views

Arrowhead in polyline google map v3

I would like to create a map, that shows a vehicle traveled path. The map should shows arrowhead for each turning. I need to show the map like this. I can create the map by following code var ...
2
votes
2answers
169 views

How to add data from a Google map as layer in ArcMap using C#?

A want use C# to write a tool: add data google map as a layer in ArcMap. I am using Arcgis 10.0. Can you help me. Thanks and regards.
2
votes
2answers
346 views

Accessing KML for Google Map API using Google Fusion Table

I am trying to host my KML file on fusion table so that I have dynamic control over my KML file and I am trying to access same as in public URI as an parameter in the Google Map Java Script . I am ...
1
vote
0answers
636 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 ...
2
votes
1answer
385 views

OpenLayers Vector Layer not aligned with Google Oblique Imagery

Check http://jsfiddle.net/vasile/BKvcX/6/ In the first map, the yellow line should follow the street curve, however if you pan the map up-down, you clearly see the misalignment due to what ? ...
1
vote
3answers
3k views

How upload KML from your local disk using Google Maps API?

I am trying to get load my KML from my local disk with given below code : <script type="text/javascript"> function initialize() { var mapOptions = { center: new ...
2
votes
0answers
146 views

Can markers changes undo through history/revert to original?

I'm a contributor to a food foraging map and found that many markers are in the ocean. I then also noticed that I had an undo at the top of gmaps and realised I'd moved 5 trees trying to get to my ...
2
votes
2answers
299 views

How to use fusion tables to query data

I have two datasets on fusion tables. One is a points layer (libraries) and the other is a polygon layer (land parcels). How do I design a query using Google Maps/fusion table to figure out this ...
3
votes
0answers
60 views

Can a google calendar go on a map?

Can a google calendar go on a google map? Is there a GeoRSS that can be consumed? Thanks! -mb
2
votes
0answers
147 views

How to identify each circles in Google Maps API?

By the Google Maps Drawing API, I can create lot of circle and other shapes. addListner method helps to get the radius, latitude and longitude of the circle. Now I want to identify each circle for ...
1
vote
1answer
327 views

Google maps api, several moving markers using a csv file containing the coordinates

I collected 5 sets of coordinates of moving vehicles and I want to play the scene using googlemaps API showing those 5 vehicles moving. The sets are saved in a postgresql table. is it possible ? if ...
3
votes
0answers
36 views

Can I create a Styled Map for only one section of Google Maps?

I have been reading everything I can to find out how this can be done. It looks like the styled map applies only to the whole map, and I can't find a way to only apply it to a certain polygon region. ...
0
votes
1answer
4k 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"), { ...
2
votes
0answers
375 views

how to show information window for the marker cluster

This is my markercluster code : i need information window for the markercluster icon as well as marker icon, i have another cluster.js file, can some one please tell me how can i show the information ...
3
votes
2answers
1k views

Can I use Google Maps API and substitute Openstreet map as base layer?

This Question is based on below requirements. 1 - our application will need to use functionalities of Google Maps API like custom marker/Info pop up/Routing etc. 2 - our application wants to use ...
3
votes
3answers
2k views

Google Geocoder Lookup get postal code by country and city

I'm currently using Google Geocoder API to determine location data for my web service. It's important for me to get the postal code for a given country and city, but it's look like that Google is ...
2
votes
1answer
136 views

When was the Google Earth API launched?

Do you know the date when google launched that API: https://developers.google.com/earth/
0
votes
0answers
2k views

I am trying to put autocomplete of Google API V3 for places, but giving some error

I am trying to put textbox within the infowindow which is working fine in order to get direction and route. And now i want to make textbox autocomplete for google api places. I have ref this link ...
1
vote
1answer
385 views

geoxml3 parseKMLString function not working?

I am unable to use Parser.parseKMLString(). Its giving me a error saying Parser.parseKMLString() is not a function. What i am trying to do is, read the KML file on the server and return the entire ...
3
votes
0answers
429 views

How Do i Secure My KML files for a rails application?

I would want to keep my KML files to be secure or password protected. I am keeping them on a public server, and i dont want them to be accessible to anyone. I am using geoxml3, so any lock applied to ...
2
votes
0answers
493 views

egeoxml vs geoxml

What is the difference between egeoxml and geoxml? What i know is both are client-side parsers and both allow me to edit the kml files on the run. I guess egeoxml is an initiative by google itself ...
2
votes
1answer
450 views

KML with Google Maps : Google violates same origin policy?

Doesn’t 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 ...
5
votes
1answer
7k views

Create drive time polygon around a map point

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 ...
1
vote
1answer
2k views

Google Maps Ground Overlay: How to calculate bounds?

I'm working with the Google Maps API for the first time and I'm trying to append a simple image of a Building on top of my current map view. This seems to be very straight forward when I look at the ...
0
votes
0answers
330 views

How draw a route in Google Maps as i goes on clicking on Google map

I wanted to get route in google map as i click on ROADMAP of google. I mean by click, I can click one place then other and so on, but route to each click must be generated from previous click. Route ...
4
votes
1answer
9k views

Drawing polyline that grows as the car moves by taking data from MySql and PHP in Google API

I wanted to show the polyline on google Map as car moves with animation (like in this site: http://econym.org.uk/gmap/example_cartrip2.htm) by taking data from MySQL and PHP. For that i refered the ...
0
votes
1answer
670 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
627 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 ...
14
votes
3answers
476 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 ...
6
votes
1answer
277 views

Trigger geocoding without having to visit page

I'm using Google's geocoder to store results in database then display them on a map on another page. The problem is that each company profile page needs to be visited before it's geocoded. Is there a ...
2
votes
0answers
645 views

Dynamic Contour generation and project on google maps

Is it possible to generate contour map layer at runtime and overlap or project on google maps. I am using google map api v3 and want to generate contour map layer using data from sql server and ...
5
votes
1answer
4k views

Build your own Street View with Google Street View API

Is there is a way to upload my own panoramic images of our hours/building using Google Street View API, then use Google Street View Engine to navigate through them?
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
1answer
707 views

Offset Google markers at the same address

What can I incorporate into my current code below to offset markers, as markers at the same address don't show. Here's example http://www.mediwales.com/mapping/test UPDATE: I've changed the way the ...
2
votes
1answer
2k views

How to get the mapserver url from ArcGIS Server

I have been creating some web-map applications using GoogleMaps Javascript API v3. I've been bringing in tiles from ArcGIS servers which is really easy using the API. The code below loads a sample ...
2
votes
1answer
617 views

How to convert GTFS to XML or JSON?

Do you know any tool that provides that? I need to manipulated GTFS file but I would like to have data available in any well-known format like XML or JSON. EDIT GTFS are Google Transit Feed ...
3
votes
0answers
326 views

All latitude and longitude within 1 mile circle area

I am trying to generate pins over the map of my database coordinates by using fusion table and I want to generate only within 1 mile area circle around the specific location. To get 1 mile area's ...
3
votes
4answers
4k views

Can I use the Google Geocoding API to parse and standardize address data?

I need to parse single-field addresses into multiple fields such as address number, street name, street type, etc. Esri has the Standardize Addresses tool in the Geocoding Tools toolbox, but I am ...