Project

General

Profile

Feature #11762

Switch from Mapbox to Maplibre

Added by Philippe May almost 4 years ago. Updated about 3 years ago.

Status:
Resolved
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 over 3 years ago

Switch from Mapbox to Maplibre (refs #11762)

Revision ef526ac9 (diff)
Added by Philippe May over 3 years ago

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

History

#1 Updated by Philippe May almost 4 years ago

Depends mostly on the Mapbox/Angular binding, see:

#2 Updated by Philippe May over 3 years 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 over 3 years 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)

#4 Updated by Philippe May about 3 years ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF