Changeset 14908 for lang/actionscript/gmapkmz
- Timestamp:
- 06/30/08 17:22:09 (5 years ago)
- Location:
- lang/actionscript/gmapkmz
- Files:
-
- 1 added
- 3 modified
-
GMapKMZ.as (modified) (3 diffs)
-
exl/render/collada/DAEModelRenderer.as (modified) (1 diff)
-
index.html (modified) (2 diffs)
-
states/tw.png (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/actionscript/gmapkmz/GMapKMZ.as
r14859 r14908 227 227 protected function onTextureLoaded(name:String, bmp:Bitmap, count:int):void 228 228 { 229 ttw.drawOnly(); 229 if (isZoomLevelTownLevel) 230 ttw.drawOnly(); 230 231 } 231 232 … … 368 369 var m:M44 = (new M44()).scaleXYZ(sc * placement.scaleX, sc * placement.scaleY, sc * placement.scaleZ); 369 370 370 if ( mGMap.getZoom() > 10)371 if (isZoomLevelTownLevel) 371 372 ttw.viewTransform = (new M44()).mul(m, mViewTransForModel); 372 373 else … … 376 377 mMarkerLayer.update(); 377 378 mPrimaryMarker.visible = mGMap.getZoom() < 13; 379 } 380 381 private function get isZoomLevelTownLevel():Boolean 382 { 383 if (!mGMap) 384 return false; 385 return mGMap.getZoom() > 10; 378 386 } 379 387 } -
lang/actionscript/gmapkmz/exl/render/collada/DAEModelRenderer.as
r14858 r14908 369 369 } 370 370 else 371 { 371 372 g.beginFill(f.p[2].computed_color, f.p[2].computed_color); 373 drawShade = false; 374 } 375 372 376 g.moveTo(tlvertices[0].pos.x, tlvertices[0].pos.y); 373 377 g.lineTo(tlvertices[1].pos.x, tlvertices[1].pos.y); -
lang/actionscript/gmapkmz/index.html
r14859 r14908 117 117 <li><span class="georss-point">35.658629340486 139.745623657545</span><em class="city">TOKYO</em> Tokyo Tower [東京タワー] <a href="./?kmz=tokyo_tower.kmz">tokyo_tower.kmz</a></li> 118 118 <li><span class="georss-point">35.630141251203 139.793801624557</span><em class="city">TOKYO</em> Tokyo Big Sight [東京ビッグサイト] <a href="./?kmz=bigsight.kmz">bigsight.kmz</a></li> 119 <li><span class="georss-point">35.684438490475 139.703118329128</span><em class="city">TOKYO</em> NTT DoCoMo Yoyogi Building [NTTドコモ代々木ビル] <a href="./?kmz=DoCoMo.kmz">DoCoMo.kmz</a></li> 119 120 <li><span class="georss-point">35.902751954477 139.938770481441</span><em class="city">KASHIWA</em> The University of Tokyo [東京大学 宇宙研+総合研究棟] <a href="./?kmz=20060710_GeneralResaerchBuild.kmz">20060710_GeneralResaerchBuild.kmz</a></li> 120 121 <li><span class="georss-point">35.454982716658 139.631430510297</span><em class="city">YOKOHAMA</em> Yokohama Landmark Tower [横浜ランドマークタワー] <a href="./?kmz=LandmarkTower.kmz">LandmarkTower.kmz</a></li> … … 133 134 <li><span class="georss-point">40.75400903371519 -73.98663366992675</span><img src="./states/us.png" class="flg" alt="US" /> Empire State Building <a href="./?kmz=EmpireState.kmz">EmpireState.kmz</a></li> 134 135 <li><span class="georss-point">37.419195704189 -122.081571277003</span><img src="./states/us.png" class="flg" alt="US" /> Googleplex <a href="./?kmz=google1.kmz">google1.kmz</a></li> 136 <li><span class="georss-point">25.0347423815578 121.5615752667699</span><img src="./states/tw.png" class="flg" alt="Taiwan" /> Taipei 101 <a href="./?kmz=taipei.kmz">taipei.kmz</a></li> 135 137 <li><span class="georss-point">48.8743504422775 2.294611089519457</span><img src="./states/fr.png" class="flg" alt="France" /> Arc de Triomphe [凱旋門, 凯旋门] <a href="./?kmz=triomphe.kmz">triomphe.kmz</a></li> 136 138 <li><span class="georss-point">13.41208374802235 103.8651022630147</span><img src="./states/kh.png" class="flg" alt="Cambodia" /> Angkor Wat <a href="./?kmz=angkor.kmz">angkor.kmz <em>(heavy!)</em></a></li>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)