google-maps

Calculating in which country a coordinate is?

Is there somewhere a base of polylines for download, I need polylines of european countries and a solution in php for calculating in which country a certain coordinate resides. I used google maps api for this till now but it's too slow and I make many requests frequently so I need to do this locally. ...

Slow down my javascript! How to allow my code to wait for transition to complete before executing?

Strange Question i guess but i have this bit of code in my page... $(".map-overlay-left").click(function () { $("#map-holder").hide('slow'); var gmarkers = []; var side_bar_html = ""; var map = new GMap2(document.getElementById('map-holder')); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl())...

how to dispose googlemap object?

Hi, I am using the Google Maps Control for ASP.Net. I am adding one point which is current point of bus & polyline of the points from current point to last 10 points on the page load with showing popup on current point by default. I am using update panel for the the refresh button. There is also one input field which takes number of re...

How can I get lat/lang with Geocode?

I have an address, and now I need to retrieve the Lat / Lang coordinates. At Google, they only have good examples for V2 and not V3. I want to do the following: var myLatLAng = getLatLang(adress); How can I modify this code to make that happend? function showAddress(address) { geocoder.getLatLng( address, function(point) {...

Why do I get "map.set_center is not a function" ?

Hi. This code have been working until I updated last night. The code works perfectly on my localhost, but I get an error on my test server. The error message (from Firebug) is "map.set_center is not a function". So why is this not working on my server any more? function googleMapInit() { if (jQuery('#map_canvas').length ...

Route planning from Pt. A to a list of addresses

I wonder if its possible in google maps to plot a the quickest route from a specific address, Pt A, to a list of destinations i.e. Pt B, Pt C, Pt D etc. And if that's possible is it available thru API ? I'll probably need it in the app I'm developing. Thanks and apologies if this has been asked before ! ...

flash loading "my maps" rss from google maps

Hello there, I creating a flash app that loads a RSS of a plublic map with a custom route path and draws lines from the coordinates on a Away3D Sphere. It works preety well when I'm testing locally, but when I publish online, the app can't load the RSS. I think Google Maps disable access from other domains. Does anyone knows another w...

Silverlight closure with Google Maps

I'm using Silverlight as the client for an application that uses the Google Maps API. I use the HTML bridge to talk to the JS API and that works quite well. One of my issues was that I couldn't use closures. In a full JS environment, I would register an event on the map thus: google.maps.Event.addListener(marker, "click", function() {...

When adding MapView to Android application, get cross-loader exception

Hi, I have a project in Android and I want to add MapView to it. I did the following: Downloaded the Google APIs revision 3. Added the maps.jar library to my project Added the MapView to an activity Created new Virtual Device with target the Google APIs (not the normal target Android 1.5) Started the project When I try to reach the ...

How do I drop a pin with MapKit?

I would like to allow the user of my app to pick a location in the map. The native map has a "drop pin" feature where you can locate something by dropping a pin. How can I do this in MapKit? ...

Is there a google maps java api where i can enter a placename and get the address as result? (geocoding)

Hi i want through Java to geocode a given place or anything similar like "Hungarian National Library, Budapest" or "úri utca, budapest". I want from these to get coordinates (geocoding). I saw that for similar google applications like google translate there is an api for Java (http://code.google.com/p/google-api-translate-java/) Is t...

Google Maps Rendering markers and map center differently in Internet Explorer

Hiya All, I have a strange problem with Google Maps showing differently in IE and the rest of the browser world. I'm testing in IE8 and in IE8 Compatibility view, both show the same, but Safari, FF, Chrome all act fine and as expected. The page i'm working on is this: http://afid.staging.dante-studios.com/ at the front are two place ho...

Google Maps Tile Overlay

I am currently working on google map and new to it.. I want to know is it possible to divide the map into certain tiles with definite height and width and to color them.. If yes then somebody can just explain how to do it as i am facing difficulties. ...

Some Google Map Markers not showing up in Internet Explorer but show up in all other browsers

Hiya All, I have a Google Map on our site that has a list of markers which are brought in using the following code: $(".map-overlay-right").click(function () { var map = new GMap2(document.getElementById('map-holder')); $("#map-holder").fadeOut('slow', function(){ var gmarkers = []; map.addControl(new GSmallMapControl()...

Google Geocoding / Airport Info

Hi, I've been looking for list of types of queries that geocoder supports beyond regular address geocoding. At this time I need to query google for airport locations. I have sumbled upon this document: http://www.ibm.com/developerworks/java/library/j-grails05208/index.html but it mentions no place where I can get up-to-date list of allow...

Google Map with php mysql

hi my problem is i want to show my registered site user on to google map but dont know how to locate the user, means i dont know the latitude and longitude of every user . I am a newbie in google map so plz help Thanks a ton ...

Looking for free, web-based map API recommendations for a future webapp

I'm doing some research for a Maps project I'll be starting soon, and I'm trying to evaluate which of the Map APIs will be best-suited to this project. I've worked pretty extensively with the Google Maps Javascript API, but no others. My basic requirements are, in no particular order: Free: as in beer, not necessarily as in speech. Web...

google map v3- only marker on map

Hi There, Could some one advice, how can i got only one/Unique marker on google map v3. All previous markers should be removed when i create new makrer on map. Thanks ...

Google Maps Api: How to add a marker and speech bubble?

Hi there, I have managed to get a google map on my site using Javascript api of google maps.. and it works great... Can anyone tell me how i can add the Speech bubble and marker ... Pictured here... http://code.google.com/apis/maps/ Basically my site displays a simple map but its missing the marker for where office is and a speech bub...

show google map markers with php

Hi everyone! Im working on a google map project where the user can type in a address and gets the result of nearby restaurants ploted on a google map. So far no problems. I've created a ajax call where the backend outputs and xml and then with jquery I create the markers. But now to my problem. With this ajax solution anyone can ea...