private function onShowMap(e:ContactEvent):void
                {
                        map.key = "ABQIAAAAN45cZsvitlu8Cyrsr4sZMBT8jby5V72-
UuNI4LDMui3YS7nn9BQ8gO4auC9ovSFwH2zOCaNYSrp1ng";
                        map.setSize(new Point(stage.stageWidth, 
stage.stageHeight));
                        map.addEventListener(MapEvent.MAP_PREINITIALIZE,
onMapPreIntialize);
                        map.addEventListener(MapEvent.MAP_READY, onMapReady);
                        map.sensor = "false";
                        map.language = "zh-CN";

                        this.addChild(map);
                }
                private function onMapPreIntialize(e:MapEvent):void
                {
                        map.setInitOptions(new MapOptions( { center:new 
LatLng(30.264884,
120.16824), zoom:19, mapType: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.

Reply via email to