Project

General

Profile

Feature #11762

Switch from Mapbox to Maplibre

Added by Philippe May 6 months ago. Updated about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
16/02/2021
Due date:
% Done:

90%

Close

Description

Mapbox-gl-js v2 cannot be used without mapbox key and eventually payed APIs.

Switch to https://github.com/maplibre/maplibre-gl-js

Associated revisions

Revision 4e6537c5 (diff)
Added by Philippe May about 1 month ago

Switch from Mapbox to Maplibre (refs #11762)

Revision ef526ac9 (diff)
Added by Philippe May 28 days ago

Bump maplibre and ngx-maplibre-js versions (refs #11762)

History

#1 Updated by Philippe May 5 months ago

Depends mostly on the Mapbox/Angular binding, see:

#2 Updated by Philippe May about 1 month ago

New project for Angular bindings: https://github.com/maplibre/ngx-maplibre-gl

Tried, but Angular build failed with:

Error: node_modules/maplibre-gl/src/index.d.ts:338:47 - error TS2304: Cannot find name 'RequestTransformFunction'.

A quick and dirty fix in maplibre-gl/src/index.d.ts` seems to work.

Raised https://github.com/maplibre/maplibre-gl-js/issues/186

#3 Updated by Philippe May about 1 month ago

  • % Done changed from 0 to 90
  • Status changed from New to In Progress

Ticket closure pending with update to maplibre-gl-js 1.15.0, which is pending for a ticket and PR on ngx-maplibre-js (https://github.com/maplibre/ngx-maplibre-gl/issues/4)

Also available in: Atom PDF