Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 | |
| 65 | |
| 66 | |
| 67 | |
| 68 | |
| 69 | |
| 70 | |
| 71 | |
| 72 | |
| 73 | |
| 74 | |
| 75 | |
| 76 | <html> |
| 77 | <head> |
| 78 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 79 | |
| 80 | <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> |
| 81 | <title>GroundOverlay | Android Developers</title> |
| 82 | |
| 83 | <!-- STYLESHEETS --> |
| 84 | <link rel="stylesheet" |
| 85 | href="http://fonts.googleapis.com/css?family=Roboto:regular,medium,thin,italic,mediumitalic,bold" title="roboto"> |
| 86 | <link href="/assets/css/default.css" rel="stylesheet" type="text/css"> |
| 87 | |
| 88 | |
| 89 | |
| 90 | <!-- JAVASCRIPT --> |
| 91 | <script src="http://www.google.com/jsapi" type="text/javascript"></script> |
| 92 | <script src="/assets/js/global-libraries-combined.js" type="text/javascript"></script> |
| 93 | <script type="text/javascript"> |
| 94 | var toRoot = "/"; |
| 95 | </script> |
| 96 | <script src="/assets/js/docs.js" type="text/javascript"></script> |
| 97 | |
| 98 | <script src="/gms_navtree_data.js" type="text/javascript"></script> |
| 99 | <script src="/gcm_navtree_data.js" type="text/javascript"></script> |
| 100 | |
| 101 | </head> |
| 102 | <body class="gc-documentation |
| 103 | develop" itemscope itemtype="http://schema.org/Article"> |
| 104 | <div id="doc-api-level" class="" style="display:none"></div> |
| 105 | <a name="top"></a> |
| 106 | |
| 107 | <!-- Header --> |
| 108 | <div id="header"> |
| 109 | <div class="wrap" id="header-wrap"> |
| 110 | <div class="col-3 logo"> |
| 111 | <a href="/index.html"> |
| 112 | <img src="/assets/images/dac_logo.png" width="123" height="25" alt="Android Developers" /> |
| 113 | </a> |
| 114 | <div class="btn-quicknav" id="btn-quicknav"> |
| 115 | <a href="#" class="arrow-inactive">Quicknav</a> |
| 116 | <a href="#" class="arrow-active">Quicknav</a> |
| 117 | </div> |
| 118 | </div> |
| 119 | <ul class="nav-x col-9"> |
| 120 | <li class="design"> |
| 121 | <a href="/design/index.html" |
| 122 | zh-TW-lang="設計" |
| 123 | zh-CN-lang="设计" |
| 124 | ru-lang="Проектирование" |
| 125 | ko-lang="디자인" |
| 126 | ja-lang="設計" |
| 127 | es-lang="Diseñar" |
| 128 | >Design</a></li> |
| 129 | <li class="develop"><a href="/develop/index.html" class="selected" |
| 130 | zh-TW-lang="開發" |
| 131 | zh-CN-lang="开发" |
| 132 | ru-lang="Разработка" |
| 133 | ko-lang="개발" |
| 134 | ja-lang="開発" |
| 135 | es-lang="Desarrollar" |
| 136 | >Develop</a></li> |
| 137 | <li class="distribute last"><a href="/distribute/index.html" |
| 138 | zh-TW-lang="發佈" |
| 139 | zh-CN-lang="分发" |
| 140 | ru-lang="Распространение" |
| 141 | ko-lang="배포" |
| 142 | ja-lang="配布" |
| 143 | es-lang="Distribuir" |
| 144 | >Distribute</a></li> |
| 145 | </ul> |
| 146 | |
| 147 | <!-- New Search --> |
| 148 | <div class="menu-container"> |
| 149 | <div class="moremenu"> |
| 150 | <div id="more-btn"></div> |
| 151 | </div> |
| 152 | <div class="morehover" id="moremenu"> |
| 153 | <div class="top"></div> |
| 154 | <div class="mid"> |
| 155 | <div class="header">Links</div> |
| 156 | <ul> |
| 157 | <li><a href="https://play.google.com/apps/publish/">Google Play Developer Console</a></li> |
| 158 | <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li> |
| 159 | <li><a href="/about/index.html">About Android</a></li> |
| 160 | </ul> |
| 161 | <div class="header">Android Sites</div> |
| 162 | <ul> |
| 163 | <li><a href="http://www.android.com">Android.com</a></li> |
| 164 | <li class="active"><a>Android Developers</a></li> |
| 165 | <li><a href="http://source.android.com">Android Open Source Project</a></li> |
| 166 | </ul> |
| 167 | <!-- <div class="header">Support</div> |
| 168 | <ul> |
| 169 | <li><a href="/support.html">Developer Support</a></li> |
| 170 | </ul> --> |
| 171 | <div class="header">Languages</div> |
| 172 | <div id="language" class="locales"> |
| 173 | <select name="language" onChange="changeLangPref(this.value, true)"> |
| 174 | <option value="en">English</option> |
| 175 | <option value="es">Español</option> |
| 176 | <option value="ja">日本語</option> |
| 177 | <option value="ko">한국어</option> |
| 178 | <option value="ru">Русский</option> |
| 179 | <option value="zh-CN">中文 (中国)</option> |
| 180 | <option value="zh-TW">中文 (台灣)</option> |
| 181 | </select> |
| 182 | </div> |
| 183 | <script type="text/javascript"> |
| 184 | <!-- |
| 185 | loadLangPref(); |
| 186 | //--> |
| 187 | </script> |
| 188 | <br class="clearfix" /> |
| 189 | </div> |
| 190 | <div class="bottom"></div> |
| 191 | </div> |
| 192 | <div class="search" id="search-container"> |
| 193 | <div class="search-inner"> |
| 194 | <div id="search-btn"></div> |
| 195 | <div class="left"></div> |
| 196 | <form onsubmit="return submit_search()"> |
| 197 | <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q" |
| 198 | onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)" |
| 199 | onkeydown="return search_changed(event, true, '/')" |
| 200 | onkeyup="return search_changed(event, false, '/')" /> |
| 201 | </form> |
| 202 | <div class="right"></div> |
| 203 | <a class="close hide">close</a> |
| 204 | <div class="left"></div> |
| 205 | <div class="right"></div> |
| 206 | </div> |
| 207 | </div> |
| 208 | <div id="search_filtered_wrapper"> |
| 209 | <div id="search_filtered_div" class="no-display"> |
| 210 | <ul id="search_filtered"> |
| 211 | </ul> |
| 212 | </div> |
| 213 | </div> |
| 214 | |
| 215 | </div> |
| 216 | <!-- /New Search> |
| 217 | |
| 218 | |
| 219 | <!-- Expanded quicknav --> |
| 220 | <div id="quicknav" class="col-9"> |
| 221 | <ul> |
| 222 | <li class="design"> |
| 223 | <ul> |
| 224 | <li><a href="/design/index.html">Get Started</a></li> |
| 225 | <li><a href="/design/style/index.html">Style</a></li> |
| 226 | <li><a href="/design/patterns/index.html">Patterns</a></li> |
| 227 | <li><a href="/design/building-blocks/index.html">Building Blocks</a></li> |
| 228 | <li><a href="/design/downloads/index.html">Downloads</a></li> |
| 229 | <li><a href="/design/videos/index.html">Videos</a></li> |
| 230 | </ul> |
| 231 | </li> |
| 232 | <li class="develop"> |
| 233 | <ul> |
| 234 | <li><a href="/training/index.html" |
| 235 | zh-TW-lang="訓練課程" |
| 236 | zh-CN-lang="培训" |
| 237 | ru-lang="Курсы" |
| 238 | ko-lang="교육" |
| 239 | ja-lang="トレーニング" |
| 240 | es-lang="Capacitación" |
| 241 | >Training</a></li> |
| 242 | <li><a href="/guide/components/index.html" |
| 243 | zh-TW-lang="API 指南" |
| 244 | zh-CN-lang="API 指南" |
| 245 | ru-lang="Руководства по API" |
| 246 | ko-lang="API 가이드" |
| 247 | ja-lang="API ガイド" |
| 248 | es-lang="Guías de la API" |
| 249 | >API Guides</a></li> |
| 250 | <li><a href="/reference/packages.html" |
| 251 | zh-TW-lang="參考資源" |
| 252 | zh-CN-lang="参考" |
| 253 | ru-lang="Справочник" |
| 254 | ko-lang="참조문서" |
| 255 | ja-lang="リファレンス" |
| 256 | es-lang="Referencia" |
| 257 | >Reference</a></li> |
| 258 | <li><a href="/tools/index.html" |
| 259 | zh-TW-lang="相關工具" |
| 260 | zh-CN-lang="工具" |
| 261 | ru-lang="Инструменты" |
| 262 | ko-lang="도구" |
| 263 | ja-lang="ツール" |
| 264 | es-lang="Herramientas" |
| 265 | >Tools</a> |
| 266 | <ul><li><a href="/sdk/index.html">Get the SDK</a></li></ul> |
| 267 | </li> |
| 268 | <li><a href="/google/index.html">Google Services</a> |
| 269 | </li> |
| 270 | </ul> |
| 271 | </li> |
| 272 | <li class="distribute last"> |
| 273 | <ul> |
| 274 | <li><a href="/distribute/index.html">Google Play</a></li> |
| 275 | <li><a href="/distribute/googleplay/publish/index.html">Publishing</a></li> |
| 276 | <li><a href="/distribute/googleplay/promote/index.html">Promoting</a></li> |
| 277 | <li><a href="/distribute/googleplay/quality/index.html">App Quality</a></li> |
| 278 | <li><a href="/distribute/googleplay/spotlight/index.html">Spotlight</a></li> |
| 279 | <li><a href="/distribute/open.html">Open Distribution</a></li> |
| 280 | </ul> |
| 281 | </li> |
| 282 | </ul> |
| 283 | </div> |
| 284 | <!-- /Expanded quicknav --> |
| 285 | </div> |
| 286 | </div> |
| 287 | <!-- /Header --> |
| 288 | |
| 289 | |
| 290 | <div id="searchResults" class="wrap" style="display:none;"> |
| 291 | <h2 id="searchTitle">Results</h2> |
| 292 | <div id="leftSearchControl" class="search-control">Loading...</div> |
| 293 | </div> |
| 294 | |
| 295 | |
| 296 | |
| 297 | |
| 298 | <!-- Secondary x-nav --> |
| 299 | <div id="nav-x"> |
| 300 | <div class="wrap"> |
| 301 | <ul class="nav-x col-9 develop" style="width:100%"> |
| 302 | <li><a href="/training/index.html" |
| 303 | zh-TW-lang="訓練課程" |
| 304 | zh-CN-lang="培训" |
| 305 | ru-lang="Курсы" |
| 306 | ko-lang="교육" |
| 307 | ja-lang="トレーニング" |
| 308 | es-lang="Capacitación" |
| 309 | >Training</a></li> |
| 310 | <li><a href="/guide/components/index.html" |
| 311 | zh-TW-lang="API 指南" |
| 312 | zh-CN-lang="API 指南" |
| 313 | ru-lang="Руководства по API" |
| 314 | ko-lang="API 가이드" |
| 315 | ja-lang="API ガイド" |
| 316 | es-lang="Guías de la API" |
| 317 | >API Guides</a></li> |
| 318 | <li><a href="/reference/packages.html" |
| 319 | zh-TW-lang="參考資源" |
| 320 | zh-CN-lang="参考" |
| 321 | ru-lang="Справочник" |
| 322 | ko-lang="참조문서" |
| 323 | ja-lang="リファレンス" |
| 324 | es-lang="Referencia" |
| 325 | >Reference</a></li> |
| 326 | <li><a href="/tools/index.html" |
| 327 | zh-TW-lang="相關工具" |
| 328 | zh-CN-lang="工具" |
| 329 | ru-lang="Инструменты" |
| 330 | ko-lang="도구" |
| 331 | ja-lang="ツール" |
| 332 | es-lang="Herramientas" |
| 333 | >Tools</a></li> |
| 334 | <li><a href="/google/index.html" class="selected" |
| 335 | >Google Services</a> |
| 336 | </li> |
| 337 | </ul> |
| 338 | </div> |
| 339 | |
| 340 | </div> |
| 341 | <!-- /Sendondary x-nav --> |
| 342 | |
| 343 | |
| 344 | |
| 345 | |
| 346 | |
| 347 | <div class="wrap clearfix" id="body-content"> |
| 348 | <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement"> |
| 349 | <div id="devdoc-nav" class="scroll-pane"> |
| 350 | <a class="totop" href="#top" data-g-event="left-nav-top">to top</a> |
| 351 | |
| 352 | |
| 353 | |
| 354 | <ul id="nav"> |
| 355 | <li class="nav-section"> |
| 356 | <div class="nav-section-header empty"><a href="/google/index.html"> |
| 357 | <span class="en">Overview</span> |
| 358 | </a></div> |
| 359 | </li> |
| 360 | |
| 361 | <li class="nav-section"> |
| 362 | <div class="nav-section-header"><a href="/google/play-services/index.html"> |
| 363 | <span class="en">Google Play services</span></a> |
| 364 | </div> |
| 365 | <ul> |
| 366 | <li><a href="/google/play-services/setup.html"> |
| 367 | <span class="en">Setup</span></a> |
| 368 | </li> |
| 369 | |
| 370 | <li><a href="/google/play-services/auth.html"> |
| 371 | <span class="en">Authentication</span></a> |
| 372 | </li> |
| 373 | |
| 374 | <li><a href="/google/play-services/plus.html"> |
| 375 | <span class="en">Google+</span></a> |
| 376 | </li> |
| 377 | |
| 378 | <li><a href="/google/play-services/maps.html"> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 379 | <span class="en">Google Maps</span></a> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 380 | </li> |
| 381 | |
| 382 | <li id="gms-tree-list" class="nav-section"> |
| 383 | <div class="nav-section-header"> |
| 384 | <a href="/reference/gms-packages.html"> |
| 385 | <span class="en">Reference</span> |
| 386 | </a> |
| 387 | <div> |
| 388 | </li> |
| 389 | |
| 390 | </ul> |
| 391 | </li> |
| 392 | |
| 393 | <li class="nav-section"> |
| 394 | <div class="nav-section-header"><a href="/google/play/billing/index.html"> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 395 | <span class="en">Google Play In-app Billing</span></a> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 396 | </div> |
| 397 | <ul> |
| 398 | <li><a href="/google/play/billing/billing_overview.html"> |
| 399 | <span class="en">In-app Billing Overview</span></a> |
| 400 | </li> |
| 401 | <li><a href="/google/play/billing/billing_integrate.html"> |
| 402 | <span class="en">Implementing In-app Billing</span></a> |
| 403 | </li> |
| 404 | <li><a href="/google/play/billing/billing_subscriptions.html"> |
| 405 | <span class="en">Subscriptions</span></a> |
| 406 | </li> |
| 407 | <li><a href="/google/play/billing/billing_best_practices.html"> |
| 408 | <span class="en">Security and Design</span></a> |
| 409 | </li> |
| 410 | <li><a href="/google/play/billing/billing_testing.html"> |
| 411 | <span class="en">Testing <br/>In-app Billing</span></a> |
| 412 | </li> |
| 413 | <li><a href="/google/play/billing/billing_admin.html"> |
| 414 | <span class="en">Administering In-app Billing</span></a> |
| 415 | </li> |
| 416 | <li><a href="/google/play/billing/billing_reference.html"> |
| 417 | <span class="en">In-app Billing Reference</span></a> |
| 418 | </li> |
| 419 | </ul> |
| 420 | </li> |
| 421 | |
| 422 | <li class="nav-section"> |
| 423 | <div class="nav-section-header"><a href="/google/play/dist.html"> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 424 | <span class="en">Google Play Distribution</span></a> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 425 | </div> |
| 426 | <ul> |
| 427 | <li><a href="/google/play/filters.html"> |
| 428 | <span class="en">Filters on Google Play</span></a> |
| 429 | </li> |
| 430 | |
| 431 | <li><a href="/google/play/publishing/multiple-apks.html"> |
| 432 | <span class="en">Multiple APK Support</span></a> |
| 433 | </li> |
| 434 | |
| 435 | <li><a href="/google/play/expansion-files.html"> |
| 436 | <span class="en">APK Expansion Files</span></a> |
| 437 | </li> |
| 438 | |
| 439 | <li class="nav-section"> |
| 440 | <div class="nav-section-header"><a href="/google/play/licensing/index.html"> |
| 441 | <span class="en">Application Licensing</span></a> |
| 442 | </div> |
| 443 | <ul> |
| 444 | <li><a href="/google/play/licensing/overview.html"> |
| 445 | <span class="en">Licensing Overview</span></a> |
| 446 | </li> |
| 447 | <li><a href="/google/play/licensing/setting-up.html"> |
| 448 | <span class="en">Setting Up for Licensing</span></a> |
| 449 | </li> |
| 450 | <li><a href="/google/play/licensing/adding-licensing.html"> |
| 451 | <span class="en">Adding Licensing to Your App</span></a> |
| 452 | </li> |
| 453 | <li><a href="/google/play/licensing/licensing-reference.html"> |
| 454 | <span class="en">Licensing Reference</span></a> |
| 455 | </li> |
| 456 | </ul> |
| 457 | </li> |
| 458 | </ul> |
| 459 | |
| 460 | |
| 461 | <li class="nav-section"> |
| 462 | <div class="nav-section-header"><a href="/google/gcm/index.html"> |
| 463 | <span class="en">Google Cloud Messaging</span></a> |
| 464 | </div> |
| 465 | <ul> |
| 466 | <li><a href="/google/gcm/gs.html"> |
| 467 | <span class="en">Getting Started</span></a> |
| 468 | </li> |
| 469 | <li><a href="/google/gcm/gcm.html"> |
| 470 | <span class="en">Architectural Overview</span></a> |
| 471 | </li> |
| 472 | <li><a href="/google/gcm/demo.html"> |
| 473 | <span class="en">Demo App Tutorial</span></a> |
| 474 | </li> |
| 475 | <li><a href="/google/gcm/adv.html"> |
| 476 | <span class="en">Advanced Topics</span></a> |
| 477 | </li> |
| 478 | <li><a href="/google/gcm/c2dm.html"> |
| 479 | <span class="en">Migration</span></a> |
| 480 | </li> |
| 481 | <li id="gcm-tree-list" class="nav-section"> |
| 482 | <div class="nav-section-header"> |
| 483 | <a href="/reference/gcm-packages.html"> |
| 484 | <span class="en">Reference</span> |
| 485 | </a> |
| 486 | <div> |
| 487 | </li> |
| 488 | |
| 489 | </ul> |
| 490 | </li> |
| 491 | </ul> |
| 492 | |
| 493 | <script type="text/javascript"> |
| 494 | <!-- |
| 495 | buildToggleLists(); |
| 496 | changeNavLang(getLangPref()); |
| 497 | //--> |
| 498 | </script> |
| 499 | |
| 500 | |
| 501 | |
| 502 | |
| 503 | </div> |
| 504 | <script type="text/javascript"> |
| 505 | showGoogleRefTree(); |
| 506 | |
| 507 | </script> |
| 508 | </div> <!-- end side-nav --> |
| 509 | <script> |
| 510 | $(document).ready(function() { |
| 511 | scrollIntoView("devdoc-nav"); |
| 512 | }); |
| 513 | </script> |
| 514 | |
| 515 | |
| 516 | |
| 517 | <script> |
| 518 | $(document).ready(function() { |
| 519 | changeDocLang(getLangPref()); |
| 520 | }); |
| 521 | </script> |
| 522 | |
| 523 | |
| 524 | |
| 525 | <div class="col-12" id="doc-col"> |
| 526 | |
| 527 | <div id="api-info-block"> |
| 528 | |
| 529 | |
| 530 | |
| 531 | |
| 532 | |
| 533 | |
| 534 | |
| 535 | |
| 536 | |
| 537 | |
| 538 | |
| 539 | <div class="sum-details-links"> |
| 540 | |
| 541 | Summary: |
| 542 | |
| 543 | |
| 544 | |
| 545 | |
| 546 | |
| 547 | |
| 548 | |
| 549 | |
| 550 | |
| 551 | |
| 552 | |
| 553 | <a href="#pubmethods">Methods</a> |
| 554 | |
| 555 | |
| 556 | |
| 557 | |
| 558 | | <a href="#inhmethods">Inherited Methods</a> |
| 559 | |
| 560 | | <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a> |
| 561 | |
| 562 | </div><!-- end sum-details-links --> |
| 563 | <div class="api-level"> |
| 564 | |
| 565 | |
| 566 | |
| 567 | |
| 568 | </div> |
| 569 | </div><!-- end api-info-block --> |
| 570 | |
| 571 | |
| 572 | <!-- ======== START OF CLASS DATA ======== --> |
| 573 | |
| 574 | <div id="jd-header"> |
| 575 | public |
| 576 | |
| 577 | final |
| 578 | |
| 579 | class |
| 580 | <h1 itemprop="name">GroundOverlay</h1> |
| 581 | |
| 582 | |
| 583 | |
| 584 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 585 | extends Object<br/> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 586 | |
| 587 | |
| 588 | |
| 589 | |
| 590 | |
| 591 | |
| 592 | |
| 593 | |
| 594 | |
| 595 | </div><!-- end header --> |
| 596 | |
| 597 | <div id="naMessage"></div> |
| 598 | |
| 599 | <div id="jd-content" class="api apilevel-"> |
| 600 | <table class="jd-inheritance-table"> |
| 601 | |
| 602 | |
| 603 | <tr> |
| 604 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 605 | <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 606 | </tr> |
| 607 | |
| 608 | |
| 609 | <tr> |
| 610 | |
| 611 | <td class="jd-inheritance-space"> ↳</td> |
| 612 | |
| 613 | <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.maps.model.GroundOverlay</td> |
| 614 | </tr> |
| 615 | |
| 616 | |
| 617 | </table> |
| 618 | |
| 619 | |
| 620 | |
| 621 | |
| 622 | |
| 623 | |
| 624 | |
| 625 | <div class="jd-descr"> |
| 626 | |
| 627 | |
| 628 | <h2>Class Overview</h2> |
| 629 | <p itemprop="articleBody">A ground overlay is an image that is fixed to a map. A ground overlay has the following |
| 630 | properties: |
| 631 | <p> |
| 632 | <dl> |
| 633 | <dt>Position</dt> |
| 634 | <dd>There are two ways to specify the position of the ground overlay: |
| 635 | <ul> |
| 636 | <li>Using an location: You must provide an image of the ground overlay, a <code><a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a></code> to which |
| 637 | the anchor will be fixed and the width of the overlay (in meters). The anchor is by default 50% |
| 638 | from the top of the image and 50% from the left of the image. This can be changed. You can |
| 639 | optionally provide the height of the overlay (in meters). If you do not provide the height of the |
| 640 | overlay, it will be automatically calculated to preserve the proportions of the image.</li> |
| 641 | <li>Using a Bounds: You must provide a <code><a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></code> which will contain the image.</li> |
| 642 | </ul> |
| 643 | You must specify the position of the ground overlay before it is added to the map, otherwise an |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 644 | <code><a href="/reference/java/lang/IllegalArgumentException.html">IllegalArgumentException</a></code> will be thrown when the ground overlay is added to the map. |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 645 | Furthermore, you must only specify the position using one of these methods in the |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 646 | <code><a href="/reference/com/google/android/gms/maps/model/GroundOverlayOptions.html">GroundOverlayOptions</a></code> object; otherwise an <code><a href="/reference/java/lang/IllegalStateException.html">IllegalStateException</a></code> will be thrown |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 647 | when specifying using a second method.</dd> |
| 648 | <dt>Image</dt> |
| 649 | <dd>The image (as an <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code>) to be used for this overlay. The image will be |
| 650 | scaled to fit the position provided. You cannot change the image used in the ground overlay once |
| 651 | it has been added to the map. You must specify an image before adding the ground overlay to the |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 652 | map; if not an <code><a href="/reference/java/lang/IllegalArgumentException.html">IllegalArgumentException</a></code> will be thrown when it is added to the map.</dd> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 653 | <dt>Bearing</dt> |
| 654 | <dd>The amount that the image should be rotated in a clockwise direction. The center of the |
| 655 | rotation will be the image's anchor. This is optional and the default bearing is 0, i.e., the |
| 656 | image is aligned so that up is north.</dd> |
| 657 | <dt>zIndex</dt> |
| 658 | <dd>The order in which this ground overlay is drawn with respect to other overlays (including |
| 659 | <code><a href="/reference/com/google/android/gms/maps/model/Polyline.html">Polyline</a></code>s and <code><a href="/reference/com/google/android/gms/maps/model/TileOverlay.html">TileOverlay</a></code>s, but not <code><a href="/reference/com/google/android/gms/maps/model/Marker.html">Marker</a></code>s). An overlay with a larger |
| 660 | zIndex is drawn over overlays with smaller zIndexes. The order of overlays with the same zIndex |
| 661 | value is arbitrary. This is optional and the default zIndex is 0.</dd> |
| 662 | <dt>Transparency</dt> |
| 663 | <dd>Transparency of the ground overlay in the range <code>[0..1]</code> where <code>0</code> means the |
| 664 | overlay is opaque and <code>1</code> means the overlay is fully transparent. If the specified bitmap |
| 665 | is already partially transparent, the transparency of each pixel will be scaled accordingly (e.g. |
| 666 | if a pixel in the bitmap has an alpha value of 200 and you specify the transparency of the ground |
| 667 | overlay as 0.25, then the pixel will be rendered on the screen with an alpha value of 150). This |
| 668 | is optional and the default transparency is 0 (opaque).</dd> |
| 669 | <dt>Visibility</dt> |
| 670 | <dd>Indicates if the ground overlay is visible or invisible, i.e. whether it is drawn on the map. |
| 671 | An invisible ground overlay is not drawn, but retains all of its other properties. This is |
| 672 | optional and the default visibility is <code>true</code>, i.e., visible.</dd> |
| 673 | </dl> |
| 674 | Methods that modify a Polyline must be called on the UI thread. If not, an |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 675 | <code><a href="/reference/java/lang/IllegalStateException.html">IllegalStateException</a></code> will be thrown at runtime. |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 676 | <h3>Example</h3> |
| 677 | |
| 678 | <pre> <code>GoogleMap map = ...; // get a map. |
| 679 | BitmapDescriptor image = ...; // get an image. |
| 680 | LatLngBounds bounds = ...; // get a bounds |
| 681 | // Adds a ground overlay with 50% transparency. |
| 682 | GroundOverlay groundOverlay = map.addGroundOverlay(new GroundOverlayOptions() |
| 683 | .image(image) |
| 684 | .positionFromBounds(bounds) |
| 685 | .transparency(0.5));</code></pre> |
| 686 | </p> |
| 687 | |
| 688 | |
| 689 | |
| 690 | |
| 691 | |
| 692 | </div><!-- jd-descr --> |
| 693 | |
| 694 | |
| 695 | |
| 696 | |
| 697 | |
| 698 | |
| 699 | |
| 700 | |
| 701 | |
| 702 | |
| 703 | |
| 704 | |
| 705 | |
| 706 | |
| 707 | |
| 708 | |
| 709 | <div class="jd-descr"> |
| 710 | |
| 711 | |
| 712 | <h2>Summary</h2> |
| 713 | |
| 714 | |
| 715 | |
| 716 | |
| 717 | |
| 718 | |
| 719 | |
| 720 | |
| 721 | |
| 722 | |
| 723 | |
| 724 | |
| 725 | |
| 726 | |
| 727 | |
| 728 | |
| 729 | |
| 730 | |
| 731 | |
| 732 | |
| 733 | |
| 734 | |
| 735 | |
| 736 | |
| 737 | |
| 738 | |
| 739 | |
| 740 | <!-- ========== METHOD SUMMARY =========== --> |
| 741 | <table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr> |
| 742 | |
| 743 | |
| 744 | |
| 745 | |
| 746 | <tr class="alt-color api apilevel-" > |
| 747 | <td class="jd-typecol"><nobr> |
| 748 | |
| 749 | |
| 750 | |
| 751 | |
| 752 | |
| 753 | boolean</nobr> |
| 754 | </td> |
| 755 | <td class="jd-linkcol" width="100%"><nobr> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 756 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#equals(java.lang.Object)">equals</a></span>(Object other)</nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 757 | |
| 758 | </td></tr> |
| 759 | |
| 760 | |
| 761 | |
| 762 | <tr class=" api apilevel-" > |
| 763 | <td class="jd-typecol"><nobr> |
| 764 | |
| 765 | |
| 766 | |
| 767 | |
| 768 | |
| 769 | float</nobr> |
| 770 | </td> |
| 771 | <td class="jd-linkcol" width="100%"><nobr> |
| 772 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getBearing()">getBearing</a></span>()</nobr> |
| 773 | |
| 774 | <div class="jd-descrdiv">Gets the bearing of the ground overlay in degrees clockwise from north.</div> |
| 775 | |
| 776 | </td></tr> |
| 777 | |
| 778 | |
| 779 | |
| 780 | <tr class="alt-color api apilevel-" > |
| 781 | <td class="jd-typecol"><nobr> |
| 782 | |
| 783 | |
| 784 | |
| 785 | |
| 786 | |
| 787 | <a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></nobr> |
| 788 | </td> |
| 789 | <td class="jd-linkcol" width="100%"><nobr> |
| 790 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getBounds()">getBounds</a></span>()</nobr> |
| 791 | |
| 792 | <div class="jd-descrdiv">Gets the bounds for the ground overlay.</div> |
| 793 | |
| 794 | </td></tr> |
| 795 | |
| 796 | |
| 797 | |
| 798 | <tr class=" api apilevel-" > |
| 799 | <td class="jd-typecol"><nobr> |
| 800 | |
| 801 | |
| 802 | |
| 803 | |
| 804 | |
| 805 | float</nobr> |
| 806 | </td> |
| 807 | <td class="jd-linkcol" width="100%"><nobr> |
| 808 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getHeight()">getHeight</a></span>()</nobr> |
| 809 | |
| 810 | <div class="jd-descrdiv">Gets the height of the ground overlay.</div> |
| 811 | |
| 812 | </td></tr> |
| 813 | |
| 814 | |
| 815 | |
| 816 | <tr class="alt-color api apilevel-" > |
| 817 | <td class="jd-typecol"><nobr> |
| 818 | |
| 819 | |
| 820 | |
| 821 | |
| 822 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 823 | String</nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 824 | </td> |
| 825 | <td class="jd-linkcol" width="100%"><nobr> |
| 826 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getId()">getId</a></span>()</nobr> |
| 827 | |
| 828 | <div class="jd-descrdiv">Gets this ground overlay's id.</div> |
| 829 | |
| 830 | </td></tr> |
| 831 | |
| 832 | |
| 833 | |
| 834 | <tr class=" api apilevel-" > |
| 835 | <td class="jd-typecol"><nobr> |
| 836 | |
| 837 | |
| 838 | |
| 839 | |
| 840 | |
| 841 | <a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a></nobr> |
| 842 | </td> |
| 843 | <td class="jd-linkcol" width="100%"><nobr> |
| 844 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getPosition()">getPosition</a></span>()</nobr> |
| 845 | |
| 846 | <div class="jd-descrdiv">Gets the location of the anchored point.</div> |
| 847 | |
| 848 | </td></tr> |
| 849 | |
| 850 | |
| 851 | |
| 852 | <tr class="alt-color api apilevel-" > |
| 853 | <td class="jd-typecol"><nobr> |
| 854 | |
| 855 | |
| 856 | |
| 857 | |
| 858 | |
| 859 | float</nobr> |
| 860 | </td> |
| 861 | <td class="jd-linkcol" width="100%"><nobr> |
| 862 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getTransparency()">getTransparency</a></span>()</nobr> |
| 863 | |
| 864 | <div class="jd-descrdiv">Gets the transparency of this ground overlay.</div> |
| 865 | |
| 866 | </td></tr> |
| 867 | |
| 868 | |
| 869 | |
| 870 | <tr class=" api apilevel-" > |
| 871 | <td class="jd-typecol"><nobr> |
| 872 | |
| 873 | |
| 874 | |
| 875 | |
| 876 | |
| 877 | float</nobr> |
| 878 | </td> |
| 879 | <td class="jd-linkcol" width="100%"><nobr> |
| 880 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getWidth()">getWidth</a></span>()</nobr> |
| 881 | |
| 882 | <div class="jd-descrdiv">Gets the width of the ground overlay.</div> |
| 883 | |
| 884 | </td></tr> |
| 885 | |
| 886 | |
| 887 | |
| 888 | <tr class="alt-color api apilevel-" > |
| 889 | <td class="jd-typecol"><nobr> |
| 890 | |
| 891 | |
| 892 | |
| 893 | |
| 894 | |
| 895 | float</nobr> |
| 896 | </td> |
| 897 | <td class="jd-linkcol" width="100%"><nobr> |
| 898 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#getZIndex()">getZIndex</a></span>()</nobr> |
| 899 | |
| 900 | <div class="jd-descrdiv">Gets the zIndex of this ground overlay.</div> |
| 901 | |
| 902 | </td></tr> |
| 903 | |
| 904 | |
| 905 | |
| 906 | <tr class=" api apilevel-" > |
| 907 | <td class="jd-typecol"><nobr> |
| 908 | |
| 909 | |
| 910 | |
| 911 | |
| 912 | |
| 913 | int</nobr> |
| 914 | </td> |
| 915 | <td class="jd-linkcol" width="100%"><nobr> |
| 916 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#hashCode()">hashCode</a></span>()</nobr> |
| 917 | |
| 918 | </td></tr> |
| 919 | |
| 920 | |
| 921 | |
| 922 | <tr class="alt-color api apilevel-" > |
| 923 | <td class="jd-typecol"><nobr> |
| 924 | |
| 925 | |
| 926 | |
| 927 | |
| 928 | |
| 929 | boolean</nobr> |
| 930 | </td> |
| 931 | <td class="jd-linkcol" width="100%"><nobr> |
| 932 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#isVisible()">isVisible</a></span>()</nobr> |
| 933 | |
| 934 | <div class="jd-descrdiv">Gets the visibility of this ground overlay.</div> |
| 935 | |
| 936 | </td></tr> |
| 937 | |
| 938 | |
| 939 | |
| 940 | <tr class=" api apilevel-" > |
| 941 | <td class="jd-typecol"><nobr> |
| 942 | |
| 943 | |
| 944 | |
| 945 | |
| 946 | |
| 947 | void</nobr> |
| 948 | </td> |
| 949 | <td class="jd-linkcol" width="100%"><nobr> |
| 950 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#remove()">remove</a></span>()</nobr> |
| 951 | |
| 952 | <div class="jd-descrdiv">Removes this ground overlay from the map.</div> |
| 953 | |
| 954 | </td></tr> |
| 955 | |
| 956 | |
| 957 | |
| 958 | <tr class="alt-color api apilevel-" > |
| 959 | <td class="jd-typecol"><nobr> |
| 960 | |
| 961 | |
| 962 | |
| 963 | |
| 964 | |
| 965 | void</nobr> |
| 966 | </td> |
| 967 | <td class="jd-linkcol" width="100%"><nobr> |
| 968 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setBearing(float)">setBearing</a></span>(float bearing)</nobr> |
| 969 | |
| 970 | <div class="jd-descrdiv">Sets the bearing of the ground overlay (the direction that the vertical axis of the ground |
| 971 | overlay points) in degrees clockwise from north.</div> |
| 972 | |
| 973 | </td></tr> |
| 974 | |
| 975 | |
| 976 | |
| 977 | <tr class=" api apilevel-" > |
| 978 | <td class="jd-typecol"><nobr> |
| 979 | |
| 980 | |
| 981 | |
| 982 | |
| 983 | |
| 984 | void</nobr> |
| 985 | </td> |
| 986 | <td class="jd-linkcol" width="100%"><nobr> |
| 987 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setDimensions(float)">setDimensions</a></span>(float width)</nobr> |
| 988 | |
| 989 | <div class="jd-descrdiv">Sets the dimensions of the ground overlay.</div> |
| 990 | |
| 991 | </td></tr> |
| 992 | |
| 993 | |
| 994 | |
| 995 | <tr class="alt-color api apilevel-" > |
| 996 | <td class="jd-typecol"><nobr> |
| 997 | |
| 998 | |
| 999 | |
| 1000 | |
| 1001 | |
| 1002 | void</nobr> |
| 1003 | </td> |
| 1004 | <td class="jd-linkcol" width="100%"><nobr> |
| 1005 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setDimensions(float, float)">setDimensions</a></span>(float width, float height)</nobr> |
| 1006 | |
| 1007 | <div class="jd-descrdiv">Sets the dimensions of the ground overlay.</div> |
| 1008 | |
| 1009 | </td></tr> |
| 1010 | |
| 1011 | |
| 1012 | |
| 1013 | <tr class=" api apilevel-" > |
| 1014 | <td class="jd-typecol"><nobr> |
| 1015 | |
| 1016 | |
| 1017 | |
| 1018 | |
| 1019 | |
| 1020 | void</nobr> |
| 1021 | </td> |
| 1022 | <td class="jd-linkcol" width="100%"><nobr> |
| 1023 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setPosition(com.google.android.gms.maps.model.LatLng)">setPosition</a></span>(<a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a> latLng)</nobr> |
| 1024 | |
| 1025 | <div class="jd-descrdiv">Sets the position of the ground overlay by changing the location of the anchored point.</div> |
| 1026 | |
| 1027 | </td></tr> |
| 1028 | |
| 1029 | |
| 1030 | |
| 1031 | <tr class="alt-color api apilevel-" > |
| 1032 | <td class="jd-typecol"><nobr> |
| 1033 | |
| 1034 | |
| 1035 | |
| 1036 | |
| 1037 | |
| 1038 | void</nobr> |
| 1039 | </td> |
| 1040 | <td class="jd-linkcol" width="100%"><nobr> |
| 1041 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setPositionFromBounds(com.google.android.gms.maps.model.LatLngBounds)">setPositionFromBounds</a></span>(<a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a> bounds)</nobr> |
| 1042 | |
| 1043 | <div class="jd-descrdiv">Sets the position of the ground overlay by fitting it to the given <code><a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></code>.</div> |
| 1044 | |
| 1045 | </td></tr> |
| 1046 | |
| 1047 | |
| 1048 | |
| 1049 | <tr class=" api apilevel-" > |
| 1050 | <td class="jd-typecol"><nobr> |
| 1051 | |
| 1052 | |
| 1053 | |
| 1054 | |
| 1055 | |
| 1056 | void</nobr> |
| 1057 | </td> |
| 1058 | <td class="jd-linkcol" width="100%"><nobr> |
| 1059 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setTransparency(float)">setTransparency</a></span>(float transparency)</nobr> |
| 1060 | |
| 1061 | <div class="jd-descrdiv">Sets the transparency of this ground overlay.</div> |
| 1062 | |
| 1063 | </td></tr> |
| 1064 | |
| 1065 | |
| 1066 | |
| 1067 | <tr class="alt-color api apilevel-" > |
| 1068 | <td class="jd-typecol"><nobr> |
| 1069 | |
| 1070 | |
| 1071 | |
| 1072 | |
| 1073 | |
| 1074 | void</nobr> |
| 1075 | </td> |
| 1076 | <td class="jd-linkcol" width="100%"><nobr> |
| 1077 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setVisible(boolean)">setVisible</a></span>(boolean visible)</nobr> |
| 1078 | |
| 1079 | <div class="jd-descrdiv">Sets the visibility of this ground overlay.</div> |
| 1080 | |
| 1081 | </td></tr> |
| 1082 | |
| 1083 | |
| 1084 | |
| 1085 | <tr class=" api apilevel-" > |
| 1086 | <td class="jd-typecol"><nobr> |
| 1087 | |
| 1088 | |
| 1089 | |
| 1090 | |
| 1091 | |
| 1092 | void</nobr> |
| 1093 | </td> |
| 1094 | <td class="jd-linkcol" width="100%"><nobr> |
| 1095 | <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/GroundOverlay.html#setZIndex(float)">setZIndex</a></span>(float zIndex)</nobr> |
| 1096 | |
| 1097 | <div class="jd-descrdiv">Sets the zIndex of this ground overlay.</div> |
| 1098 | |
| 1099 | </td></tr> |
| 1100 | |
| 1101 | |
| 1102 | |
| 1103 | </table> |
| 1104 | |
| 1105 | |
| 1106 | |
| 1107 | |
| 1108 | |
| 1109 | |
| 1110 | |
| 1111 | <!-- ========== METHOD SUMMARY =========== --> |
| 1112 | <table id="inhmethods" class="jd-sumtable"><tr><th> |
| 1113 | <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a> |
| 1114 | <div style="clear:left;">Inherited Methods</div></th></tr> |
| 1115 | |
| 1116 | |
| 1117 | <tr class="api apilevel-" > |
| 1118 | <td colspan="12"> |
| 1119 | <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed" |
| 1120 | ><img id="inherited-methods-java.lang.Object-trigger" |
| 1121 | src="/assets/images/triangle-closed.png" |
| 1122 | class="jd-expando-trigger-img" /></a> |
| 1123 | From class |
| 1124 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1125 | java.lang.Object |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1126 | |
| 1127 | <div id="inherited-methods-java.lang.Object"> |
| 1128 | <div id="inherited-methods-java.lang.Object-list" |
| 1129 | class="jd-inheritedlinks"> |
| 1130 | </div> |
| 1131 | <div id="inherited-methods-java.lang.Object-summary" style="display: none;"> |
| 1132 | <table class="jd-sumtable-expando"> |
| 1133 | |
| 1134 | |
| 1135 | |
| 1136 | |
| 1137 | <tr class="alt-color api apilevel-" > |
| 1138 | <td class="jd-typecol"><nobr> |
| 1139 | |
| 1140 | |
| 1141 | |
| 1142 | |
| 1143 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1144 | Object</nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1145 | </td> |
| 1146 | <td class="jd-linkcol" width="100%"><nobr> |
| 1147 | <span class="sympad">clone</span>()</nobr> |
| 1148 | |
| 1149 | </td></tr> |
| 1150 | |
| 1151 | |
| 1152 | |
| 1153 | <tr class=" api apilevel-" > |
| 1154 | <td class="jd-typecol"><nobr> |
| 1155 | |
| 1156 | |
| 1157 | |
| 1158 | |
| 1159 | |
| 1160 | boolean</nobr> |
| 1161 | </td> |
| 1162 | <td class="jd-linkcol" width="100%"><nobr> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1163 | <span class="sympad">equals</span>(Object arg0)</nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1164 | |
| 1165 | </td></tr> |
| 1166 | |
| 1167 | |
| 1168 | |
| 1169 | <tr class="alt-color api apilevel-" > |
| 1170 | <td class="jd-typecol"><nobr> |
| 1171 | |
| 1172 | |
| 1173 | |
| 1174 | |
| 1175 | |
| 1176 | void</nobr> |
| 1177 | </td> |
| 1178 | <td class="jd-linkcol" width="100%"><nobr> |
| 1179 | <span class="sympad">finalize</span>()</nobr> |
| 1180 | |
| 1181 | </td></tr> |
| 1182 | |
| 1183 | |
| 1184 | |
| 1185 | <tr class=" api apilevel-" > |
| 1186 | <td class="jd-typecol"><nobr> |
| 1187 | |
| 1188 | |
| 1189 | final |
| 1190 | |
| 1191 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1192 | Class<?></nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1193 | </td> |
| 1194 | <td class="jd-linkcol" width="100%"><nobr> |
| 1195 | <span class="sympad">getClass</span>()</nobr> |
| 1196 | |
| 1197 | </td></tr> |
| 1198 | |
| 1199 | |
| 1200 | |
| 1201 | <tr class="alt-color api apilevel-" > |
| 1202 | <td class="jd-typecol"><nobr> |
| 1203 | |
| 1204 | |
| 1205 | |
| 1206 | |
| 1207 | |
| 1208 | int</nobr> |
| 1209 | </td> |
| 1210 | <td class="jd-linkcol" width="100%"><nobr> |
| 1211 | <span class="sympad">hashCode</span>()</nobr> |
| 1212 | |
| 1213 | </td></tr> |
| 1214 | |
| 1215 | |
| 1216 | |
| 1217 | <tr class=" api apilevel-" > |
| 1218 | <td class="jd-typecol"><nobr> |
| 1219 | |
| 1220 | |
| 1221 | final |
| 1222 | |
| 1223 | |
| 1224 | void</nobr> |
| 1225 | </td> |
| 1226 | <td class="jd-linkcol" width="100%"><nobr> |
| 1227 | <span class="sympad">notify</span>()</nobr> |
| 1228 | |
| 1229 | </td></tr> |
| 1230 | |
| 1231 | |
| 1232 | |
| 1233 | <tr class="alt-color api apilevel-" > |
| 1234 | <td class="jd-typecol"><nobr> |
| 1235 | |
| 1236 | |
| 1237 | final |
| 1238 | |
| 1239 | |
| 1240 | void</nobr> |
| 1241 | </td> |
| 1242 | <td class="jd-linkcol" width="100%"><nobr> |
| 1243 | <span class="sympad">notifyAll</span>()</nobr> |
| 1244 | |
| 1245 | </td></tr> |
| 1246 | |
| 1247 | |
| 1248 | |
| 1249 | <tr class=" api apilevel-" > |
| 1250 | <td class="jd-typecol"><nobr> |
| 1251 | |
| 1252 | |
| 1253 | |
| 1254 | |
| 1255 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1256 | String</nobr> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1257 | </td> |
| 1258 | <td class="jd-linkcol" width="100%"><nobr> |
| 1259 | <span class="sympad">toString</span>()</nobr> |
| 1260 | |
| 1261 | </td></tr> |
| 1262 | |
| 1263 | |
| 1264 | |
| 1265 | <tr class="alt-color api apilevel-" > |
| 1266 | <td class="jd-typecol"><nobr> |
| 1267 | |
| 1268 | |
| 1269 | final |
| 1270 | |
| 1271 | |
| 1272 | void</nobr> |
| 1273 | </td> |
| 1274 | <td class="jd-linkcol" width="100%"><nobr> |
| 1275 | <span class="sympad">wait</span>()</nobr> |
| 1276 | |
| 1277 | </td></tr> |
| 1278 | |
| 1279 | |
| 1280 | |
| 1281 | <tr class=" api apilevel-" > |
| 1282 | <td class="jd-typecol"><nobr> |
| 1283 | |
| 1284 | |
| 1285 | final |
| 1286 | |
| 1287 | |
| 1288 | void</nobr> |
| 1289 | </td> |
| 1290 | <td class="jd-linkcol" width="100%"><nobr> |
| 1291 | <span class="sympad">wait</span>(long arg0, int arg1)</nobr> |
| 1292 | |
| 1293 | </td></tr> |
| 1294 | |
| 1295 | |
| 1296 | |
| 1297 | <tr class="alt-color api apilevel-" > |
| 1298 | <td class="jd-typecol"><nobr> |
| 1299 | |
| 1300 | |
| 1301 | final |
| 1302 | |
| 1303 | |
| 1304 | void</nobr> |
| 1305 | </td> |
| 1306 | <td class="jd-linkcol" width="100%"><nobr> |
| 1307 | <span class="sympad">wait</span>(long arg0)</nobr> |
| 1308 | |
| 1309 | </td></tr> |
| 1310 | |
| 1311 | |
| 1312 | </table> |
| 1313 | </div> |
| 1314 | </div> |
| 1315 | </td></tr> |
| 1316 | |
| 1317 | |
| 1318 | </table> |
| 1319 | |
| 1320 | |
| 1321 | </div><!-- jd-descr (summary) --> |
| 1322 | |
| 1323 | <!-- Details --> |
| 1324 | |
| 1325 | |
| 1326 | |
| 1327 | |
| 1328 | |
| 1329 | |
| 1330 | |
| 1331 | |
| 1332 | <!-- XML Attributes --> |
| 1333 | |
| 1334 | |
| 1335 | <!-- Enum Values --> |
| 1336 | |
| 1337 | |
| 1338 | <!-- Constants --> |
| 1339 | |
| 1340 | |
| 1341 | <!-- Fields --> |
| 1342 | |
| 1343 | |
| 1344 | <!-- Public ctors --> |
| 1345 | |
| 1346 | |
| 1347 | |
| 1348 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| 1349 | <!-- Protected ctors --> |
| 1350 | |
| 1351 | |
| 1352 | |
| 1353 | <!-- ========= METHOD DETAIL ======== --> |
| 1354 | <!-- Public methdos --> |
| 1355 | |
| 1356 | <h2>Public Methods</h2> |
| 1357 | |
| 1358 | |
| 1359 | |
| 1360 | <A NAME="equals(java.lang.Object)"></A> |
| 1361 | |
| 1362 | <div class="jd-details api apilevel-"> |
| 1363 | <h4 class="jd-details-title"> |
| 1364 | <span class="normal"> |
| 1365 | public |
| 1366 | |
| 1367 | |
| 1368 | |
| 1369 | |
| 1370 | boolean |
| 1371 | </span> |
| 1372 | <span class="sympad">equals</span> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1373 | <span class="normal">(Object other)</span> |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1374 | </h4> |
| 1375 | <div class="api-level"> |
| 1376 | <div></div> |
| 1377 | |
| 1378 | |
| 1379 | |
| 1380 | </div> |
| 1381 | <div class="jd-details-descr"> |
| 1382 | |
| 1383 | <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| 1384 | |
| 1385 | </div> |
| 1386 | </div> |
| 1387 | |
| 1388 | |
| 1389 | <A NAME="getBearing()"></A> |
| 1390 | |
| 1391 | <div class="jd-details api apilevel-"> |
| 1392 | <h4 class="jd-details-title"> |
| 1393 | <span class="normal"> |
| 1394 | public |
| 1395 | |
| 1396 | |
| 1397 | |
| 1398 | |
| 1399 | float |
| 1400 | </span> |
| 1401 | <span class="sympad">getBearing</span> |
| 1402 | <span class="normal">()</span> |
| 1403 | </h4> |
| 1404 | <div class="api-level"> |
| 1405 | <div></div> |
| 1406 | |
| 1407 | |
| 1408 | |
| 1409 | </div> |
| 1410 | <div class="jd-details-descr"> |
| 1411 | |
| 1412 | <div class="jd-tagdata jd-tagdescr"><p>Gets the bearing of the ground overlay in degrees clockwise from north.</p></div> |
| 1413 | <div class="jd-tagdata"> |
| 1414 | <h5 class="jd-tagtitle">Returns</h5> |
| 1415 | <ul class="nolist"><li>the bearing of the ground overlay. |
| 1416 | </li></ul> |
| 1417 | </div> |
| 1418 | |
| 1419 | </div> |
| 1420 | </div> |
| 1421 | |
| 1422 | |
| 1423 | <A NAME="getBounds()"></A> |
| 1424 | |
| 1425 | <div class="jd-details api apilevel-"> |
| 1426 | <h4 class="jd-details-title"> |
| 1427 | <span class="normal"> |
| 1428 | public |
| 1429 | |
| 1430 | |
| 1431 | |
| 1432 | |
| 1433 | <a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a> |
| 1434 | </span> |
| 1435 | <span class="sympad">getBounds</span> |
| 1436 | <span class="normal">()</span> |
| 1437 | </h4> |
| 1438 | <div class="api-level"> |
| 1439 | <div></div> |
| 1440 | |
| 1441 | |
| 1442 | |
| 1443 | </div> |
| 1444 | <div class="jd-details-descr"> |
| 1445 | |
| 1446 | <div class="jd-tagdata jd-tagdescr"><p>Gets the bounds for the ground overlay. This ignores the rotation of the ground overlay.</p></div> |
| 1447 | <div class="jd-tagdata"> |
| 1448 | <h5 class="jd-tagtitle">Returns</h5> |
| 1449 | <ul class="nolist"><li>a <code><a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></code> that contains the ground overlay, ignoring rotation. |
| 1450 | </li></ul> |
| 1451 | </div> |
| 1452 | |
| 1453 | </div> |
| 1454 | </div> |
| 1455 | |
| 1456 | |
| 1457 | <A NAME="getHeight()"></A> |
| 1458 | |
| 1459 | <div class="jd-details api apilevel-"> |
| 1460 | <h4 class="jd-details-title"> |
| 1461 | <span class="normal"> |
| 1462 | public |
| 1463 | |
| 1464 | |
| 1465 | |
| 1466 | |
| 1467 | float |
| 1468 | </span> |
| 1469 | <span class="sympad">getHeight</span> |
| 1470 | <span class="normal">()</span> |
| 1471 | </h4> |
| 1472 | <div class="api-level"> |
| 1473 | <div></div> |
| 1474 | |
| 1475 | |
| 1476 | |
| 1477 | </div> |
| 1478 | <div class="jd-details-descr"> |
| 1479 | |
| 1480 | <div class="jd-tagdata jd-tagdescr"><p>Gets the height of the ground overlay.</p></div> |
| 1481 | <div class="jd-tagdata"> |
| 1482 | <h5 class="jd-tagtitle">Returns</h5> |
| 1483 | <ul class="nolist"><li>the height of the ground overlay in meters. |
| 1484 | </li></ul> |
| 1485 | </div> |
| 1486 | |
| 1487 | </div> |
| 1488 | </div> |
| 1489 | |
| 1490 | |
| 1491 | <A NAME="getId()"></A> |
| 1492 | |
| 1493 | <div class="jd-details api apilevel-"> |
| 1494 | <h4 class="jd-details-title"> |
| 1495 | <span class="normal"> |
| 1496 | public |
| 1497 | |
| 1498 | |
| 1499 | |
| 1500 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1501 | String |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1502 | </span> |
| 1503 | <span class="sympad">getId</span> |
| 1504 | <span class="normal">()</span> |
| 1505 | </h4> |
| 1506 | <div class="api-level"> |
| 1507 | <div></div> |
| 1508 | |
| 1509 | |
| 1510 | |
| 1511 | </div> |
| 1512 | <div class="jd-details-descr"> |
| 1513 | |
| 1514 | <div class="jd-tagdata jd-tagdescr"><p>Gets this ground overlay's id. |
| 1515 | <p> |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 1516 | When a map is restored from a <code><a href="/reference/android/os/Bundle.html">Bundle</a></code>, ground overlays that were on that |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 1517 | map are also restored. However, those ground overlays will then be represented by different |
| 1518 | <code>GroundOverlay</code> objects. A ground overlay's id can be used to retrieve the new |
| 1519 | incarnation of a <code>GroundOverlay</code> object after such restoration.</p></div> |
| 1520 | <div class="jd-tagdata"> |
| 1521 | <h5 class="jd-tagtitle">Returns</h5> |
| 1522 | <ul class="nolist"><li>this ground overlay's id. |
| 1523 | </li></ul> |
| 1524 | </div> |
| 1525 | |
| 1526 | </div> |
| 1527 | </div> |
| 1528 | |
| 1529 | |
| 1530 | <A NAME="getPosition()"></A> |
| 1531 | |
| 1532 | <div class="jd-details api apilevel-"> |
| 1533 | <h4 class="jd-details-title"> |
| 1534 | <span class="normal"> |
| 1535 | public |
| 1536 | |
| 1537 | |
| 1538 | |
| 1539 | |
| 1540 | <a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a> |
| 1541 | </span> |
| 1542 | <span class="sympad">getPosition</span> |
| 1543 | <span class="normal">()</span> |
| 1544 | </h4> |
| 1545 | <div class="api-level"> |
| 1546 | <div></div> |
| 1547 | |
| 1548 | |
| 1549 | |
| 1550 | </div> |
| 1551 | <div class="jd-details-descr"> |
| 1552 | |
| 1553 | <div class="jd-tagdata jd-tagdescr"><p>Gets the location of the anchored point.</p></div> |
| 1554 | <div class="jd-tagdata"> |
| 1555 | <h5 class="jd-tagtitle">Returns</h5> |
| 1556 | <ul class="nolist"><li>the position on the map (a <code><a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a></code>). |
| 1557 | </li></ul> |
| 1558 | </div> |
| 1559 | |
| 1560 | </div> |
| 1561 | </div> |
| 1562 | |
| 1563 | |
| 1564 | <A NAME="getTransparency()"></A> |
| 1565 | |
| 1566 | <div class="jd-details api apilevel-"> |
| 1567 | <h4 class="jd-details-title"> |
| 1568 | <span class="normal"> |
| 1569 | public |
| 1570 | |
| 1571 | |
| 1572 | |
| 1573 | |
| 1574 | float |
| 1575 | </span> |
| 1576 | <span class="sympad">getTransparency</span> |
| 1577 | <span class="normal">()</span> |
| 1578 | </h4> |
| 1579 | <div class="api-level"> |
| 1580 | <div></div> |
| 1581 | |
| 1582 | |
| 1583 | |
| 1584 | </div> |
| 1585 | <div class="jd-details-descr"> |
| 1586 | |
| 1587 | <div class="jd-tagdata jd-tagdescr"><p>Gets the transparency of this ground overlay.</p></div> |
| 1588 | <div class="jd-tagdata"> |
| 1589 | <h5 class="jd-tagtitle">Returns</h5> |
| 1590 | <ul class="nolist"><li>the transparency of this ground overlay. |
| 1591 | </li></ul> |
| 1592 | </div> |
| 1593 | |
| 1594 | </div> |
| 1595 | </div> |
| 1596 | |
| 1597 | |
| 1598 | <A NAME="getWidth()"></A> |
| 1599 | |
| 1600 | <div class="jd-details api apilevel-"> |
| 1601 | <h4 class="jd-details-title"> |
| 1602 | <span class="normal"> |
| 1603 | public |
| 1604 | |
| 1605 | |
| 1606 | |
| 1607 | |
| 1608 | float |
| 1609 | </span> |
| 1610 | <span class="sympad">getWidth</span> |
| 1611 | <span class="normal">()</span> |
| 1612 | </h4> |
| 1613 | <div class="api-level"> |
| 1614 | <div></div> |
| 1615 | |
| 1616 | |
| 1617 | |
| 1618 | </div> |
| 1619 | <div class="jd-details-descr"> |
| 1620 | |
| 1621 | <div class="jd-tagdata jd-tagdescr"><p>Gets the width of the ground overlay.</p></div> |
| 1622 | <div class="jd-tagdata"> |
| 1623 | <h5 class="jd-tagtitle">Returns</h5> |
| 1624 | <ul class="nolist"><li>the width of the ground overlay in meters. |
| 1625 | </li></ul> |
| 1626 | </div> |
| 1627 | |
| 1628 | </div> |
| 1629 | </div> |
| 1630 | |
| 1631 | |
| 1632 | <A NAME="getZIndex()"></A> |
| 1633 | |
| 1634 | <div class="jd-details api apilevel-"> |
| 1635 | <h4 class="jd-details-title"> |
| 1636 | <span class="normal"> |
| 1637 | public |
| 1638 | |
| 1639 | |
| 1640 | |
| 1641 | |
| 1642 | float |
| 1643 | </span> |
| 1644 | <span class="sympad">getZIndex</span> |
| 1645 | <span class="normal">()</span> |
| 1646 | </h4> |
| 1647 | <div class="api-level"> |
| 1648 | <div></div> |
| 1649 | |
| 1650 | |
| 1651 | |
| 1652 | </div> |
| 1653 | <div class="jd-details-descr"> |
| 1654 | |
| 1655 | <div class="jd-tagdata jd-tagdescr"><p>Gets the zIndex of this ground overlay.</p></div> |
| 1656 | <div class="jd-tagdata"> |
| 1657 | <h5 class="jd-tagtitle">Returns</h5> |
| 1658 | <ul class="nolist"><li>the zIndex of the ground overlay. |
| 1659 | </li></ul> |
| 1660 | </div> |
| 1661 | |
| 1662 | </div> |
| 1663 | </div> |
| 1664 | |
| 1665 | |
| 1666 | <A NAME="hashCode()"></A> |
| 1667 | |
| 1668 | <div class="jd-details api apilevel-"> |
| 1669 | <h4 class="jd-details-title"> |
| 1670 | <span class="normal"> |
| 1671 | public |
| 1672 | |
| 1673 | |
| 1674 | |
| 1675 | |
| 1676 | int |
| 1677 | </span> |
| 1678 | <span class="sympad">hashCode</span> |
| 1679 | <span class="normal">()</span> |
| 1680 | </h4> |
| 1681 | <div class="api-level"> |
| 1682 | <div></div> |
| 1683 | |
| 1684 | |
| 1685 | |
| 1686 | </div> |
| 1687 | <div class="jd-details-descr"> |
| 1688 | |
| 1689 | <div class="jd-tagdata jd-tagdescr"><p></p></div> |
| 1690 | |
| 1691 | </div> |
| 1692 | </div> |
| 1693 | |
| 1694 | |
| 1695 | <A NAME="isVisible()"></A> |
| 1696 | |
| 1697 | <div class="jd-details api apilevel-"> |
| 1698 | <h4 class="jd-details-title"> |
| 1699 | <span class="normal"> |
| 1700 | public |
| 1701 | |
| 1702 | |
| 1703 | |
| 1704 | |
| 1705 | boolean |
| 1706 | </span> |
| 1707 | <span class="sympad">isVisible</span> |
| 1708 | <span class="normal">()</span> |
| 1709 | </h4> |
| 1710 | <div class="api-level"> |
| 1711 | <div></div> |
| 1712 | |
| 1713 | |
| 1714 | |
| 1715 | </div> |
| 1716 | <div class="jd-details-descr"> |
| 1717 | |
| 1718 | <div class="jd-tagdata jd-tagdescr"><p>Gets the visibility of this ground overlay. Note that this does not return whether the ground |
| 1719 | overlay is actually on screen, but whether it will be drawn if it is contained in the |
| 1720 | camera's viewport.</p></div> |
| 1721 | <div class="jd-tagdata"> |
| 1722 | <h5 class="jd-tagtitle">Returns</h5> |
| 1723 | <ul class="nolist"><li>this ground overlay's visibility. |
| 1724 | </li></ul> |
| 1725 | </div> |
| 1726 | |
| 1727 | </div> |
| 1728 | </div> |
| 1729 | |
| 1730 | |
| 1731 | <A NAME="remove()"></A> |
| 1732 | |
| 1733 | <div class="jd-details api apilevel-"> |
| 1734 | <h4 class="jd-details-title"> |
| 1735 | <span class="normal"> |
| 1736 | public |
| 1737 | |
| 1738 | |
| 1739 | |
| 1740 | |
| 1741 | void |
| 1742 | </span> |
| 1743 | <span class="sympad">remove</span> |
| 1744 | <span class="normal">()</span> |
| 1745 | </h4> |
| 1746 | <div class="api-level"> |
| 1747 | <div></div> |
| 1748 | |
| 1749 | |
| 1750 | |
| 1751 | </div> |
| 1752 | <div class="jd-details-descr"> |
| 1753 | |
| 1754 | <div class="jd-tagdata jd-tagdescr"><p>Removes this ground overlay from the map. After a ground overlay has been removed, the |
| 1755 | behavior of all its methods is undefined. |
| 1756 | </p></div> |
| 1757 | |
| 1758 | </div> |
| 1759 | </div> |
| 1760 | |
| 1761 | |
| 1762 | <A NAME="setBearing(float)"></A> |
| 1763 | |
| 1764 | <div class="jd-details api apilevel-"> |
| 1765 | <h4 class="jd-details-title"> |
| 1766 | <span class="normal"> |
| 1767 | public |
| 1768 | |
| 1769 | |
| 1770 | |
| 1771 | |
| 1772 | void |
| 1773 | </span> |
| 1774 | <span class="sympad">setBearing</span> |
| 1775 | <span class="normal">(float bearing)</span> |
| 1776 | </h4> |
| 1777 | <div class="api-level"> |
| 1778 | <div></div> |
| 1779 | |
| 1780 | |
| 1781 | |
| 1782 | </div> |
| 1783 | <div class="jd-details-descr"> |
| 1784 | |
| 1785 | <div class="jd-tagdata jd-tagdescr"><p>Sets the bearing of the ground overlay (the direction that the vertical axis of the ground |
| 1786 | overlay points) in degrees clockwise from north. The rotation is performed about the anchor |
| 1787 | point.</p></div> |
| 1788 | <div class="jd-tagdata"> |
| 1789 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1790 | <table class="jd-tagtable"> |
| 1791 | <tr> |
| 1792 | <th>bearing</td> |
| 1793 | <td>bearing in degrees clockwise from north |
| 1794 | </td> |
| 1795 | </tr> |
| 1796 | </table> |
| 1797 | </div> |
| 1798 | |
| 1799 | </div> |
| 1800 | </div> |
| 1801 | |
| 1802 | |
| 1803 | <A NAME="setDimensions(float)"></A> |
| 1804 | |
| 1805 | <div class="jd-details api apilevel-"> |
| 1806 | <h4 class="jd-details-title"> |
| 1807 | <span class="normal"> |
| 1808 | public |
| 1809 | |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 | void |
| 1814 | </span> |
| 1815 | <span class="sympad">setDimensions</span> |
| 1816 | <span class="normal">(float width)</span> |
| 1817 | </h4> |
| 1818 | <div class="api-level"> |
| 1819 | <div></div> |
| 1820 | |
| 1821 | |
| 1822 | |
| 1823 | </div> |
| 1824 | <div class="jd-details-descr"> |
| 1825 | |
| 1826 | <div class="jd-tagdata jd-tagdescr"><p>Sets the dimensions of the ground overlay. The height of the ground overlay will be |
| 1827 | calculated to preserve the proportions inherited from the bitmap.</p></div> |
| 1828 | <div class="jd-tagdata"> |
| 1829 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1830 | <table class="jd-tagtable"> |
| 1831 | <tr> |
| 1832 | <th>width</td> |
| 1833 | <td>width in meters |
| 1834 | </td> |
| 1835 | </tr> |
| 1836 | </table> |
| 1837 | </div> |
| 1838 | |
| 1839 | </div> |
| 1840 | </div> |
| 1841 | |
| 1842 | |
| 1843 | <A NAME="setDimensions(float, float)"></A> |
| 1844 | |
| 1845 | <div class="jd-details api apilevel-"> |
| 1846 | <h4 class="jd-details-title"> |
| 1847 | <span class="normal"> |
| 1848 | public |
| 1849 | |
| 1850 | |
| 1851 | |
| 1852 | |
| 1853 | void |
| 1854 | </span> |
| 1855 | <span class="sympad">setDimensions</span> |
| 1856 | <span class="normal">(float width, float height)</span> |
| 1857 | </h4> |
| 1858 | <div class="api-level"> |
| 1859 | <div></div> |
| 1860 | |
| 1861 | |
| 1862 | |
| 1863 | </div> |
| 1864 | <div class="jd-details-descr"> |
| 1865 | |
| 1866 | <div class="jd-tagdata jd-tagdescr"><p>Sets the dimensions of the ground overlay. The image will be stretched (and hence may not |
| 1867 | retain its proportions) to fit these dimensions.</p></div> |
| 1868 | <div class="jd-tagdata"> |
| 1869 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1870 | <table class="jd-tagtable"> |
| 1871 | <tr> |
| 1872 | <th>width</td> |
| 1873 | <td>width in meters</td> |
| 1874 | </tr> |
| 1875 | <tr> |
| 1876 | <th>height</td> |
| 1877 | <td>height in meters |
| 1878 | </td> |
| 1879 | </tr> |
| 1880 | </table> |
| 1881 | </div> |
| 1882 | |
| 1883 | </div> |
| 1884 | </div> |
| 1885 | |
| 1886 | |
| 1887 | <A NAME="setPosition(com.google.android.gms.maps.model.LatLng)"></A> |
| 1888 | |
| 1889 | <div class="jd-details api apilevel-"> |
| 1890 | <h4 class="jd-details-title"> |
| 1891 | <span class="normal"> |
| 1892 | public |
| 1893 | |
| 1894 | |
| 1895 | |
| 1896 | |
| 1897 | void |
| 1898 | </span> |
| 1899 | <span class="sympad">setPosition</span> |
| 1900 | <span class="normal">(<a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a> latLng)</span> |
| 1901 | </h4> |
| 1902 | <div class="api-level"> |
| 1903 | <div></div> |
| 1904 | |
| 1905 | |
| 1906 | |
| 1907 | </div> |
| 1908 | <div class="jd-details-descr"> |
| 1909 | |
| 1910 | <div class="jd-tagdata jd-tagdescr"><p>Sets the position of the ground overlay by changing the location of the anchored point. |
| 1911 | Preserves all other properties of the image.</p></div> |
| 1912 | <div class="jd-tagdata"> |
| 1913 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1914 | <table class="jd-tagtable"> |
| 1915 | <tr> |
| 1916 | <th>latLng</td> |
| 1917 | <td>a <code><a href="/reference/com/google/android/gms/maps/model/LatLng.html">LatLng</a></code> that is the new location to place the anchor point. |
| 1918 | </td> |
| 1919 | </tr> |
| 1920 | </table> |
| 1921 | </div> |
| 1922 | |
| 1923 | </div> |
| 1924 | </div> |
| 1925 | |
| 1926 | |
| 1927 | <A NAME="setPositionFromBounds(com.google.android.gms.maps.model.LatLngBounds)"></A> |
| 1928 | |
| 1929 | <div class="jd-details api apilevel-"> |
| 1930 | <h4 class="jd-details-title"> |
| 1931 | <span class="normal"> |
| 1932 | public |
| 1933 | |
| 1934 | |
| 1935 | |
| 1936 | |
| 1937 | void |
| 1938 | </span> |
| 1939 | <span class="sympad">setPositionFromBounds</span> |
| 1940 | <span class="normal">(<a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a> bounds)</span> |
| 1941 | </h4> |
| 1942 | <div class="api-level"> |
| 1943 | <div></div> |
| 1944 | |
| 1945 | |
| 1946 | |
| 1947 | </div> |
| 1948 | <div class="jd-details-descr"> |
| 1949 | |
| 1950 | <div class="jd-tagdata jd-tagdescr"><p>Sets the position of the ground overlay by fitting it to the given <code><a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></code>. This |
| 1951 | method will ignore the rotation (bearing) of the ground overlay when positioning it, but the |
| 1952 | bearing will still be used when drawing it.</p></div> |
| 1953 | <div class="jd-tagdata"> |
| 1954 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1955 | <table class="jd-tagtable"> |
| 1956 | <tr> |
| 1957 | <th>bounds</td> |
| 1958 | <td>a <code><a href="/reference/com/google/android/gms/maps/model/LatLngBounds.html">LatLngBounds</a></code> in which to place the ground overlay |
| 1959 | </td> |
| 1960 | </tr> |
| 1961 | </table> |
| 1962 | </div> |
| 1963 | |
| 1964 | </div> |
| 1965 | </div> |
| 1966 | |
| 1967 | |
| 1968 | <A NAME="setTransparency(float)"></A> |
| 1969 | |
| 1970 | <div class="jd-details api apilevel-"> |
| 1971 | <h4 class="jd-details-title"> |
| 1972 | <span class="normal"> |
| 1973 | public |
| 1974 | |
| 1975 | |
| 1976 | |
| 1977 | |
| 1978 | void |
| 1979 | </span> |
| 1980 | <span class="sympad">setTransparency</span> |
| 1981 | <span class="normal">(float transparency)</span> |
| 1982 | </h4> |
| 1983 | <div class="api-level"> |
| 1984 | <div></div> |
| 1985 | |
| 1986 | |
| 1987 | |
| 1988 | </div> |
| 1989 | <div class="jd-details-descr"> |
| 1990 | |
| 1991 | <div class="jd-tagdata jd-tagdescr"><p>Sets the transparency of this ground overlay. See the documentation at the top of this class |
| 1992 | for more information.</p></div> |
| 1993 | <div class="jd-tagdata"> |
| 1994 | <h5 class="jd-tagtitle">Parameters</h5> |
| 1995 | <table class="jd-tagtable"> |
| 1996 | <tr> |
| 1997 | <th>transparency</td> |
| 1998 | <td>a float in the range <code>[0..1]</code> where <code>0</code> means that the ground |
| 1999 | overlay is opaque and <code>1</code> means that the ground overlay is transparent |
| 2000 | </td> |
| 2001 | </tr> |
| 2002 | </table> |
| 2003 | </div> |
| 2004 | |
| 2005 | </div> |
| 2006 | </div> |
| 2007 | |
| 2008 | |
| 2009 | <A NAME="setVisible(boolean)"></A> |
| 2010 | |
| 2011 | <div class="jd-details api apilevel-"> |
| 2012 | <h4 class="jd-details-title"> |
| 2013 | <span class="normal"> |
| 2014 | public |
| 2015 | |
| 2016 | |
| 2017 | |
| 2018 | |
| 2019 | void |
| 2020 | </span> |
| 2021 | <span class="sympad">setVisible</span> |
| 2022 | <span class="normal">(boolean visible)</span> |
| 2023 | </h4> |
| 2024 | <div class="api-level"> |
| 2025 | <div></div> |
| 2026 | |
| 2027 | |
| 2028 | |
| 2029 | </div> |
| 2030 | <div class="jd-details-descr"> |
| 2031 | |
| 2032 | <div class="jd-tagdata jd-tagdescr"><p>Sets the visibility of this ground overlay. When not visible, a ground overlay is not drawn, |
| 2033 | but it keeps all of its other properties.</p></div> |
| 2034 | <div class="jd-tagdata"> |
| 2035 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2036 | <table class="jd-tagtable"> |
| 2037 | <tr> |
| 2038 | <th>visible</td> |
| 2039 | <td>if <code>true</code>, then the ground overlay is visible; if <code>false</code>, it is |
| 2040 | not |
| 2041 | </td> |
| 2042 | </tr> |
| 2043 | </table> |
| 2044 | </div> |
| 2045 | |
| 2046 | </div> |
| 2047 | </div> |
| 2048 | |
| 2049 | |
| 2050 | <A NAME="setZIndex(float)"></A> |
| 2051 | |
| 2052 | <div class="jd-details api apilevel-"> |
| 2053 | <h4 class="jd-details-title"> |
| 2054 | <span class="normal"> |
| 2055 | public |
| 2056 | |
| 2057 | |
| 2058 | |
| 2059 | |
| 2060 | void |
| 2061 | </span> |
| 2062 | <span class="sympad">setZIndex</span> |
| 2063 | <span class="normal">(float zIndex)</span> |
| 2064 | </h4> |
| 2065 | <div class="api-level"> |
| 2066 | <div></div> |
| 2067 | |
| 2068 | |
| 2069 | |
| 2070 | </div> |
| 2071 | <div class="jd-details-descr"> |
| 2072 | |
| 2073 | <div class="jd-tagdata jd-tagdescr"><p>Sets the zIndex of this ground overlay. See the documentation at the top of this class for |
| 2074 | more information.</p></div> |
| 2075 | <div class="jd-tagdata"> |
| 2076 | <h5 class="jd-tagtitle">Parameters</h5> |
| 2077 | <table class="jd-tagtable"> |
| 2078 | <tr> |
| 2079 | <th>zIndex</td> |
| 2080 | <td>the zIndex of this ground overlay |
| 2081 | </td> |
| 2082 | </tr> |
| 2083 | </table> |
| 2084 | </div> |
| 2085 | |
| 2086 | </div> |
| 2087 | </div> |
| 2088 | |
| 2089 | |
| 2090 | |
| 2091 | |
| 2092 | |
| 2093 | <!-- ========= METHOD DETAIL ======== --> |
| 2094 | |
| 2095 | |
| 2096 | |
| 2097 | <!-- ========= END OF CLASS DATA ========= --> |
| 2098 | <A NAME="navbar_top"></A> |
| 2099 | |
| 2100 | <div id="footer" class="wrap" > |
| 2101 | |
| 2102 | |
| 2103 | <div id="copyright"> |
| 2104 | |
| 2105 | Except as noted, this content is licensed under <a |
| 2106 | href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>. |
| 2107 | For details and restrictions, see the <a href="/license.html"> |
| 2108 | Content License</a>. |
| 2109 | </div> |
| 2110 | <div id="build_info"> |
| 2111 | |
Robert Ly | 672b3ad | 2012-11-30 16:15:46 -0800 | [diff] [blame^] | 2112 | Android r - 30 Nov 2012 16:06 |
Robert Ly | 3c4b4f7 | 2012-11-30 04:02:04 -0800 | [diff] [blame] | 2113 | |
| 2114 | </div> |
| 2115 | |
| 2116 | |
| 2117 | <div id="footerlinks"> |
| 2118 | |
| 2119 | <p> |
| 2120 | <a href="/about/index.html">About Android</a> | |
| 2121 | <a href="/legal.html">Legal</a> | |
| 2122 | <a href="/support.html">Support</a> |
| 2123 | </p> |
| 2124 | </div> |
| 2125 | |
| 2126 | </div> <!-- end footer --> |
| 2127 | </div> <!-- jd-content --> |
| 2128 | |
| 2129 | </div><!-- end doc-content --> |
| 2130 | |
| 2131 | </div> <!-- end body-content --> |
| 2132 | |
| 2133 | |
| 2134 | |
| 2135 | |
| 2136 | <!-- Grid - for dev |
| 2137 | <script type="text/javascript"> |
| 2138 | |
| 2139 | window.gOverride = { |
| 2140 | gColor: '#FF0000', |
| 2141 | pColor: '#EEEEEE', |
| 2142 | gOpacity: 0.10, |
| 2143 | pOpacity: 0.40, |
| 2144 | pHeight: 16, |
| 2145 | pOffset: 2, |
| 2146 | gColumns:16, |
| 2147 | gEnabled:false, |
| 2148 | pEnabled:false |
| 2149 | } |
| 2150 | </script> |
| 2151 | |
| 2152 | <link href="/assets/js/grid/960.gridder.css" rel="stylesheet" type="text/css"> |
| 2153 | <script src="/assets/js/grid/960.gridder.js" type="text/javascript"></script> |
| 2154 | --> |
| 2155 | |
| 2156 | |
| 2157 | |
| 2158 | |
| 2159 | |
| 2160 | <script type="text/javascript"> |
| 2161 | init(); /* initialize android-developer-docs.js */ |
| 2162 | var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
| 2163 | document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
| 2164 | </script> |
| 2165 | |
| 2166 | <script type="text/javascript"> |
| 2167 | var pageTracker = _gat._getTracker("UA-5831155-1"); |
| 2168 | pageTracker._trackPageview(); |
| 2169 | </script> |
| 2170 | |
| 2171 | |
| 2172 | |
| 2173 | </body> |
| 2174 | </html> |