google-maps

google maps api v3: where is the load event

Which event will to the same that the load event did on the api v2 spec? Right after the map is initialized, calling to getBounds().getSouthWest() will return null. Thanks ...

How to animate a marker smoothly with Google Maps?

I've written a small algorithm that animates markers' movement from one point to another. The algorithm looks like this in pseudocode: lat_delta = new_lat - old_lat; lng_delta = new_lng - old_lng; for(alpha=0; alpha < 1; alpha += 0.1) { lat = old_lat + (alpha * lat_delta); lng = old_lng + (alpha * lng_delta); update_marker(lat, l...

Controlling the width of a Google Maps InfoWindow

Anyone know how to set the width of the InfoWindow in Google Maps? The infowindow is the cartoon like bubble that pops up when you click on a point in Google Maps. I can control the height via CSS but cannot figure out how to change the width (I want thinner than the default infowindow). I found a reference to maxWidth in the API but I ...

Styling my gmap

Hello Here are 2 maps, 1 a static image and 1 this far I newbie getting styling a gmap accordingly. Could you help making the gmap even more looking alike the static image for instance activating the red parts? Here's the current style var darkStyle = [ { featureType: "all", elementType: "labels", stylers: [ ...

how to read garmin gpx files in iPhone SDK

Hi All, Is there any way to read garmin's .gpx file in iPhone sdk? I want to display trails on google map. Thanks Saurabh ...

How can I use google maps API to return a journey time with AND without traffic?

I'd like a way of being able to calculate journey time WITH and without traffic, so I can work out the difference so I know how much the traffic is delaying you by. Also, is there a way of doing it based on a selected date and time? As I know google has this feature, just not sure if their API has made it available. Is it possible witho...

How to map/plot locations like "5000 block of Q ave" or "200 block of 7th St"?

Block sizes vary wildly, so I can't just always round down, but it doesn't seem like the google maps API understands these kinds of locations. I considered trying to go half way: for example, get the location of 5050 Q Ave for the 5000 block of Q, but blocks are not a regular interval either, nor is spacing on a block constant. I'm pre...

How do I style gmap specifics?

I'm trying to a) coloring points for cities red b) coloring borders between countries yellow c) coloring the text for oceans purple Can you recommend any specifics? Here is my style variable var darkStyle = [ { featureType: "all", elementType: "labels", stylers: [ { invert_lightness: true } ] } , { featureType: "...

Create a pin (with heading and description for Google Maps) which is available for routes

I want to start the Maps application from my app. A pin with a correct heading and description (Address) should be shown on the Google map. Ideally the user should pick up this location and use it for a navigation. I tried this: 1) http://maps.google.com/maps?ll=-33.874559,151.219575 Problem: No pin is shown on the map. The user can a...

Google Maps API, without Login

I have google maps api on my application and I would like to create new maps on google map from my application. I know that this can be done, but you have to login and than data is send to you account. What I would like to do is to send data to just one accout, so that my users will not need to sign in to google. ...

Google Map APi zoom bar not showing.

Google map api is not showing zoom bar and imagetype completely instead it is just displaying plus minus buttons for zoom in and out and drop down for selecting map type. Url is http://booking.smanager.net/design/index.php?lv=2 please see tab "Location". I m using firefox 3.6.10. What might be the reason? var myLatlng = new google.maps...

How to zoom to a place by street name in Google Maps API in Flash?

I'm sorry if I'm asking a basic question, but I can't find it anywhere and I don't understand too much from the provided documentation. Basically, I want to make a *.SWF in which the user inserts an address in the first frame, then in the second frame Google Maps shows that place. The problem is that I don't know how to zoom on a point w...

Google Maps API with Multiple Markers and InfoWindows

I'm making a simple page using Google Maps API 3. My first. One marker with InfoWindow works great. I added a second marker but I can't get each to display its own InfoWindow. I'm sure it's simple but it's not working. function initialize() { var myLatlng = new google.maps.LatLng(37.8736111,-122.4555556); var myOptions = { ...

C# implementation of Google's 'Encoded Polyline Algorithm'

Does anyone have a concise and robust implementation of Google's Encoded Polyline Algorithm in C#? I essentially want the implementation of this signature: public string Encode(IEnumerable<Point> points); ...

Javascript/Google Maps, autocreated combo box failing on second iteration

Hi, I'm quite new to Javascript and the GoogleMaps API.. I have a problem with a map that I'm populating with markers.. I have a combo box that allows the user to select a marker and it highlights the marker on the screen for them by popping up an info box for it. Using Mike Williams excellent tutorial on the google maps API (http://ec...

using google map geocoding service at service side

i wrote the following code to get the coordinate of a address package test; import java.net.HttpURLConnection; import java.net.URL; import sun.net.www.content.text.PlainTextInputStream; public class a{ public static void main(String[] arg) throws Exception{ String address = "台北市信義路五段七號101樓"; // 查詢經緯度 String output = ...

Open maps iphone app from my app, with pin drop at the coordinate

Hi, I'm using http://maps.google.com.au/?ll=, to open maps iPhone app from my app, but it only show the coordinate without the pin drop automatically. How can i make the pin to drop automatically? ...

Can it be done?

Any opinion? Are these cases not possible? a) Color points for gmap cities red b) Color borders between countries yellow c) Color the text for oceans purple ...

Maps in List in a map activity

map activity allows one map in a activity, i have a scenario and hard time implementing it, i have a list of records and for each record i show google map now this is not becoming possible in lmap activity with list having earch row a seperate map?, how can this be achived any recomendations ...

How to set map size in Google Maps API v3?

Hi, I create a map in a div with 'display: none'. With google maps v2 I could set the 'size' parameter to the size of the div once shown, but this 'size' option disappeared in v3 of the API. How can I do that? Thanks Jul ...