Skip to content

Maplibre support #2666

Open
Open
@sedubois

Description

@sedubois

Feature

Add Maplibre support to Avo to have out of the box map support without requiring a dependency on an external commercial service.

Current workarounds

Sign up to Mapbox (free for 50k map loads/month).

Screenshots or screen recordings

Screenshot 2024-04-07 at 13 08 23

Additional context

Maplibre "originated as an open-source fork of mapbox-gl-js, before their switch to a non-OSS license in December 2020." (ref)

Avo makes use of Mapkick to display a map; Mapkick JS supports Maplibre but Avo depends on the Ruby gem, which makes no reference to Maplibre. Because of this, a Mapbox API token is required to just test out Avo's map feature. By contrast, Maplibre does not require an API token for its demo map/style (it can also be downloaded). Avo could switch to Mapkick JS or add a direct dependency on Maplibre.

On a related note, it would be nice for the map feature to be included in the Avo demo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions