ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Example of jumping markers on Android Maps v2

Android (Operating System)

Maps

Автор: Sean Barbeau

Загружено: 2015-08-10

Просмотров: 1956

Описание: Recorded for this Android Maps v2 issue:
https://code.google.com/p/gmaps-api-i...

Question is also on StackOverflow:
http://stackoverflow.com/questions/32...

Details from the initial issue post are copy/pasted below.

Here's a 2nd video for the same issue as well:
   • Jumping Markers on Android Maps - Again  
-------------------------------------------------------------------------------

What I see

I'm seeing markers jump around on the map even when nothing is happening in the app.

Here's a video of the behavior:
   • Example of jumping markers on Android Maps v2  

What I expect

Markers should remain stationary at their originally added lat/long.

What steps will reproduce the problem?

1a. Download the APK from:
https://dl.dropboxusercontent.com/u/4...

or

1b. Build, install, and run the develop branch of OneBusAway:
a. git clone https://github.com/OneBusAway/onebusa...
b. git checkout develop
c. gradlew installObaGoogleDebug
d. adb shell am start -n com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity

2. Browse to any supported city (e.g., Seattle or Tampa), and watch the green bus stop markers jump around on the map

Additional Details
Device (and version of Android) you have verified this issue on:

LG G4 LS991 with Android 5.1 (LS991ZV4)

Google Play Services client library version:

googleCompile 'com.google.android.gms:play-services-maps:7.5.0'

Google Play Services version on the device:

Google Play Services 7.8.99 (2134222-440)

Android SDK Version:

compileSdkVersion 21
buildToolsVersion "21.1.2"

Was this working correctly on a previous version of Google Play Services?
(If yes, which client library and SDK version?)

I want to say I saw this behavior a while back (I don't know what version), but then it was fixed for a while, and was then reintroduced again in the last month or so.

Marker Implementation Details

The code that loads the icons used for the 9 marker types (8 directions + no direction) is here:
https://github.com/OneBusAway/onebusa...

I'm using this drawable:
https://github.com/OneBusAway/onebusa...

...which is a number of shapes - this creates the main green circle with the white outline and the drop shadoes. Then, I'm drawing the direction arrow on top of this drawable for each of the 8 directions - code for drawing directions is here:
https://github.com/OneBusAway/onebusa...

In the code to load the icons, I'm caching the BitmapDescriptor returned from BitmapDescriptorFactory.fromBitmap() for each of the 9 icon types on first load, so this isn't done each time a marker is put on the map.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Example of jumping markers on Android Maps v2

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]