Skip to content

shapeLayer: Move duplicated code from subclasses

The implementations of ShapeLayer each construct the overlay map layer and GeoJSONSource in their constructors. Instead do this in the super class constructor to avoid code duplication.

Fixes #519 (closed)

Edited by Marcus Lundblad

Merge request reports