Changeset 2358 for lang/actionscript/swfgmap
- Timestamp:
- 12/03/07 20:22:08 (13 months ago)
- Location:
- lang/actionscript/swfgmap/trunk/gyuque/gmap
- Files:
-
- 3 added
- 1 modified
-
GMapView.as (modified) (3 diffs)
-
GMapViewport.as (added)
-
Layer.as (added)
-
LayerManager.as (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/swfgmap/trunk/gyuque/gmap/GMapView.as
r2346 r2358 8 8 public class GMapView extends MovieClip 9 9 { 10 private static const GOOGLE_LOGO_URL:String = "http://www.google.com/intl/ja_jp/mapfiles/poweredby.png"; 11 10 12 private var txDebugOut:TextField = null; 11 13 private var fmtDebugOut:TextFormat; 12 14 private var mDrag:DragInfo = new DragInfo(); 13 15 private var mBaseSprite:Sprite; 16 private var mLayerman:LayerManager; 17 private var mCurrentViewport:GMapViewport; 14 18 15 19 public function GMapView(options:*) 16 20 { 17 GMapCalc.DEFAULT_TILE_SIZE // 21 GMapCalc.DEFAULT_TILE_SIZE // compile focibly. remove later! 18 22 mBaseSprite = putBaseSprite(); 19 23 if (options.initial_size) … … 34 38 } 35 39 40 mLayerman = new LayerManager(); 41 addGoogleMapLayer(); 42 36 43 hookStdEvents(); 37 44 } … … 43 50 44 51 return s; 52 } 53 54 protected function addGoogleMapLayer():Boolean 55 { 56 var lyr:Layer = new Layer(); 57 mLayerman.push(lyr); 58 59 return true; 45 60 } 46 61
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)