Description
ngx-maplibre-gl is an Angular wrapper for maplibre-gl, the open source map library. It exposes a set of components that are simple to use in Angular templates. The project is a fork of ngx-mapbox-gl. The README covers setup: a tsconfig change, loading the maplibre-gl stylesheet through angular.json or a global stylesheet, and serving the MapLibre web worker file. The page explains that MapLibre GL JS v6 is ESM-only and loads its worker from a separate file at runtime, so bundler-based apps must point MapLibre at that file before the first map is created. Without this step the worker returns a 404 and no tiles render. A demo site and API documentation are linked from the README.…
Highlights
- Angular components for maplibre-gl maps
- Setup guide for stylesheet and web worker
- Demo site and API documentation
- Fork of ngx-mapbox-gl
Ratings & Reviews
No ratings yet
Be the first to rate ngx-maplibre-gl.
People also visit
ngx-bootstrap-icons
Bootstrap Icons components library for your Angular Applications
ngx-maplibre-gl FAQ
What is ngx-maplibre-gl?
An Angular wrapper for maplibre-gl that provides components for building maps in Angular apps.
Why do my map tiles not show?
The README says the MapLibre worker file must be served and set with setWorkerUrl before the first map is created. Without it the worker 404s and no tiles render.
Where can I see a demo?
The README links to a demo site on maplibre.org that is built from the repository's gh-pages output.
Is it based on another project?
Yes. The README says it is a fork of ngx-mapbox-gl and thanks that project's maintainers.
What are the best ngx-maplibre-gl alternatives?
Popular alternatives to ngx-maplibre-gl include ngx-mapbox-gl, vue-maplibre-gl and ngx-leaflet. See all ngx-maplibre-gl alternatives




















