{"repo":"Wykks/ngx-mapbox-gl","free":true,"listed":false,"github":"https://github.com/Wykks/ngx-mapbox-gl","clone":"git clone https://github.com/Wykks/ngx-mapbox-gl.git","description":"Angular binding of mapbox-gl-js","language":"TypeScript","stars":358,"topics":["angular","mapbox-gl"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"ngx-mapbox-gl Angular wrapper for mapbox-gl-js. It exposes a bunch of components meant to be simple to use with Angular. v1.X : Angular 5 & 6 (rxjs 5) v2.X : Angular 6 & 7 (rxjs 6) v3.X : Angular 7.2 v4.X : Angular 8 - 10 (rxjs = 6.5) v5.X - 6.X : Angular 9 - 11 (rxjs = 6.5) v7.X : Angular 12 (rxjs = 6.6) v8.X : Angular 13 v9.X : Angular 14 v10.X : Angular 16 - 17 v11.X : Angular 18 v12.X : Angular 19, Mapbox-gl = 3.5 v13.X : Angular 20, Mapbox-gl = 3.5 v14.X : Angular 21 & 22, Mapbox-gl = 3.5 Include the following components: - mgl-map - mgl-layer - mgl-geojson-source - mgl-canvas-source - mgl-image-source - mgl-raster-dem-source - mgl-raster-source - mgl-vector-source - mgl-video-source - mgl-image - mgl-control with builtin control: - mglScale - mglFullscreen - mglAttribution - mglGeolocate - mglNavigation - mgl-marker - mgl-popup - mgl-markers-for-clusters (Documentation here: https://wykks.github.io/ngx-mapbox-gl/doc) How to start Load the CSS of mapbox-gl For example, with angular-cli add this in angular.json : Or in the global CSS file (called styles.css for example in angular-cli ): Then, you can configure the access token this way: NOTE: This is optional, you can also set the access tokenper map (accessToken input of mgl-map) How to get a Mapbox token: https://www.mapbox.com/help/how-access-tokens-work/ Note: mapbox-gl cannot work without a token anymore. If you want to keep using their services then make a free account, generate a new token for your application and ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Wykks","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Wykks/ngx-mapbox-gl/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}