topical media & game development
actionscript-map-umap.ax
actionscript-map-umap.ax
[swf]
flex
package {
import flash.display.Sprite;
import com.afcomponents.umap.core.UMap;
import com.afcomponents.umap.types.LatLng;
import flash.display.StageScaleMode;
import flash.display.StageAlign;
public class @ax-actionscript-map-umap extends Sprite
{
private var _map:UMap;
public function @ax-actionscript-map-umap()
{
_map = new UMap(); // com.afcomponents.umap.providers.*
//stage.scaleMode = StageScaleMode.NO_SCALE;
_map.setSize(800, 600);
_map.setCenter(new LatLng(52.33313628963941, 4.865913391113281), 12);
_map.setZoom(15); // explicit
addChild(_map);
}
}
}
(C) Æliens
27/08/2009
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.