well... GM show into P2VR... it's good - http://www.mmgfx.com/rs02_.swf
with simple code via external connect (from http://code.google.com/intl/en/apis/map ... flash.html)
Code: Select all
import com.google.maps.controls.MapTypeControl;
import com.google.maps.controls.ZoomControl;
import com.google.maps.InfoWindowOptions;
import com.google.maps.LatLng;
import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.MapMouseEvent;
import com.google.maps.MapType;
import com.google.maps.overlays.Marker;
import com.google.maps.overlays.MarkerOptions;
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Point;
var map:Map = new Map();
var marker:Marker; // marker
//map.addControl(new ZoomControl()); // zoom
//map.addControl(new MapTypeControl());// map type
map.key = "Y_KEY";
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(51.128829,71.427108), 14, MapType.NORMAL_MAP_TYPE);
// marker
var marker = new Marker(new LatLng(51.128829,71.427108), new MarkerOptions({
strokeStyle: {color: 0x000000,alpha: 1},
fillStyle: {color: 0xFFFFFF,alpha: 0.6},
label: "o",
labelFormat: {bold: true},
tooltip: "This is a marker",
radius: 24,
hasShadow: true,
clickable: true,
draggable: false,
gravity: 0.5,
distanceScaling: false
}))
marker.addEventListener(MapMouseEvent.CLICK, onClick);
map.addOverlay(marker);
}
function onClick(e:Event):void {
marker.openInfoWindow(new InfoWindowOptions( { content:"enter" } ));
}
Any help would be greatly appreciated!
tips - http://gmaps-samples-flash.googlecode.c ... ustom.html
Flash GURU!!! please help
Thnx