Skip to content

MarkerCluster not optimized? #305

@chefranov

Description

@chefranov

I have ~15000 markers and when I try show it with MarkerCluster my browser freeze and page doesn't response.

Use like this:

    <!-- Marker Cluster -->
    <MarkerCluster>
        <AdvancedMarker v-for="poi in visiblePois" :key="poi.id" :options="{
            position: { lat: parseFloat(poi.latitude), lng: parseFloat(poi.longitude) },
            content: createMarkerContent(poi.category_icon),
        }" @click="handleMarkerClick(poi)" />
    </MarkerCluster>

Am I doing something wrong or is this not optimized?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions