blob: 019465273b5093e9e1747446adc6275816516fb2 [file] [log] [blame]
Robert Ly3c4b4f72012-11-30 04:02:04 -08001<!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
Dirk Dougherty78ec7322013-09-16 10:37:40 -070076
77
Quddus Chong26ca3fa2014-05-06 17:02:49 -070078
79
80
81
82
83
84
Quddus Chong559c0062014-06-12 13:59:34 -070085
86
Quddus Chong2b4b3d22014-10-26 18:10:42 -070087
88
89
90
91
92
93
94
95
96
97
Quddus Chongfd19ada2014-11-18 16:41:07 -080098
Joe Fernandez77869172015-03-19 16:36:02 +000099
100
Robert Ly3c4b4f72012-11-30 04:02:04 -0800101<html>
102<head>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700103
104
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700105<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
106<meta name="viewport" content="width=device-width" />
Robert Ly3c4b4f72012-11-30 04:02:04 -0800107
108<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
109<title>BitmapDescriptorFactory | Android Developers</title>
110
111<!-- STYLESHEETS -->
112<link rel="stylesheet"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700113href="//fonts.googleapis.com/css?family=Roboto+Condensed">
114<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:light,regular,medium,thin,italic,mediumitalic,bold"
115 title="roboto">
Joe Fernandez77869172015-03-19 16:36:02 +0000116<link href="/assets/css/default.css?v=5" rel="stylesheet" type="text/css">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800117
118
119
120<!-- JAVASCRIPT -->
Dirk Dougherty8a72b6e2013-02-01 15:00:09 -0800121<script src="//www.google.com/jsapi" type="text/javascript"></script>
Robert Lyf6f5cf42013-02-04 18:24:15 -0800122<script src="/assets/js/android_3p-bundle.js" type="text/javascript"></script>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800123<script type="text/javascript">
124 var toRoot = "/";
Dirk Doughertyd1898452013-12-02 11:34:20 -0800125 var metaTags = [];
Robert Lyf6f5cf42013-02-04 18:24:15 -0800126 var devsite = false;
Robert Ly3c4b4f72012-11-30 04:02:04 -0800127</script>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800128<script src="/assets/js/docs.js?v=3" type="text/javascript"></script>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800129
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700130
131
Quddus Chong559c0062014-06-12 13:59:34 -0700132<script>
133 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
134 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
135 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
136 })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
Robert Lyf6f5cf42013-02-04 18:24:15 -0800137
Quddus Chong559c0062014-06-12 13:59:34 -0700138 ga('create', 'UA-5831155-1', 'android.com');
139 ga('create', 'UA-49880327-2', 'android.com', {'name': 'universal'}); // New tracker);
140 ga('send', 'pageview');
141 ga('universal.send', 'pageview'); // Send page view for new tracker.
Robert Lyf6f5cf42013-02-04 18:24:15 -0800142</script>
Quddus Chong559c0062014-06-12 13:59:34 -0700143
Robert Ly3c4b4f72012-11-30 04:02:04 -0800144</head>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700145
Robert Ly555c93b2012-12-03 12:24:07 -0800146<body class="gc-documentation google
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700147 develop reference" itemscope itemtype="http://schema.org/Article">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800148 <div id="doc-api-level" class="" style="display:none"></div>
149 <a name="top"></a>
150
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700151
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700152<a name="top"></a>
153
Quddus Chongfd19ada2014-11-18 16:41:07 -0800154<!-- dialog to prompt lang pref change when loaded from hardcoded URL
155<div id="langMessage" style="display:none">
156 <div>
157 <div class="lang en">
158 <p>You requested a page in English, would you like to proceed with this language setting?</p>
159 </div>
160 <div class="lang es">
161 <p>You requested a page in Spanish (Español), would you like to proceed with this language setting?</p>
162 </div>
163 <div class="lang ja">
164 <p>You requested a page in Japanese (日本語), would you like to proceed with this language setting?</p>
165 </div>
166 <div class="lang ko">
167 <p>You requested a page in Korean (한국어), would you like to proceed with this language setting?</p>
168 </div>
169 <div class="lang ru">
170 <p>You requested a page in Russian (Русский), would you like to proceed with this language setting?</p>
171 </div>
172 <div class="lang zh-cn">
173 <p>You requested a page in Simplified Chinese (简体中文), would you like to proceed with this language setting?</p>
174 </div>
175 <div class="lang zh-tw">
176 <p>You requested a page in Traditional Chinese (繁體中文), would you like to proceed with this language setting?</p>
177 </div>
178 <a href="#" class="button yes" onclick="return false;">
179 <span class="lang en">Yes</span>
180 <span class="lang es">Sí</span>
181 <span class="lang ja">Yes</span>
182 <span class="lang ko">Yes</span>
183 <span class="lang ru">Yes</span>
184 <span class="lang zh-cn">是的</span>
185 <span class="lang zh-tw">没有</span>
186 </a>
187 <a href="#" class="button" onclick="$('#langMessage').hide();return false;">
188 <span class="lang en">No</span>
189 <span class="lang es">No</span>
190 <span class="lang ja">No</span>
191 <span class="lang ko">No</span>
192 <span class="lang ru">No</span>
193 <span class="lang zh-cn">没有</span>
194 <span class="lang zh-tw">没有</span>
195 </a>
196 </div>
197</div> -->
198
199
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700200 <!-- Header -->
201 <div id="header-wrapper">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800202 <div id="header">
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700203
Quddus Chongfd19ada2014-11-18 16:41:07 -0800204
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700205
206
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700207 <div class="wrap" id="header-wrap">
208 <div class="col-3 logo">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800209 <a href="/index.html">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700210 <img src="/assets/images/dac_logo.png"
211 srcset="/assets/images/dac_logo@2x.png 2x"
212 width="123" height="25" alt="Android Developers" />
Robert Ly3c4b4f72012-11-30 04:02:04 -0800213 </a>
214 <div class="btn-quicknav" id="btn-quicknav">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700215 <a href="#" class="arrow-inactive">Quicknav</a>
216 <a href="#" class="arrow-active">Quicknav</a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800217 </div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700218 </div>
219 <ul class="nav-x col-9">
220 <li class="design">
221 <a href="/design/index.html"
222 zh-tw-lang="設計"
223 zh-cn-lang="设计"
224 ru-lang="Проектирование"
225 ko-lang="디자인"
226 ja-lang="設計"
227 es-lang="Diseñar"
228 >Design</a></li>
229 <li class="develop"><a href="/develop/index.html"
230 zh-tw-lang="開發"
231 zh-cn-lang="开发"
232 ru-lang="Разработка"
233 ko-lang="개발"
234 ja-lang="開発"
235 es-lang="Desarrollar"
236 >Develop</a></li>
237 <li class="distribute last"><a href="/distribute/index.html"
238 zh-tw-lang="發佈"
239 zh-cn-lang="分发"
240 ru-lang="Распространение"
241 ko-lang="배포"
242 ja-lang="配布"
243 es-lang="Distribuir"
244 >Distribute</a></li>
245 </ul>
246
247
Quddus Chongfd19ada2014-11-18 16:41:07 -0800248
249
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700250<div class="menu-container">
251 <div class="moremenu">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800252 <div id="more-btn"></div>
253 </div>
254 <div class="morehover" id="moremenu">
255 <div class="top"></div>
256 <div class="mid">
257 <div class="header">Links</div>
258 <ul>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700259 <li><a href="https://play.google.com/apps/publish/" target="_googleplay">Google Play Developer Console</a></li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800260 <li><a href="http://android-developers.blogspot.com/">Android Developers Blog</a></li>
261 <li><a href="/about/index.html">About Android</a></li>
262 </ul>
263 <div class="header">Android Sites</div>
264 <ul>
265 <li><a href="http://www.android.com">Android.com</a></li>
266 <li class="active"><a>Android Developers</a></li>
267 <li><a href="http://source.android.com">Android Open Source Project</a></li>
268 </ul>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700269
Robert Lyf6f5cf42013-02-04 18:24:15 -0800270
271
272 <div class="header">Language</div>
273 <div id="language" class="locales">
274 <select name="language" onChange="changeLangPref(this.value, true)">
275 <option value="en">English</option>
276 <option value="es">Español</option>
277 <option value="ja">日本語</option>
278 <option value="ko">한국어</option>
279 <option value="ru">Русский</option>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800280 <option value="zh-cn">中文(简体)</option>
281 <option value="zh-tw">中文(繁體)</option>
Robert Lyf6f5cf42013-02-04 18:24:15 -0800282 </select>
283 </div>
284 <script type="text/javascript">
285 <!--
286 loadLangPref();
287 //-->
288 </script>
289
290
Robert Ly3c4b4f72012-11-30 04:02:04 -0800291 <br class="clearfix" />
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700292 </div><!-- end 'mid' -->
Robert Ly3c4b4f72012-11-30 04:02:04 -0800293 <div class="bottom"></div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700294 </div><!-- end 'moremenu' -->
295
Robert Ly3c4b4f72012-11-30 04:02:04 -0800296 <div class="search" id="search-container">
297 <div class="search-inner">
298 <div id="search-btn"></div>
299 <div class="left"></div>
300 <form onsubmit="return submit_search()">
301 <input id="search_autocomplete" type="text" value="" autocomplete="off" name="q"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700302 onfocus="search_focus_changed(this, true)" onblur="search_focus_changed(this, false)"
303 onkeydown="return search_changed(event, true, '/')"
304 onkeyup="return search_changed(event, false, '/')" />
Robert Ly3c4b4f72012-11-30 04:02:04 -0800305 </form>
306 <div class="right"></div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700307 <a class="close hide">close</a>
308 <div class="left"></div>
309 <div class="right"></div>
310 </div><!-- end search-inner -->
311 </div><!-- end search-container -->
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700312
313 <div class="search_filtered_wrapper reference">
314 <div class="suggest-card reference no-display">
315 <ul class="search_filtered">
316 </ul>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800317 </div>
318 </div>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700319
320 <div class="search_filtered_wrapper docs">
321 <div class="suggest-card dummy no-display">&nbsp;</div>
322 <div class="suggest-card develop no-display">
323 <ul class="search_filtered">
324 </ul>
325 <div class="child-card guides no-display">
326 </div>
327 <div class="child-card training no-display">
328 </div>
quddusc563daee2013-12-03 19:31:14 -0800329 <div class="child-card samples no-display">
330 </div>
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700331 </div>
332 <div class="suggest-card design no-display">
333 <ul class="search_filtered">
334 </ul>
335 </div>
336 <div class="suggest-card distribute no-display">
337 <ul class="search_filtered">
338 </ul>
339 </div>
340 </div>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700341</div><!-- end menu-container (search and menu widget) -->
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700342
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700343
344
345 <!-- Expanded quicknav -->
Quddus Chong559c0062014-06-12 13:59:34 -0700346 <div id="quicknav" class="col-13">
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700347 <ul>
Quddus Chong559c0062014-06-12 13:59:34 -0700348 <li class="about">
349 <ul>
350 <li><a href="/about/index.html">About</a></li>
351 <li><a href="/wear/index.html">Wear</a></li>
352 <li><a href="/tv/index.html">TV</a></li>
353 <li><a href="/auto/index.html">Auto</a></li>
354 </ul>
355 </li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700356 <li class="design">
357 <ul>
358 <li><a href="/design/index.html">Get Started</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700359 <li><a href="/design/devices.html">Devices</a></li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700360 <li><a href="/design/style/index.html">Style</a></li>
361 <li><a href="/design/patterns/index.html">Patterns</a></li>
362 <li><a href="/design/building-blocks/index.html">Building Blocks</a></li>
363 <li><a href="/design/downloads/index.html">Downloads</a></li>
364 <li><a href="/design/videos/index.html">Videos</a></li>
365 </ul>
366 </li>
367 <li class="develop">
368 <ul>
369 <li><a href="/training/index.html"
370 zh-tw-lang="訓練課程"
371 zh-cn-lang="培训"
372 ru-lang="Курсы"
373 ko-lang="교육"
374 ja-lang="トレーニング"
375 es-lang="Capacitación"
376 >Training</a></li>
377 <li><a href="/guide/index.html"
378 zh-tw-lang="API 指南"
379 zh-cn-lang="API 指南"
380 ru-lang="Руководства по API"
381 ko-lang="API 가이드"
382 ja-lang="API ガイド"
383 es-lang="Guías de la API"
384 >API Guides</a></li>
385 <li><a href="/reference/packages.html"
386 zh-tw-lang="參考資源"
387 zh-cn-lang="参考"
388 ru-lang="Справочник"
389 ko-lang="참조문서"
390 ja-lang="リファレンス"
391 es-lang="Referencia"
392 >Reference</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700393 <li><a href="/sdk/index.html"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700394 zh-tw-lang="相關工具"
395 zh-cn-lang="工具"
396 ru-lang="Инструменты"
397 ko-lang="도구"
398 ja-lang="ツール"
399 es-lang="Herramientas"
400 >Tools</a>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700401 </li>
402 <li><a href="/google/index.html">Google Services</a>
403 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800404
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700405 <li><a href="/samples/index.html">Samples</a>
406 </li>
Quddus Chongfd19ada2014-11-18 16:41:07 -0800407
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700408 </ul>
409 </li>
410 <li class="distribute last">
411 <ul>
412 <li><a href="/distribute/googleplay/index.html">Google Play</a></li>
413 <li><a href="/distribute/essentials/index.html">Essentials</a></li>
414 <li><a href="/distribute/users/index.html">Get Users</a></li>
415 <li><a href="/distribute/engage/index.html">Engage &amp; Retain</a></li>
416 <li><a href="/distribute/monetize/index.html">Monetize</a></li>
Joe Fernandez77869172015-03-19 16:36:02 +0000417 <li><a href="/distribute/analyze/index.html">Analyze</a></li>
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700418 <li><a href="/distribute/tools/index.html">Tools &amp; Reference</a></li>
419 <li><a href="/distribute/stories/index.html">Developer Stories</a></li>
420 </ul>
421 </li>
422 </ul>
423 </div><!-- /Expanded quicknav -->
424 </div><!-- end header-wrap.wrap -->
425 </div><!-- end header -->
426
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700427
Robert Ly3c4b4f72012-11-30 04:02:04 -0800428 <!-- Secondary x-nav -->
429 <div id="nav-x">
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700430 <div class="wrap" style="position:relative;z-index:1">
431
Quddus Chongfd19ada2014-11-18 16:41:07 -0800432
433
434
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700435
Robert Ly3c4b4f72012-11-30 04:02:04 -0800436 <ul class="nav-x col-9 develop" style="width:100%">
Robert Ly05c8e632013-02-25 14:43:01 -0800437 <li class="training"><a href="/training/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700438 zh-tw-lang="訓練課程"
439 zh-cn-lang="培训"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800440 ru-lang="Курсы"
441 ko-lang="교육"
442 ja-lang="トレーニング"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700443 es-lang="Capacitación"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800444 >Training</a></li>
quddusc563daee2013-12-03 19:31:14 -0800445 <li class="guide"><a href="/guide/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700446 zh-tw-lang="API 指南"
447 zh-cn-lang="API 指南"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800448 ru-lang="Руководства по API"
449 ko-lang="API 가이드"
450 ja-lang="API ガイド"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700451 es-lang="Guías de la API"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800452 >API Guides</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800453 <li class="reference"><a href="/reference/packages.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700454 zh-tw-lang="參考資源"
455 zh-cn-lang="参考"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800456 ru-lang="Справочник"
457 ko-lang="참조문서"
458 ja-lang="リファレンス"
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700459 es-lang="Referencia"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800460 >Reference</a></li>
Quddus Chong559c0062014-06-12 13:59:34 -0700461 <li class="tools"><a href="/sdk/index.html"
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700462 zh-tw-lang="相關工具"
463 zh-cn-lang="工具"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800464 ru-lang="Инструменты"
465 ko-lang="도구"
466 ja-lang="ツール"
467 es-lang="Herramientas"
468 >Tools</a></li>
Robert Ly05c8e632013-02-25 14:43:01 -0800469 <li class="google"><a href="/google/index.html"
Robert Ly3c4b4f72012-11-30 04:02:04 -0800470 >Google Services</a>
471 </li>
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700472
Dirk Doughertyd1898452013-12-02 11:34:20 -0800473 <li class="samples"><a href="/samples/index.html"
474 >Samples</a>
475 </li>
476
Robert Ly3c4b4f72012-11-30 04:02:04 -0800477 </ul>
478 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800479 </div>
Quddus Chong559c0062014-06-12 13:59:34 -0700480 <!-- /Sendondary x-nav DEVELOP -->
Robert Ly3c4b4f72012-11-30 04:02:04 -0800481
482
Robert Ly3c4b4f72012-11-30 04:02:04 -0800483
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700484 <div id="searchResults" class="wrap" style="display:none;">
485 <h2 id="searchTitle">Results</h2>
486 <div id="leftSearchControl" class="search-control">Loading...</div>
487 </div>
488 </div> <!--end header-wrapper -->
489
490 <div id="sticky-header">
491 <div>
492 <a class="logo" href="#top"></a>
493 <a class="top" href="#top"></a>
494 <ul class="breadcrumb">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800495
Quddus Chong26ca3fa2014-05-06 17:02:49 -0700496 <li class="current">BitmapDescriptorFactory</li>
497 </ul>
498 </div>
499 </div>
500
501
502
503
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700504
505
Robert Ly3c4b4f72012-11-30 04:02:04 -0800506 <div class="wrap clearfix" id="body-content">
507 <div class="col-4" id="side-nav" itemscope itemtype="http://schema.org/SiteNavigationElement">
508 <div id="devdoc-nav" class="scroll-pane">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800509
510
511
512<ul id="nav">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700513
Robert Ly3c4b4f72012-11-30 04:02:04 -0800514 <li class="nav-section">
515 <div class="nav-section-header empty"><a href="/google/index.html">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700516 <span class="en">Overview</span>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800517 </a></div>
518 </li>
519
520 <li class="nav-section">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700521 <div class="nav-section-header empty"><a href="/google/play-services/games.html">
522 <span class="en">Games</span>
523 </a></div>
524 </li>
525 <li class="nav-section">
526 <div class="nav-section-header empty"><a href="/google/play-services/location.html">
527 <span class="en">Location</span>
528 </a></div>
529 </li>
530 <li class="nav-section">
531 <div class="nav-section-header empty"><a href="/google/play-services/plus.html">
532 <span class="en">Google+</span>
533 </a></div>
534 </li>
535 <li class="nav-section">
536 <div class="nav-section-header empty"><a href="/google/play-services/maps.html">
Dirk Doughertyeb768482013-10-29 22:25:12 -0700537 <span class="en">Maps</span>
538 </a></div>
539 </li>
540 <li class="nav-section">
Dirk Dougherty16542642014-02-07 19:58:28 -0800541 <div class="nav-section-header empty"><a href="/google/play-services/drive.html">
542 <span class="en">Drive</span>
543 </a></div>
544 </li>
545 <li class="nav-section">
546 <div class="nav-section-header empty"><a href="/google/play-services/cast.html">
547 <span class="en">Cast</span>
548 </a></div>
549 </li>
550 <li class="nav-section">
Dirk Doughertyeb768482013-10-29 22:25:12 -0700551 <div class="nav-section-header"><a href="/google/play-services/ads.html">
552 <span class="en">Ads</span></a>
553 </div>
554 <ul>
555 <li><a href="/google/play-services/id.html">
556 <span class="en">Advertising ID</span></a>
557 </li>
558 </ul>
559 </li>
560 <li class="nav-section">
561 <div class="nav-section-header empty"><a href="/google/play-services/wallet.html">
562 <span class="en">Wallet</span>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700563 </a></div>
564 </li>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700565
566
567 <li class="nav-section">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800568 <div class="nav-section-header"><a href="/google/play-services/index.html">
Robert Lyd84d5cc2013-01-04 10:13:35 -0800569 <span class="en">Google Play Services</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800570 </div>
571 <ul>
572 <li><a href="/google/play-services/setup.html">
Quddus Chonge457fb62014-09-11 18:55:43 -0700573 <span class="en">Setting Up Google Play Services</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800574 </li>
quddusc682d8e92014-03-13 11:55:32 -0700575 <li class="nav-section">
576 <div class="nav-section-header"><a href="/google/auth/api-client.html">
Quddus Chonge457fb62014-09-11 18:55:43 -0700577 <span class="en">Accessing Google APIs</span></a>
quddusc682d8e92014-03-13 11:55:32 -0700578 </div>
579 <ul>
580 <li>
581 <a href="/google/auth/http-auth.html">
582 <span class="en">Authorizing with Google for REST APIs</span>
583 </a>
584 </li>
585 </ul>
586 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800587 <li id="gms-tree-list" class="nav-section">
588 <div class="nav-section-header">
589 <a href="/reference/gms-packages.html">
590 <span class="en">Reference</span>
591 </a>
592 <div>
593 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800594 </ul>
595 </li>
596
Robert Lyd84d5cc2013-01-04 10:13:35 -0800597
Robert Ly3c4b4f72012-11-30 04:02:04 -0800598 <li class="nav-section">
Joe Fernandez77869172015-03-19 16:36:02 +0000599 <div class="nav-section-header"><a href="/google/play/billing/index.html" zh-cn-lang="应用内结算">
Robert Ly672b3ad2012-11-30 16:15:46 -0800600 <span class="en">Google Play In-app Billing</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800601 </div>
602 <ul>
Joe Fernandez77869172015-03-19 16:36:02 +0000603 <li><a href="/google/play/billing/billing_overview.html" zh-cn-lang="应用内结算概述">
Robert Lyd84d5cc2013-01-04 10:13:35 -0800604 <span class="en">Overview</span></a>
605 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000606 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/api.html" zh-cn-lang="应用内结算 API">
Robert Lyd84d5cc2013-01-04 10:13:35 -0800607 <span class="en">Version 3 API</span></a></div>
608 <ul>
609 <li><a href="/google/play/billing/billing_integrate.html">
610 <span class="en">Implementing the API</span></a></li>
611 <li><a href="/google/play/billing/billing_reference.html">
612 <span class="en">Reference</span></a></li>
613 </ul>
614 </li>
615 <li class="nav-section"><div class="nav-section-header"><a href="/google/play/billing/v2/api.html">
616 <span class="en">Version 2 API</span></a></div>
617 <ul>
618 <li><a href="/google/play/billing/v2/billing_integrate.html">
619 <span class="en">Implementing the API</span></a></li>
620 <li><a href="/google/play/billing/v2/billing_subscriptions.html">
621 <span class="en">Subscriptions</span></a></li>
622 <li><a href="/google/play/billing/v2/billing_reference.html">
623 <span class="en">Reference</span></a></li>
624 </ul>
625 </li>
Robert Ly05c8e632013-02-25 14:43:01 -0800626 <li><a href="/google/play/billing/billing_subscriptions.html">
627 <span class="en">Subscriptions</span></a>
628 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000629 <li><a href="/google/play/billing/billing_best_practices.html" zh-cn-lang="安全性和设计">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800630 <span class="en">Security and Design</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800631 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000632 <li><a href="/google/play/billing/billing_testing.html" zh-cn-lang="测试应用内结算">
Robert Ly555c93b2012-12-03 12:24:07 -0800633 <span class="en">Testing In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800634 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000635 <li><a href="/google/play/billing/billing_admin.html" zh-cn-lang="管理应用内结算">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800636 <span class="en">Administering In-app Billing</span></a>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800637 </li>
638 <li><a href="/google/play/billing/versions.html">
639 <span class="en">Version Notes</span></a>
640 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800641 </ul>
642 </li>
643
Dirk Doughertya38ca332013-05-15 02:36:33 -0700644
645
Dirk Doughertyd1898452013-12-02 11:34:20 -0800646 <li class="nav-section">
Dirk Doughertya38ca332013-05-15 02:36:33 -0700647 <div class="nav-section-header"><a href="/google/gcm/index.html">
648 <span class="en">Google Cloud Messaging</span></a>
649 </div>
650 <ul>
Dirk Doughertyd1898452013-12-02 11:34:20 -0800651 <li><a href="/google/gcm/gcm.html">
652 <span class="en">Overview</span></a>
653 </li>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700654 <li><a href="/google/gcm/gs.html">
655 <span class="en">Getting Started</span></a>
656 </li>
Dirk Doughertyd1898452013-12-02 11:34:20 -0800657 <li><a href="/google/gcm/client.html">
658 <span class="en">Implementing GCM Client</span></a>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700659 </li>
Dirk Doughertyd1898452013-12-02 11:34:20 -0800660 <li class="nav-section"><div class="nav-section-header"><a href="/google/gcm/server.html">
661 <span class="en">Implementing GCM Server</span></a></div>
662 <ul>
663 <li><a href="/google/gcm/ccs.html">
664 <span class="en">CCS (XMPP)</span></a></li>
665 <li><a href="/google/gcm/http.html">
666 <span class="en">HTTP</span></a></li>
667 </ul>
Dirk Doughertyfe3da792013-06-12 18:06:08 -0700668 </li>
Joe Fernandez77869172015-03-19 16:36:02 +0000669 <li><a href="/google/gcm/server-ref.html">
670 <span class="en">Server Reference</span></a>
671 </li>
Dirk Doughertyfe3da792013-06-12 18:06:08 -0700672 <li><a href="/google/gcm/notifications.html">
673 <span class="en">User Notifications</span></a>
674 </li>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700675 <li><a href="/google/gcm/c2dm.html">
676 <span class="en">Migration</span></a>
677 </li>
Dirk Doughertya38ca332013-05-15 02:36:33 -0700678 </ul>
679 </li>
680
Robert Ly3c4b4f72012-11-30 04:02:04 -0800681 <li class="nav-section">
Quddus Chonge457fb62014-09-11 18:55:43 -0700682 <div class="nav-section-header empty"><a href="/google/gcs/index.html">
683 <span class="en">Google Cloud Save</span></a>
684 </div>
685 </li>
686
687 <li class="nav-section">
Robert Ly3c4b4f72012-11-30 04:02:04 -0800688 <div class="nav-section-header"><a href="/google/play/dist.html">
Robert Ly672b3ad2012-11-30 16:15:46 -0800689 <span class="en">Google Play Distribution</span></a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800690 </div>
691 <ul>
692 <li><a href="/google/play/filters.html">
693 <span class="en">Filters on Google Play</span></a>
694 </li>
Quddus Chonge457fb62014-09-11 18:55:43 -0700695 <li><a href="/google/play/billing/gp-purchase-status-api.html">
696 <span class="en">Google Play Developer API</span></a>
697 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800698 <li><a href="/google/play/publishing/multiple-apks.html">
699 <span class="en">Multiple APK Support</span></a>
700 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800701 <li><a href="/google/play/expansion-files.html">
702 <span class="en">APK Expansion Files</span></a>
703 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800704 <li class="nav-section">
705 <div class="nav-section-header"><a href="/google/play/licensing/index.html">
706 <span class="en">Application Licensing</span></a>
707 </div>
708 <ul>
709 <li><a href="/google/play/licensing/overview.html">
710 <span class="en">Licensing Overview</span></a>
711 </li>
712 <li><a href="/google/play/licensing/setting-up.html">
713 <span class="en">Setting Up for Licensing</span></a>
714 </li>
715 <li><a href="/google/play/licensing/adding-licensing.html">
716 <span class="en">Adding Licensing to Your App</span></a>
717 </li>
718 <li><a href="/google/play/licensing/licensing-reference.html">
719 <span class="en">Licensing Reference</span></a>
720 </li>
721 </ul>
722 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800723
Robert Lyd84d5cc2013-01-04 10:13:35 -0800724 <li class="nav-section">
725 <div class="nav-section-header"><a href="/google/backup/index.html">
726 Android Backup Service</a>
727 </div>
728 <ul>
729 <li><a href="/google/backup/signup.html">
730 Register</a>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800731 </li>
Robert Lyd84d5cc2013-01-04 10:13:35 -0800732 </ul>
733 </li>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800734
Dirk Doughertya38ca332013-05-15 02:36:33 -0700735 </ul>
736
737</li>
738
739
740
Robert Ly3c4b4f72012-11-30 04:02:04 -0800741</ul>
742
743<script type="text/javascript">
744<!--
745 buildToggleLists();
746 changeNavLang(getLangPref());
747//-->
748</script>
749
750
751
752
753 </div>
754 <script type="text/javascript">
755 showGoogleRefTree();
756
757 </script>
758 </div> <!-- end side-nav -->
759 <script>
760 $(document).ready(function() {
761 scrollIntoView("devdoc-nav");
762 });
763 </script>
764
765
Dirk Dougherty4af1bf82013-05-09 15:04:08 -0700766
767
Robert Ly3c4b4f72012-11-30 04:02:04 -0800768
769
770<div class="col-12" id="doc-col">
771
772<div id="api-info-block">
773
774
775
776
777
778
779
780
781
782
783
784<div class="sum-details-links">
785
786Summary:
787
788
789
790
791
792 <a href="#constants">Constants</a>
793
794
795
796
797
798
799
800
801 &#124; <a href="#pubmethods">Methods</a>
802
803
804
805
806 &#124; <a href="#inhmethods">Inherited Methods</a>
807
808&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
809
810</div><!-- end sum-details-links -->
811<div class="api-level">
812
813
814
815
816</div>
817</div><!-- end api-info-block -->
818
819
820<!-- ======== START OF CLASS DATA ======== -->
821
822<div id="jd-header">
823 public
824
825 final
826
827 class
828<h1 itemprop="name">BitmapDescriptorFactory</h1>
829
830
831
832
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700833 extends Object<br/>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800834
835
836
837
838
839
840
841
842
Quddus Chongfd19ada2014-11-18 16:41:07 -0800843
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700844
845
Robert Ly3c4b4f72012-11-30 04:02:04 -0800846</div><!-- end header -->
847
848<div id="naMessage"></div>
849
850<div id="jd-content" class="api apilevel-">
851<table class="jd-inheritance-table">
852
853
854 <tr>
855
Dirk Dougherty78ec7322013-09-16 10:37:40 -0700856 <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object</td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800857 </tr>
858
859
860 <tr>
861
862 <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
863
864 <td colspan="1" class="jd-inheritance-class-cell">com.google.android.gms.maps.model.BitmapDescriptorFactory</td>
865 </tr>
866
867
868</table>
869
870
871
872
873
874
875
876<div class="jd-descr">
877
878
879<h2>Class Overview</h2>
880<p itemprop="articleBody">Used to create a definition of an image, used for marker icons and ground overlays.
881 <p>
882 Prior to using any methods from this class, you must do one of the following to ensure that this
883 class is initialized:
884 <ul>
885 <li>Wait for a <code><a href="/reference/com/google/android/gms/maps/GoogleMap.html">GoogleMap</a></code> to become available from a
886 <code><a href="/reference/com/google/android/gms/maps/MapFragment.html">MapFragment</a></code> or
887 <code><a href="/reference/com/google/android/gms/maps/MapView.html">MapView</a></code> that you have added to your application. You
888 can verify that the <code><a href="/reference/com/google/android/gms/maps/GoogleMap.html">GoogleMap</a></code> is available by
889 calling the <code>getMap()</code> method and checking that the returned object is not null.
890 <li>Call <code><a href="/reference/com/google/android/gms/maps/MapsInitializer.html#initialize(android.content.Context)">MapsInitializer.initialize(Context)</a></code>. As long as a
891 <code><a href="/reference/com/google/android/gms/common/GooglePlayServicesNotAvailableException.html">GooglePlayServicesNotAvailableException</a></code> isn't thrown, this class will be correctly initialized.
892 </ul>
893</p>
894
895
896
897
898
899</div><!-- jd-descr -->
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916<div class="jd-descr">
917
918
919<h2>Summary</h2>
920
921
922
923
924
925
926
927
928
929
930
931
932
933<!-- =========== ENUM CONSTANT SUMMARY =========== -->
934<table id="constants" class="jd-sumtable"><tr><th colspan="12">Constants</th></tr>
935
936
937
938 <tr class="alt-color api apilevel-" >
939 <td class="jd-typecol">float</td>
940 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_AZURE">HUE_AZURE</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700941 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800942
943
944
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700945
946 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800947 </tr>
948
949
950 <tr class=" api apilevel-" >
951 <td class="jd-typecol">float</td>
952 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_BLUE">HUE_BLUE</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700953 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800954
955
956
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700957
958 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800959 </tr>
960
961
962 <tr class="alt-color api apilevel-" >
963 <td class="jd-typecol">float</td>
964 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_CYAN">HUE_CYAN</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700965 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800966
967
968
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700969
970 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800971 </tr>
972
973
974 <tr class=" api apilevel-" >
975 <td class="jd-typecol">float</td>
976 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_GREEN">HUE_GREEN</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700977 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800978
979
980
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700981
982 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800983 </tr>
984
985
986 <tr class="alt-color api apilevel-" >
987 <td class="jd-typecol">float</td>
988 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_MAGENTA">HUE_MAGENTA</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700989 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -0800990
991
992
Quddus Chong2b4b3d22014-10-26 18:10:42 -0700993
994 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -0800995 </tr>
996
997
998 <tr class=" api apilevel-" >
999 <td class="jd-typecol">float</td>
1000 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_ORANGE">HUE_ORANGE</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001001 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001002
1003
1004
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001005
1006 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001007 </tr>
1008
1009
1010 <tr class="alt-color api apilevel-" >
1011 <td class="jd-typecol">float</td>
1012 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_RED">HUE_RED</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001013 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001014
1015
1016
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001017
1018 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001019 </tr>
1020
1021
1022 <tr class=" api apilevel-" >
1023 <td class="jd-typecol">float</td>
1024 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_ROSE">HUE_ROSE</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001025 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001026
1027
1028
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001029
1030 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001031 </tr>
1032
1033
1034 <tr class="alt-color api apilevel-" >
1035 <td class="jd-typecol">float</td>
1036 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_VIOLET">HUE_VIOLET</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001037 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001038
1039
1040
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001041
1042 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001043 </tr>
1044
1045
1046 <tr class=" api apilevel-" >
1047 <td class="jd-typecol">float</td>
1048 <td class="jd-linkcol"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_YELLOW">HUE_YELLOW</a></td>
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001049 <td class="jd-descrcol" width="100%">
Quddus Chongfd19ada2014-11-18 16:41:07 -08001050
1051
1052
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001053
1054 </td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001055 </tr>
1056
1057
1058
1059</table>
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076<!-- ========== METHOD SUMMARY =========== -->
1077<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
1078
1079
1080
1081
1082 <tr class="alt-color api apilevel-" >
1083 <td class="jd-typecol"><nobr>
1084
1085
1086
1087 static
1088
1089 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1090 </td>
1091 <td class="jd-linkcol" width="100%"><nobr>
1092 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#defaultMarker()">defaultMarker</a></span>()</nobr>
1093
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001094 <div class="jd-descrdiv">
1095 Creates a bitmap descriptor that refers to the default marker image.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001096
1097
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001098
1099 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001100
1101 </td></tr>
1102
1103
1104
1105 <tr class=" api apilevel-" >
1106 <td class="jd-typecol"><nobr>
1107
1108
1109
1110 static
1111
1112 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1113 </td>
1114 <td class="jd-linkcol" width="100%"><nobr>
1115 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#defaultMarker(float)">defaultMarker</a></span>(float hue)</nobr>
1116
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001117 <div class="jd-descrdiv">
1118 Creates a bitmap descriptor that refers to a colorization of the default marker image.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001119
1120
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001121
1122 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001123
1124 </td></tr>
1125
1126
1127
1128 <tr class="alt-color api apilevel-" >
1129 <td class="jd-typecol"><nobr>
1130
1131
1132
1133 static
1134
1135 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1136 </td>
1137 <td class="jd-linkcol" width="100%"><nobr>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001138 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#fromAsset(java.lang.String)">fromAsset</a></span>(String assetName)</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001139
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001140 <div class="jd-descrdiv">
1141 Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the name of an image in the assets directory.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001142
1143
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001144
1145 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001146
1147 </td></tr>
1148
1149
1150
1151 <tr class=" api apilevel-" >
1152 <td class="jd-typecol"><nobr>
1153
1154
1155
1156 static
1157
1158 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1159 </td>
1160 <td class="jd-linkcol" width="100%"><nobr>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001161 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#fromBitmap(android.graphics.Bitmap)">fromBitmap</a></span>(Bitmap image)</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001162
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001163 <div class="jd-descrdiv">
1164 Creates a bitmap descriptor from a given image.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001165
1166
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001167
1168 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001169
1170 </td></tr>
1171
1172
1173
1174 <tr class="alt-color api apilevel-" >
1175 <td class="jd-typecol"><nobr>
1176
1177
1178
1179 static
1180
1181 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1182 </td>
1183 <td class="jd-linkcol" width="100%"><nobr>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001184 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#fromFile(java.lang.String)">fromFile</a></span>(String fileName)</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001185
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001186 <div class="jd-descrdiv">
1187 Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the name of an image file located in the internal
1188 storage.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001189
1190
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001191
1192 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001193
1194 </td></tr>
1195
1196
1197
1198 <tr class=" api apilevel-" >
1199 <td class="jd-typecol"><nobr>
1200
1201
1202
1203 static
1204
1205 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1206 </td>
1207 <td class="jd-linkcol" width="100%"><nobr>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001208 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#fromPath(java.lang.String)">fromPath</a></span>(String absolutePath)</nobr>
Robert Ly05c8e632013-02-25 14:43:01 -08001209
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001210 <div class="jd-descrdiv">
1211 Creates a bitmap descriptor from an absolute file path.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001212
1213
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001214
1215 </div>
Robert Ly05c8e632013-02-25 14:43:01 -08001216
1217 </td></tr>
1218
1219
1220
1221 <tr class="alt-color api apilevel-" >
1222 <td class="jd-typecol"><nobr>
1223
1224
1225
1226 static
1227
1228 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></nobr>
1229 </td>
1230 <td class="jd-linkcol" width="100%"><nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001231 <span class="sympad"><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#fromResource(int)">fromResource</a></span>(int resourceId)</nobr>
1232
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001233 <div class="jd-descrdiv">
1234 Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the resource id of an image.
Quddus Chongfd19ada2014-11-18 16:41:07 -08001235
1236
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001237
1238 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001239
1240 </td></tr>
1241
1242
1243
1244</table>
1245
1246
1247
1248
1249
1250
1251
1252<!-- ========== METHOD SUMMARY =========== -->
1253<table id="inhmethods" class="jd-sumtable"><tr><th>
1254 <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
1255 <div style="clear:left;">Inherited Methods</div></th></tr>
1256
1257
1258<tr class="api apilevel-" >
1259<td colspan="12">
1260 <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
1261 ><img id="inherited-methods-java.lang.Object-trigger"
1262 src="/assets/images/triangle-closed.png"
1263 class="jd-expando-trigger-img" /></a>
1264From class
1265
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001266 java.lang.Object
Robert Ly3c4b4f72012-11-30 04:02:04 -08001267
1268<div id="inherited-methods-java.lang.Object">
1269 <div id="inherited-methods-java.lang.Object-list"
1270 class="jd-inheritedlinks">
1271 </div>
1272 <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
1273 <table class="jd-sumtable-expando">
1274
1275
1276
1277
1278 <tr class="alt-color api apilevel-" >
1279 <td class="jd-typecol"><nobr>
1280
1281
1282
1283
1284
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001285 Object</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001286 </td>
1287 <td class="jd-linkcol" width="100%"><nobr>
1288 <span class="sympad">clone</span>()</nobr>
1289
1290 </td></tr>
1291
1292
1293
1294 <tr class=" api apilevel-" >
1295 <td class="jd-typecol"><nobr>
1296
1297
1298
1299
1300
1301 boolean</nobr>
1302 </td>
1303 <td class="jd-linkcol" width="100%"><nobr>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001304 <span class="sympad">equals</span>(Object arg0)</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001305
1306 </td></tr>
1307
1308
1309
1310 <tr class="alt-color api apilevel-" >
1311 <td class="jd-typecol"><nobr>
1312
1313
1314
1315
1316
1317 void</nobr>
1318 </td>
1319 <td class="jd-linkcol" width="100%"><nobr>
1320 <span class="sympad">finalize</span>()</nobr>
1321
1322 </td></tr>
1323
1324
1325
1326 <tr class=" api apilevel-" >
1327 <td class="jd-typecol"><nobr>
1328
1329
1330 final
1331
1332
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001333 Class&lt;?&gt;</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001334 </td>
1335 <td class="jd-linkcol" width="100%"><nobr>
1336 <span class="sympad">getClass</span>()</nobr>
1337
1338 </td></tr>
1339
1340
1341
1342 <tr class="alt-color api apilevel-" >
1343 <td class="jd-typecol"><nobr>
1344
1345
1346
1347
1348
1349 int</nobr>
1350 </td>
1351 <td class="jd-linkcol" width="100%"><nobr>
1352 <span class="sympad">hashCode</span>()</nobr>
1353
1354 </td></tr>
1355
1356
1357
1358 <tr class=" api apilevel-" >
1359 <td class="jd-typecol"><nobr>
1360
1361
1362 final
1363
1364
1365 void</nobr>
1366 </td>
1367 <td class="jd-linkcol" width="100%"><nobr>
1368 <span class="sympad">notify</span>()</nobr>
1369
1370 </td></tr>
1371
1372
1373
1374 <tr class="alt-color api apilevel-" >
1375 <td class="jd-typecol"><nobr>
1376
1377
1378 final
1379
1380
1381 void</nobr>
1382 </td>
1383 <td class="jd-linkcol" width="100%"><nobr>
1384 <span class="sympad">notifyAll</span>()</nobr>
1385
1386 </td></tr>
1387
1388
1389
1390 <tr class=" api apilevel-" >
1391 <td class="jd-typecol"><nobr>
1392
1393
1394
1395
1396
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001397 String</nobr>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001398 </td>
1399 <td class="jd-linkcol" width="100%"><nobr>
1400 <span class="sympad">toString</span>()</nobr>
1401
1402 </td></tr>
1403
1404
1405
1406 <tr class="alt-color api apilevel-" >
1407 <td class="jd-typecol"><nobr>
1408
1409
1410 final
1411
1412
1413 void</nobr>
1414 </td>
1415 <td class="jd-linkcol" width="100%"><nobr>
1416 <span class="sympad">wait</span>()</nobr>
1417
1418 </td></tr>
1419
1420
1421
1422 <tr class=" api apilevel-" >
1423 <td class="jd-typecol"><nobr>
1424
1425
1426 final
1427
1428
1429 void</nobr>
1430 </td>
1431 <td class="jd-linkcol" width="100%"><nobr>
1432 <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
1433
1434 </td></tr>
1435
1436
1437
1438 <tr class="alt-color api apilevel-" >
1439 <td class="jd-typecol"><nobr>
1440
1441
1442 final
1443
1444
1445 void</nobr>
1446 </td>
1447 <td class="jd-linkcol" width="100%"><nobr>
1448 <span class="sympad">wait</span>(long arg0)</nobr>
1449
1450 </td></tr>
1451
1452
1453</table>
1454 </div>
1455</div>
1456</td></tr>
1457
1458
1459</table>
1460
1461
1462</div><!-- jd-descr (summary) -->
1463
1464<!-- Details -->
1465
1466
1467
1468
1469
1470
1471
1472
1473<!-- XML Attributes -->
1474
1475
1476<!-- Enum Values -->
1477
1478
1479<!-- Constants -->
1480
1481
1482<!-- ========= ENUM CONSTANTS DETAIL ======== -->
1483<h2>Constants</h2>
1484
1485
1486
1487
1488<A NAME="HUE_AZURE"></A>
1489
1490<div class="jd-details api apilevel-">
1491 <h4 class="jd-details-title">
1492 <span class="normal">
1493 public
1494 static
1495 final
1496 float
1497 </span>
1498 HUE_AZURE
1499 </h4>
1500 <div class="api-level">
1501
1502
1503
1504
1505 </div>
1506 <div class="jd-details-descr">
1507
Quddus Chongfd19ada2014-11-18 16:41:07 -08001508
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001509
Quddus Chongfd19ada2014-11-18 16:41:07 -08001510
Robert Ly3c4b4f72012-11-30 04:02:04 -08001511 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1512
1513
1514 <div class="jd-tagdata">
1515 <span class="jd-tagtitle">Constant Value: </span>
1516 <span>
1517
1518 210.0
1519
1520 </span>
1521 </div>
1522
1523 </div>
1524</div>
1525
1526
1527
1528<A NAME="HUE_BLUE"></A>
1529
1530<div class="jd-details api apilevel-">
1531 <h4 class="jd-details-title">
1532 <span class="normal">
1533 public
1534 static
1535 final
1536 float
1537 </span>
1538 HUE_BLUE
1539 </h4>
1540 <div class="api-level">
1541
1542
1543
1544
1545 </div>
1546 <div class="jd-details-descr">
1547
Quddus Chongfd19ada2014-11-18 16:41:07 -08001548
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001549
Quddus Chongfd19ada2014-11-18 16:41:07 -08001550
Robert Ly3c4b4f72012-11-30 04:02:04 -08001551 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1552
1553
1554 <div class="jd-tagdata">
1555 <span class="jd-tagtitle">Constant Value: </span>
1556 <span>
1557
1558 240.0
1559
1560 </span>
1561 </div>
1562
1563 </div>
1564</div>
1565
1566
1567
1568<A NAME="HUE_CYAN"></A>
1569
1570<div class="jd-details api apilevel-">
1571 <h4 class="jd-details-title">
1572 <span class="normal">
1573 public
1574 static
1575 final
1576 float
1577 </span>
1578 HUE_CYAN
1579 </h4>
1580 <div class="api-level">
1581
1582
1583
1584
1585 </div>
1586 <div class="jd-details-descr">
1587
Quddus Chongfd19ada2014-11-18 16:41:07 -08001588
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001589
Quddus Chongfd19ada2014-11-18 16:41:07 -08001590
Robert Ly3c4b4f72012-11-30 04:02:04 -08001591 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1592
1593
1594 <div class="jd-tagdata">
1595 <span class="jd-tagtitle">Constant Value: </span>
1596 <span>
1597
1598 180.0
1599
1600 </span>
1601 </div>
1602
1603 </div>
1604</div>
1605
1606
1607
1608<A NAME="HUE_GREEN"></A>
1609
1610<div class="jd-details api apilevel-">
1611 <h4 class="jd-details-title">
1612 <span class="normal">
1613 public
1614 static
1615 final
1616 float
1617 </span>
1618 HUE_GREEN
1619 </h4>
1620 <div class="api-level">
1621
1622
1623
1624
1625 </div>
1626 <div class="jd-details-descr">
1627
Quddus Chongfd19ada2014-11-18 16:41:07 -08001628
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001629
Quddus Chongfd19ada2014-11-18 16:41:07 -08001630
Robert Ly3c4b4f72012-11-30 04:02:04 -08001631 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1632
1633
1634 <div class="jd-tagdata">
1635 <span class="jd-tagtitle">Constant Value: </span>
1636 <span>
1637
1638 120.0
1639
1640 </span>
1641 </div>
1642
1643 </div>
1644</div>
1645
1646
1647
1648<A NAME="HUE_MAGENTA"></A>
1649
1650<div class="jd-details api apilevel-">
1651 <h4 class="jd-details-title">
1652 <span class="normal">
1653 public
1654 static
1655 final
1656 float
1657 </span>
1658 HUE_MAGENTA
1659 </h4>
1660 <div class="api-level">
1661
1662
1663
1664
1665 </div>
1666 <div class="jd-details-descr">
1667
Quddus Chongfd19ada2014-11-18 16:41:07 -08001668
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001669
Quddus Chongfd19ada2014-11-18 16:41:07 -08001670
Robert Ly3c4b4f72012-11-30 04:02:04 -08001671 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1672
1673
1674 <div class="jd-tagdata">
1675 <span class="jd-tagtitle">Constant Value: </span>
1676 <span>
1677
1678 300.0
1679
1680 </span>
1681 </div>
1682
1683 </div>
1684</div>
1685
1686
1687
1688<A NAME="HUE_ORANGE"></A>
1689
1690<div class="jd-details api apilevel-">
1691 <h4 class="jd-details-title">
1692 <span class="normal">
1693 public
1694 static
1695 final
1696 float
1697 </span>
1698 HUE_ORANGE
1699 </h4>
1700 <div class="api-level">
1701
1702
1703
1704
1705 </div>
1706 <div class="jd-details-descr">
1707
Quddus Chongfd19ada2014-11-18 16:41:07 -08001708
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001709
Quddus Chongfd19ada2014-11-18 16:41:07 -08001710
Robert Ly3c4b4f72012-11-30 04:02:04 -08001711 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1712
1713
1714 <div class="jd-tagdata">
1715 <span class="jd-tagtitle">Constant Value: </span>
1716 <span>
1717
1718 30.0
1719
1720 </span>
1721 </div>
1722
1723 </div>
1724</div>
1725
1726
1727
1728<A NAME="HUE_RED"></A>
1729
1730<div class="jd-details api apilevel-">
1731 <h4 class="jd-details-title">
1732 <span class="normal">
1733 public
1734 static
1735 final
1736 float
1737 </span>
1738 HUE_RED
1739 </h4>
1740 <div class="api-level">
1741
1742
1743
1744
1745 </div>
1746 <div class="jd-details-descr">
1747
Quddus Chongfd19ada2014-11-18 16:41:07 -08001748
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001749
Quddus Chongfd19ada2014-11-18 16:41:07 -08001750
Robert Ly3c4b4f72012-11-30 04:02:04 -08001751 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1752
1753
1754 <div class="jd-tagdata">
1755 <span class="jd-tagtitle">Constant Value: </span>
1756 <span>
1757
1758 0.0
1759
1760 </span>
1761 </div>
1762
1763 </div>
1764</div>
1765
1766
1767
1768<A NAME="HUE_ROSE"></A>
1769
1770<div class="jd-details api apilevel-">
1771 <h4 class="jd-details-title">
1772 <span class="normal">
1773 public
1774 static
1775 final
1776 float
1777 </span>
1778 HUE_ROSE
1779 </h4>
1780 <div class="api-level">
1781
1782
1783
1784
1785 </div>
1786 <div class="jd-details-descr">
1787
Quddus Chongfd19ada2014-11-18 16:41:07 -08001788
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001789
Quddus Chongfd19ada2014-11-18 16:41:07 -08001790
Robert Ly3c4b4f72012-11-30 04:02:04 -08001791 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1792
1793
1794 <div class="jd-tagdata">
1795 <span class="jd-tagtitle">Constant Value: </span>
1796 <span>
1797
1798 330.0
1799
1800 </span>
1801 </div>
1802
1803 </div>
1804</div>
1805
1806
1807
1808<A NAME="HUE_VIOLET"></A>
1809
1810<div class="jd-details api apilevel-">
1811 <h4 class="jd-details-title">
1812 <span class="normal">
1813 public
1814 static
1815 final
1816 float
1817 </span>
1818 HUE_VIOLET
1819 </h4>
1820 <div class="api-level">
1821
1822
1823
1824
1825 </div>
1826 <div class="jd-details-descr">
1827
Quddus Chongfd19ada2014-11-18 16:41:07 -08001828
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001829
Quddus Chongfd19ada2014-11-18 16:41:07 -08001830
Robert Ly3c4b4f72012-11-30 04:02:04 -08001831 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1832
1833
1834 <div class="jd-tagdata">
1835 <span class="jd-tagtitle">Constant Value: </span>
1836 <span>
1837
1838 270.0
1839
1840 </span>
1841 </div>
1842
1843 </div>
1844</div>
1845
1846
1847
1848<A NAME="HUE_YELLOW"></A>
1849
1850<div class="jd-details api apilevel-">
1851 <h4 class="jd-details-title">
1852 <span class="normal">
1853 public
1854 static
1855 final
1856 float
1857 </span>
1858 HUE_YELLOW
1859 </h4>
1860 <div class="api-level">
1861
1862
1863
1864
1865 </div>
1866 <div class="jd-details-descr">
1867
Quddus Chongfd19ada2014-11-18 16:41:07 -08001868
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001869
Quddus Chongfd19ada2014-11-18 16:41:07 -08001870
Robert Ly3c4b4f72012-11-30 04:02:04 -08001871 <div class="jd-tagdata jd-tagdescr"><p></p></div>
1872
1873
1874 <div class="jd-tagdata">
1875 <span class="jd-tagtitle">Constant Value: </span>
1876 <span>
1877
1878 60.0
1879
1880 </span>
1881 </div>
1882
1883 </div>
1884</div>
1885
1886
1887
1888
1889<!-- Fields -->
1890
1891
1892<!-- Public ctors -->
1893
1894
1895
1896<!-- ========= CONSTRUCTOR DETAIL ======== -->
1897<!-- Protected ctors -->
1898
1899
1900
1901<!-- ========= METHOD DETAIL ======== -->
1902<!-- Public methdos -->
1903
1904<h2>Public Methods</h2>
1905
1906
1907
1908<A NAME="defaultMarker()"></A>
1909
1910<div class="jd-details api apilevel-">
1911 <h4 class="jd-details-title">
1912 <span class="normal">
1913 public
1914 static
1915
1916
1917
1918 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
1919 </span>
1920 <span class="sympad">defaultMarker</span>
1921 <span class="normal">()</span>
1922 </h4>
1923 <div class="api-level">
1924 <div></div>
1925
1926
1927
1928 </div>
1929 <div class="jd-details-descr">
1930
Quddus Chongfd19ada2014-11-18 16:41:07 -08001931
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001932
Quddus Chongfd19ada2014-11-18 16:41:07 -08001933
Robert Ly3c4b4f72012-11-30 04:02:04 -08001934 <div class="jd-tagdata jd-tagdescr"><p>Creates a bitmap descriptor that refers to the default marker image. </p></div>
1935
1936 </div>
1937</div>
1938
1939
1940<A NAME="defaultMarker(float)"></A>
1941
1942<div class="jd-details api apilevel-">
1943 <h4 class="jd-details-title">
1944 <span class="normal">
1945 public
1946 static
1947
1948
1949
1950 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
1951 </span>
1952 <span class="sympad">defaultMarker</span>
1953 <span class="normal">(float hue)</span>
1954 </h4>
1955 <div class="api-level">
1956 <div></div>
1957
1958
1959
1960 </div>
1961 <div class="jd-details-descr">
1962
Quddus Chongfd19ada2014-11-18 16:41:07 -08001963
Quddus Chong2b4b3d22014-10-26 18:10:42 -07001964
Quddus Chongfd19ada2014-11-18 16:41:07 -08001965
Robert Ly3c4b4f72012-11-30 04:02:04 -08001966 <div class="jd-tagdata jd-tagdescr"><p>Creates a bitmap descriptor that refers to a colorization of the default marker image. For
1967 convenience, there is a predefined set of hue values. See example <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptorFactory.html#HUE_YELLOW">HUE_YELLOW</a></code>.</p></div>
1968 <div class="jd-tagdata">
1969 <h5 class="jd-tagtitle">Parameters</h5>
1970 <table class="jd-tagtable">
1971 <tr>
1972 <th>hue</td>
1973 <td>The hue of the marker. Value must be greater or equal to 0 and less than 360.
1974</td>
1975 </tr>
1976 </table>
1977 </div>
1978
1979 </div>
1980</div>
1981
1982
1983<A NAME="fromAsset(java.lang.String)"></A>
1984
1985<div class="jd-details api apilevel-">
1986 <h4 class="jd-details-title">
1987 <span class="normal">
1988 public
1989 static
1990
1991
1992
1993 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
1994 </span>
1995 <span class="sympad">fromAsset</span>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07001996 <span class="normal">(String assetName)</span>
Robert Ly3c4b4f72012-11-30 04:02:04 -08001997 </h4>
1998 <div class="api-level">
1999 <div></div>
2000
2001
2002
2003 </div>
2004 <div class="jd-details-descr">
2005
Quddus Chongfd19ada2014-11-18 16:41:07 -08002006
Quddus Chong2b4b3d22014-10-26 18:10:42 -07002007
Quddus Chongfd19ada2014-11-18 16:41:07 -08002008
Robert Ly3c4b4f72012-11-30 04:02:04 -08002009 <div class="jd-tagdata jd-tagdescr"><p>Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the name of an image in the assets directory.</p></div>
2010 <div class="jd-tagdata">
2011 <h5 class="jd-tagtitle">Parameters</h5>
2012 <table class="jd-tagtable">
2013 <tr>
2014 <th>assetName</td>
2015 <td>The name of an image in the assets directory.</td>
2016 </tr>
2017 </table>
2018 </div>
2019 <div class="jd-tagdata">
2020 <h5 class="jd-tagtitle">Returns</h5>
2021 <ul class="nolist"><li>the <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> that was loaded from the asset or <code>null</code> if failed
2022 to load.
2023</li></ul>
2024 </div>
2025
2026 </div>
2027</div>
2028
2029
2030<A NAME="fromBitmap(android.graphics.Bitmap)"></A>
2031
2032<div class="jd-details api apilevel-">
2033 <h4 class="jd-details-title">
2034 <span class="normal">
2035 public
2036 static
2037
2038
2039
2040 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
2041 </span>
2042 <span class="sympad">fromBitmap</span>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07002043 <span class="normal">(Bitmap image)</span>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002044 </h4>
2045 <div class="api-level">
2046 <div></div>
2047
2048
2049
2050 </div>
2051 <div class="jd-details-descr">
2052
Quddus Chongfd19ada2014-11-18 16:41:07 -08002053
Quddus Chong2b4b3d22014-10-26 18:10:42 -07002054
Quddus Chongfd19ada2014-11-18 16:41:07 -08002055
Robert Ly3c4b4f72012-11-30 04:02:04 -08002056 <div class="jd-tagdata jd-tagdescr"><p>Creates a bitmap descriptor from a given image.
2057</p></div>
2058
2059 </div>
2060</div>
2061
2062
2063<A NAME="fromFile(java.lang.String)"></A>
2064
2065<div class="jd-details api apilevel-">
2066 <h4 class="jd-details-title">
2067 <span class="normal">
2068 public
2069 static
2070
2071
2072
2073 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
2074 </span>
2075 <span class="sympad">fromFile</span>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07002076 <span class="normal">(String fileName)</span>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002077 </h4>
2078 <div class="api-level">
2079 <div></div>
2080
2081
2082
2083 </div>
2084 <div class="jd-details-descr">
2085
Quddus Chongfd19ada2014-11-18 16:41:07 -08002086
Quddus Chong2b4b3d22014-10-26 18:10:42 -07002087
Quddus Chongfd19ada2014-11-18 16:41:07 -08002088
Robert Ly05c8e632013-02-25 14:43:01 -08002089 <div class="jd-tagdata jd-tagdescr"><p>Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the name of an image file located in the internal
Dirk Dougherty4e847bd2013-08-06 09:59:51 -07002090 storage. In particular, this calls <code><a href="/reference/android/content/Context.html#openFileInput(java.lang.String)">openFileInput(String)</a></code>.</p></div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002091 <div class="jd-tagdata">
2092 <h5 class="jd-tagtitle">Parameters</h5>
2093 <table class="jd-tagtable">
2094 <tr>
Robert Ly05c8e632013-02-25 14:43:01 -08002095 <th>fileName</td>
2096 <td>The name of the image file.</td>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002097 </tr>
2098 </table>
2099 </div>
2100 <div class="jd-tagdata">
2101 <h5 class="jd-tagtitle">Returns</h5>
2102 <ul class="nolist"><li>the <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> that was loaded from the asset or <code>null</code> if failed
2103 to load.
2104</li></ul>
2105 </div>
Robert Ly05c8e632013-02-25 14:43:01 -08002106 <div class="jd-tagdata">
2107 <h5 class="jd-tagtitle">See Also</h5>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07002108 <ul class="nolist"><li><a href="http://developer.android.com/guide/topics/data/data-storage.html#filesInternal">
Robert Ly05c8e632013-02-25 14:43:01 -08002109 Using the Internal Storage</a></li>
2110 </ul>
2111 </div>
2112
2113 </div>
2114</div>
2115
2116
2117<A NAME="fromPath(java.lang.String)"></A>
2118
2119<div class="jd-details api apilevel-">
2120 <h4 class="jd-details-title">
2121 <span class="normal">
2122 public
2123 static
2124
2125
2126
2127 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
2128 </span>
2129 <span class="sympad">fromPath</span>
Dirk Dougherty78ec7322013-09-16 10:37:40 -07002130 <span class="normal">(String absolutePath)</span>
Robert Ly05c8e632013-02-25 14:43:01 -08002131 </h4>
2132 <div class="api-level">
2133 <div></div>
2134
2135
2136
2137 </div>
2138 <div class="jd-details-descr">
2139
Quddus Chongfd19ada2014-11-18 16:41:07 -08002140
Quddus Chong2b4b3d22014-10-26 18:10:42 -07002141
Quddus Chongfd19ada2014-11-18 16:41:07 -08002142
Robert Ly05c8e632013-02-25 14:43:01 -08002143 <div class="jd-tagdata jd-tagdescr"><p>Creates a bitmap descriptor from an absolute file path.</p></div>
2144 <div class="jd-tagdata">
2145 <h5 class="jd-tagtitle">Parameters</h5>
2146 <table class="jd-tagtable">
2147 <tr>
2148 <th>absolutePath</td>
2149 <td>The absolute path of the image.</td>
2150 </tr>
2151 </table>
2152 </div>
2153 <div class="jd-tagdata">
2154 <h5 class="jd-tagtitle">Returns</h5>
2155 <ul class="nolist"><li>the <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> that was loaded from the absolute path or <code>null</code>
2156 if failed to load.
2157</li></ul>
2158 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002159
2160 </div>
2161</div>
2162
2163
2164<A NAME="fromResource(int)"></A>
2165
2166<div class="jd-details api apilevel-">
2167 <h4 class="jd-details-title">
2168 <span class="normal">
2169 public
2170 static
2171
2172
2173
2174 <a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a>
2175 </span>
2176 <span class="sympad">fromResource</span>
2177 <span class="normal">(int resourceId)</span>
2178 </h4>
2179 <div class="api-level">
2180 <div></div>
2181
2182
2183
2184 </div>
2185 <div class="jd-details-descr">
2186
Quddus Chongfd19ada2014-11-18 16:41:07 -08002187
Quddus Chong2b4b3d22014-10-26 18:10:42 -07002188
Quddus Chongfd19ada2014-11-18 16:41:07 -08002189
Robert Ly3c4b4f72012-11-30 04:02:04 -08002190 <div class="jd-tagdata jd-tagdescr"><p>Creates a <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> using the resource id of an image.</p></div>
2191 <div class="jd-tagdata">
2192 <h5 class="jd-tagtitle">Parameters</h5>
2193 <table class="jd-tagtable">
2194 <tr>
2195 <th>resourceId</td>
2196 <td>The resource id of an image.</td>
2197 </tr>
2198 </table>
2199 </div>
2200 <div class="jd-tagdata">
2201 <h5 class="jd-tagtitle">Returns</h5>
2202 <ul class="nolist"><li>the <code><a href="/reference/com/google/android/gms/maps/model/BitmapDescriptor.html">BitmapDescriptor</a></code> that was loaded from the asset or <code>null</code> if failed
2203 to load.
2204</li></ul>
2205 </div>
2206
2207 </div>
2208</div>
2209
2210
2211
2212
2213
2214<!-- ========= METHOD DETAIL ======== -->
2215
2216
2217
2218<!-- ========= END OF CLASS DATA ========= -->
2219<A NAME="navbar_top"></A>
2220
2221<div id="footer" class="wrap" >
2222
2223
2224 <div id="copyright">
2225
2226 Except as noted, this content is licensed under <a
2227 href="http://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a>.
2228 For details and restrictions, see the <a href="/license.html">
2229 Content License</a>.
2230 </div>
Robert Lyf6f5cf42013-02-04 18:24:15 -08002231 <div id="build_info">
2232
2233<script src="/timestamp.js" type="text/javascript"></script>
2234<script>document.write(BUILD_TIMESTAMP)</script>
2235
2236 </div>
Robert Ly3c4b4f72012-11-30 04:02:04 -08002237
2238
2239 <div id="footerlinks">
2240
2241 <p>
2242 <a href="/about/index.html">About Android</a>&nbsp;&nbsp;|&nbsp;
2243 <a href="/legal.html">Legal</a>&nbsp;&nbsp;|&nbsp;
2244 <a href="/support.html">Support</a>
2245 </p>
2246 </div>
2247
2248</div> <!-- end footer -->
2249</div> <!-- jd-content -->
2250
2251</div><!-- end doc-content -->
2252
2253</div> <!-- end body-content -->
2254
2255
2256
2257
Robert Ly3c4b4f72012-11-30 04:02:04 -08002258
2259
2260</body>
2261</html>