Languages
2 gist results
2 gist results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewport:Rectangle = new Rectangle( 0, 0, 500, 800 ); | |
NativeMaps.service.addEventListener( NativeMapEvent.MAP_CREATED, mapCreatedHandler ); | |
var success:Boolean = NativeMaps.service.createMap( viewport.width, viewport.height, viewport.x, viewport.y, MapType.MAP_TYPE_HYBRID ); | |
if (success) | |
{ | |
trace( "Map creation started successfully" ); | |
} | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<application xmlns="http://ns.adobe.com/air/application/16.0"> | |
<id>com.distriqt.test</id> | |
<filename>TestNativeMaps</filename> | |
<versionNumber>0.0.1</versionNumber> | |
<name>Test Native Maps</name> | |
<description>distriqt // NativeMaps Test Application</description> | |
<copyright>2014 distriqt //</copyright> | |