maps

Retrieving the list of markers loaded from a ggeoxml

I need to get the list of markers after I load them on the map from a kml file with map.addOverlay(geoxml); I tried this geoxml = new GGeoXml("http://www.mydomain.com/mykmlfile.kml"); GEvent.addListener( geoxml, "load", function( ) { if ( geoxml.loadedCorrectly( )) { var markers = geoxml.overlayman.markers ...

Do Google Maps Flash API Markers fire an event when added to the stage?

With the Google Maps Flash API, I want to add an event listener which fires when the Marker is added to the Map using map.addOverlay(); Event.ADDED_TO_STAGE is not fired, though it seems logical. What are the alternatives? ...

Casting problems with Google Maps API

Hi there, I'm trying to run the following line: Directions.loadFromWaypoints((Waypoint[])waypoints.toArray(), opts); But I'm getting: 23:41:44.595 [ERROR] [carathome] Uncaught exception escaped java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lcom.google.gwt.maps.client.geocode.Waypoint; at com.presasystems.g...

unable to load SWC YahooMap.swc

I downloaded the swc file from here: http://developer.yahoo.com/maps/flash/flexGettingStarted.html And put it in my flex 3.0 lib folder - just like where all my other 3rd party libraries are in place, however with the yahoo flex map lib, i get that error. Any ideas? Appreciate your help, thanks. ...

Determine the State given a Lat/Long using Google API in android

Is there a way to determine the State in which a given Lat/Long resides using the Google Api in Android? thx ...

Bing maps silverlight control pushpin scaling problems.

Basically my problem is that i've adapted a piece of code found here http://social.msdn.microsoft.com/Forums/en-US/vemapcontroldev/thread/62e70670-f306-4bb7-8684-549979af91c1 which does exactly what I want it to do, that is scale some pushpin images according to the map's zoom level. The only problem is that I've adapted this code to...

Google Maps API - Get points along route between lat/long

I have a web site that I am trying to get completed and I need to have the user click points on a map and then work out the route on the roads between the two points. So the user clicks the first point on 1st street, and then clicks another point on 4th street, and the map will find the best way to get there and plot the route on the ma...

GoogleMaps API draw polygon over a complete town

Hello SOers, I'm wondering if it's actually possible to draw a polygon over a complete town with the GoogleMaps API V3 or the V2? If so could you please give an example on how to do it (choose your favorite town :)). I've some difficulties understanding this API. Thanks. ...

Performance of map overlay in conjunction with ItemizedOverlay is very poor

I am trying to display one png (drawable) on a map in about 300 points. I am retrieving the coordinates from a Sqlite table, dumping them in a cursor. When I try to display them by parsing through the cursor, it takes for ever for the images to be drawn, about .5 second per image. I find that to be suspiciously slow, so some insight on h...

Auto-size zoom on Google Maps in java? (depending android screen resolution)

Hey guys, i've got 2 GeoPoints given to show them on the map with markers... so far so good... how can I get the optimum zoom level for the MapController in order to focus the middle of both points, but also have them on the map. The whole thing should work at different screen resolutions. Sorry for asking that silly question, I know...

WPF / Silverlight - Mapping API

I am about to start on a project where I need to display maps with cross streets and possibly directions. I know there are a lot of API for the web, but I was wondering what the best solution is for a desktop application. I know of Bing Maps and I believe there are some Google Maps solutions out there as well. Any help or information...

get adress from reverse geocoding

hi, in my application, i got a map that show the location of the user. But i also need to get the exact adress of where he is and put it in a string. Any idea how it works? thx ...

Double Tap -> Zoom on Android MapView?

Hi guys, after a little bit of work my route application works fine :) The only thing I just want to add is a double tap zoom in function, but I don't know how... could you give me a hint? nice greetings, poeschlorn ...

How can I fetch Google static maps with TIdHTTP?

I'm trying to return content from maps.google.com from within Delphi 2006 using the TIdHTTP component. My code is as follows procedure TForm1.GetGoogleMap(); var t_GetRequest: String; t_Source: TStringList; t_Stream: TMemoryStream; begin t_Source := TStringList.Create; try t_Stream := TMemoryStream.Create; try ...

Drop pin in MapView

I readed this: http://stackoverflow.com/questions/2683287/drop-pin-on-default-google-maps-in-android and do all the same. But there is no pin droped on the map, after i call: startActivity(new Intent(Intent.ACTION_VIEW, uri)); The map centered on that uri-location, but no any pin dropped on the map. So, there is a question: How to drop...

calling facebox in a google maps balloon

Hi Guys, I have a gmap balloon. var marker = createMarker(point, '<div style="width:240px" id="mapsball"><h2>Splash of London</h2><img src="_assets/images/themes/shop.jpg" id="mapThumb" width="100" align="right" /><p>110-112 Hoxton Street</p><p>London</p><p>N1 6SH</p></div>'); map.addOverlay(marker, icon); and a facebox attached...

accessing google maps via UIWebView - illegal?

New to iPhone development. Working on first app. I'm accessing google maps via UIWebView to forward geocode an address using "http://maps.google.com/maps?q=my address". It works, although it has this quirk of requiring you to hit "Back" button and then the "Detail" button (provided by the navigation bar) to get back to the screen from...

how to redraw markers without redrawing the map? google maps.

I currently have a implementation where some markers coming from JSON list is shown, on a particular area, Now I want to filter these marker depending upon some criteria, I have done the filtering part, and got the filtered list. Now to render this markers on the map again, The current implementation loads the js with a key again, also c...

Is there a way to create custom pathways using the Google Maps API V3?

I need to create custom pathways using the Google Maps API V3 for a map of a campus I know I could create pre-determined paths based on checkpoints that I input, but I need to be able to make it so that a user using the map I've created can click from one side of the campus to the other, and have the option to either follow roads/sidewa...

Using the pre-installed Google Maps instead of an own activity by using Intents?

Hey guys, I just wanted to know wether it is posssible to pass geocoords to the google maps app bis intents or something similar. I wrote an app for displaying route, coords and so on by myself, but wouldn't it be more elegant to ask google maps itself for displaying this? I don't know if this is possible, but maybe, one of you can ans...