Project

General

Profile

Actions

Feature #1151

closed

Map marker improvements

Added by Stefan Eichert over 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Maps
Target version:
Start date:
2020-02-12
Estimated time:

Description

Due to slow performance with many markers on map we could implement possible future ways to improve this.
https://github.com/manubb/Leaflet.PixiOverlay


Related issues 1 (0 open1 closed)

Related to OpenAtlas - Feature #1628: New mapsClosedAndreas Olschnögger2021-09-20Actions
Actions #1

Updated by Alexander Watzinger about 4 years ago

  • Status changed from New to Assigned
Actions #2

Updated by Stefan Eichert about 2 years ago

A simple and quick solution would be to use L.circleMarker instead of L.marker

e.g.


myCircleStyle = {
        "color": "#000000",
        "weight": 1,
        "fillOpacity": 0.8,
        "fillColor": "#007bd9",
        "radius": 10
    };
var marker = L.circleMarker([lon, lat], myCircleStyle).addTo(mymarkers).bindPopup('<a href="/entity/' + id + '">' + name + '</a>');
Actions #3

Updated by Alexander Watzinger about 2 years ago

Actions #4

Updated by Alexander Watzinger about 2 years ago

  • Status changed from Assigned to Closed
  • Assignee changed from Stefan Eichert to Andreas Olschnögger
  • Target version changed from Wishlist to 7.3.0
Actions #5

Updated by Alexander Watzinger about 2 years ago

  • Subject changed from Marker improvements to Map marker improvements
Actions #6

Updated by Alexander Watzinger about 2 years ago

  • Target version changed from 7.3.0 to 7.2.0
Actions

Also available in: Atom PDF