Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] app freeze when drawing lots of markerviews #9726

@joaopedro1520

Description

@joaopedro1520

Hello, since version 5.1.0-5.12 when drawing ~100-300 markerviewoptions the app shows few icons with big icons and then freezes while trying to add all others for a good 5 seconds.
The code i use:

MarkerViewOptions options = new MarkerViewOptions().position(new LatLng(mapObject.getLatitude (), mapObject.getLongitude())).icon(UIUtils.getIcon(getAppCtx(), mapObject.getMarkerIcon(false, getAppCtx()))); mMapboxMap.addMarker(options);

Platform: Android
Mapbox SDK version: 5.1.0-5.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidMapbox Maps SDK for AndroidannotationsAnnotations on iOS and macOS or markers on Androidbugneeds information

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions