i have the simple starting point for a map :
all i wanna do is put on a "zoom in/out" and a standard "marker" with
some personalised text
can anyone do that for me ?
import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.MapType;
var map:Map = new Map();
map.key =
"ABQIAAAA4VURmJWVCIxcSShGXyhXHBTKF6W5Q7EGt8fhGS4MAtlq9morNhSkTxbd6yARnCtDDVFvabKU4D1rdA";
map.setSize(new Point(stage.stageWidth, stage.stageHeight));
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);
function onMapReady(event:Event):void {
map.setCenter(new LatLng(47.349497,5.0419416), 16,
MapType.NORMAL_MAP_TYPE);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---