yandexmobile / yandexmapkit-android

Yandex Map Kit for Android
160 stars 65 forks source link

Зависает если рисуем Путь (path) #228

Open ElecTriNo opened 7 years ago

ElecTriNo commented 7 years ago

Я скачал пример и запустил! Но есть проблема в примере MapPathActivity, когда я захожу эту область карта начинает подлагивать. Искал в нете решение но нечего нет. Кто сталкивался с этим и как решить данную проблему?

saint13 commented 7 years ago

Попробуй в MapView в xml добавить android:tag="static"

7 ноября 2016 г., 11:50 пользователь ElecTriNo notifications@github.com написал:

Я скачал пример и запустил! Но есть проблема в примере MapPathActivity, когда я захожу эту область карта начинает подлагивать. Искал в нете решение но нечего нет. Кто сталкивался с этим и как решить данную проблему?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yandexmobile/yandexmapkit-android/issues/228, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSEm0cLeATjqL3Imdx7dkhRKrieWBeJks5q7uZHgaJpZM4Kq9vd .

ElecTriNo commented 7 years ago

Без полезно, когда увеличиваю карту сильнее подлагивает

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent" android:layout_height="fill_parent"
    android:orientation="vertical">

    <ru.yandex.yandexmapkit.MapView
        android:id="@+id/map"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"
        android:apiKey="1234567890"
        android:tag="static" />
</LinearLayout>
saint13 commented 7 years ago

Можете пример прислать на mksaint13@yandex-team.ru.

2016-11-07 17:01 GMT+03:00 ElecTriNo notifications@github.com:

Без полезно,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yandexmobile/yandexmapkit-android/issues/228#issuecomment-258842518, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSEmy9_4_vPrPn5tVkuM5EgOGBs6QFEks5q7y8mgaJpZM4Kq9vd .

saint13 commented 7 years ago

Точнее пример что считается подлагиванием. ?

2016-11-07 19:00 GMT+03:00 Max mksaint mksaint13@gmail.com:

Можете пример прислать на mksaint13@yandex-team.ru.

2016-11-07 17:01 GMT+03:00 ElecTriNo notifications@github.com:

Без полезно,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yandexmobile/yandexmapkit-android/issues/228#issuecomment-258842518, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSEmy9_4_vPrPn5tVkuM5EgOGBs6QFEks5q7y8mgaJpZM4Kq9vd .

ElecTriNo commented 7 years ago

Отправил видео. Вот ссылка на YouTube

ElecTriNo commented 7 years ago

Еще одна проблема, когда приближаю карту линии исчезают.

Вот ссылка на YouTube

saint13 commented 7 years ago

Спасибо будем смотреть.

8 нояб. 2016 г. 8:48 AM пользователь "ElecTriNo" notifications@github.com написал:

Еще одна проблема, когда приближаю карту линии изрезают.

Вот ссылка на YouTube https://youtu.be/VWoqK-zYf0U

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yandexmobile/yandexmapkit-android/issues/228#issuecomment-259051539, or mute the thread https://github.com/notifications/unsubscribe-auth/ABSEm02TfQD7jsCJjj0RzAt6CF1Hepttks5q8A0cgaJpZM4Kq9vd .

erlymon commented 7 years ago

Есть временное решение для устранения ошибки с отрисовкой полилинии.

Еще одна проблема, когда приближаю карту линии исчезают.

Для этого нужно отключить аппаратное ускорение.

MapView mapView = (MapView) findViewById(R.id.map_view); mapView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);

pdapnz commented 6 years ago

Еще можно так: https://github.com/yandexmobile/yandexmapkit-android/issues/300#issuecomment-358940708