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

            
            map = new YCanvasMap(Maps.ARCGIS_IMAGERY, transformation, 256);
            map.addEventListener(CanvasEvent.TRANSFORMATION_FINISHED, onMapTransformationFinished);
            
            transformationManager = Multitouch.supportsTouchEvents
                ? new TouchTransformationManager(map, limit)
                : new MouseTransformationManager(map, limit);
            
            polygonLayer = new MapLayer;
            polygonLayer.addEventListener(TouchEvent.TOUCH, onPolygonLayerTouch);

    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;
