google-maps

getting googlemaps to accept a local KML file?

Hi all. I am trying to get googlemaps to accept a local KML file. final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("geo:0,0?q=file://" + Environment.getExternalStorageDirectory() + "/locate.kml")); startActivity(myIntent); The file is on the SD card, and is a valid kml file. Googlemaps loads up, but sa...

Rolling an image partially like in google maps

Can someone tell me how I can realize the rolling / unrolling animation as in google maps for iPhone? Thanks. ...

Google Maps API enableScrollWheelZoom() - why does it not zoom out correctly?

So I've got an issue with a Google map using custom tiles, but I've managed to simplify it to the example below. Taking the simple example Google provide with controls I've added the line map.enableScrollWheelZoom(); This gives me the simple HTML: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1...

iphone mapkit drag and get center location

HI, I have a Mapview with some marker points + a marker for current location. Now, what I want to do here is, when user drag or traverse through mapview, I want to find coordinate (latitude, longitude) of the new center location after map has been dragged. I want to clarify once again, I am not talking about dragging the marker/point,...

Google Maps: How can I change the z-index of a Marker?

There are about 100 markers on a google map plus there is one special marker that needs to be visible. Currently, the markers around it hide it totally or partially when the map is zoomed out. I need that marker to be fully visible and I think keeping it on top of all other markers should do the trick. But I cannot find a way to modify i...

Use Google Maps to search on a user defined map.

Hey Guys, I am creating an application to search for all drama theaters in my state. I collected the geo coordinates for the same and also created the KML which was then uploaded to my maps and I now have the respective map id. Application is being created using PHP / Zend and I would like to invoke the Search API using a server-serve...

Calculating Google map's viewport?

Hi, I'm doing a bit of geocoding using Google Local Search and need to be able to set the viewport of a google maps api v3 object on the page. Now this is fine if google local search has returned me a good viewport as it does for a postcode or street but if i put in the name of a bar for example. The viewport returned is very large pre...

How can I determine the instant a function is loaded?

I am using the Google Maps JavaScript v3 API. The maps library takes awhile to load; however, certain functions load before others. How can I programatically determine the instant the getBounds function is ready for use from the Google Maps JavaScript library? UPDATE: Is there some type of event I could create to run once getBounds i...

Echo styles into the mashup of a google map and wordpress custom fields

Using wordpress, I am pulling in a custom fields from specific posts to fill in the content for a google generated map. I am using this code var point = new GLatLng(48.5139,-123.150531); var marker = createMarker(point,"Lime Kiln State Park", '<?php $post_id = 182; $my_post = get_post($post_id); $title = $my_post->post_title; ...

No corresponding geographic location could be found for one of the specified addresses. ... Error code: 602

Hi All! I started working on google maps from 10 days ago. Am facing problem in google directions. I want google directions on each marker on map. I tried to implement last night but it giving me entitled Error 602. My code is as under: var mapAll; var gdir; var geo; function loadAllMap(divMapId){ m...

Get points from a Gdirections route

Hi, I'm trying to get a collection of points (latitude,longitude) between 2 adresses. The points needs to be on a valid tracfic route. I currently use Gdirections to create a route between 2 adresses. Is there a method to get somepoints allong this route? To me it seems impossible... thx in advance! ...

Why does a pin placed at the same latitude and longitude in MKMapView differ from one in Google Maps?

I drop a pin in an MKMapView with longitude and latitude. When I place same longitude and latitude on google map the pin on both are slightly different. ...

Google Maps V3 Route Destination Mark Edit

Hey Guys, Using the google.maps.DirectionsService.route() and google.maps.DirectionsRenderer.setDirections() method, is it possible to change the text on the info window for the destination, without creating a custom parser for the journey? I couldn't see anything in the API which allowed you to access the markers of the route. I don'...

Calculate distance and duration through in Google Maps

I need to calculate the distance and the duration through geocodes using Google Maps (within India). Any code or solution would help. ...

Google Maps distance to sea coast

Given just one point in Google Maps, is there anyway to know the distance to the nearest point in the coast (that is the minimun distance to the sea), and which point in the coast it is? Thanks in advance. ...

Can Bing or GMaps API do a "find my nearest" style search using a supplied XML/RSS collection?

Can either Bing or Google Maps allow you to pass in a collection of points and then interrogate that collection to only plot the X nearest points? I am asking because it may be difficult to pre-filter this data and would be much simpler to supply the entire list and filter it within the API itself. ...

Show google maps on mobile website

Is it possible to add google maps on a site designed specifically for the iPhone? I have never integrated maps in my websites before, so this question really goes more because of my inexperience. Using basic html and javascript at the moment. ...

How to get the street and label layers only when using Google Map?

We have access to local Aerial photography that is higher quality and more up to date than Google Maps Satellite layer. We want to display our imagery with Google streets and labels on top. So I really wanna know is there any possible way to use Google Map with the Satellite layer replaced? ...

How do I Geocode 20 addresses without receiving a OVER_QUERY_LIMIT response?

Using the Google Geocoder v3, if I try to geocode 20 addresses, I get a OVER_QUERY_LIMIT unless I time them to be ~1 second apart, but then it takes 20 seconds before the markers are all placed. Is there any other way to do it, other than storing the coordinates in advance? ...

Google Maps API Terms of Use

When reading the terms for google maps api, I'm getting a little confused and I hope someone could clear it up. The terms state that you cannot do real time tracking or asset tracking. What does this really mean? Are they saying, you cannot use google maps api from the GPS device itself? Meaning I cannot show a blinking dot on a goog...