     import sk.yoz.ycanvas.map.valueObjects.Limit;
     import sk.yoz.ycanvas.map.valueObjects.Transformation;
     
+    import starling.core.Starling;
     import starling.display.Image;
     import starling.events.TouchEvent;
     import starling.events.TouchPhase;

package sk.yoz.ycanvas.map.demo
{
    import flash.ui.Multitouch;
    
    import feathers.controls.Label;

            
            map = new YCanvasMap(Maps.ARCGIS_IMAGERY, transformation, 256);
            map.addEventListener(CanvasEvent.TRANSFORMATION_FINISHED, onMapTransformationFinished);
            transformationManager = Mouse.supportsCursor && !Starling.multitouchEnabled
                ? new MouseTransformationManager(map, limit)
                : new TouchTransformationManager(map, limit);
            
            polygonLayer = new MapLayer;
            polygonLayer.addEventListener(TouchEvent.TOUCH, onPolygonLayerTouch);
