forked from: UMap AS3 test

by makc3d forked from UMap AS3 test (diff: 7)
♥0 | Line 16 | Modified 2015-11-04 18:35:04 | MIT License
play

ActionScript3 source code

/**
 * Copyright makc3d ( http://wonderfl.net/user/makc3d )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/8a3R
 */

// forked from mash's UMap AS3 test
package {
    import flash.display.Sprite;
    import com.afcomponents.umap.core.UMap;
    import com.afcomponents.umap.types.LatLng;
    import com.afcomponents.umap.providers.openstreet.OpenStreetProvider;
    public class UMapAS3Test extends Sprite{
        public function UMapAS3Test() {
            // yay, it still works )
            var umap :UMap = new UMap;
            umap.setSize(565,465);
            umap.x = -100; // look - no logo )
            umap.setProvider(new OpenStreetProvider());
            umap.setCenter(new LatLng(43.238575, 76.854), 15);
            addChild( umap );
        }
    }
}