salve ho questo codice as3 ...
c'è la possibilità secondo voi di convertirlo in as2?Codice PHP:import com.google.maps.Map;
import com.google.maps.MapEvent;
import com.google.maps.LatLng;
import com.google.maps.MapType;
var map:Map = new Map();
map.key = "ABQIAAAA7QUChpcnvnmXxsjC7s1fCxQGj0PqsCtxKvarsoS-iqLdqZSKfxTd7Xf-2rEc_PC9o8IsJde80Wnj4g";
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(40.8022,14.1755), 16, MapType.NORMAL_MAP_TYPE);
}
grazie mille![]()

Rispondi quotando
