This package requires to install this peer dependencies as prerequisite.
After you can install the library with this npm package.
Like the Vanilla MapLibre library, you will need to add one MapLibre compatible stylesheet.
If you want to use the RGradientMarker
component, you will need to add an additional stylesheet.
Optional : If you want to add one modern stylesheet, you can install maplibre-theme
. And use his modern
style.
One of the objectives of this library was to offer as little abstraction as possible
with MapLibre
. If you use TypeScript
you will quickly realize that in many cases you
are manipulating the latter's native types. However this also has a cost, this library is
not compatible with mapbox-gl
.
However, you can use the library with a fork of mapLibre by adding these lines in
your package.json
.