Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 696 Bytes

README.md

File metadata and controls

28 lines (15 loc) · 696 Bytes

Mapbox-gl wrapper for Dart

Library to use Maplibre GL JS from Dart.

Forked from https://github.com/andrea689/mapbox-gl-dart and slightly adapted for the use with Maplibre.

Thank you for your great work @andrea689!

Using this package

You must include Maplibre GL JS into your .html file to be able to use this package.

<script src="https://cdn.maptiler.com/maplibre-gl-js/v2.2.0-pre.2/maplibre-gl.js"></script>
<link href="https://cdn.maptiler.com/maplibre-gl-js/v2.2.0-pre.2/maplibre-gl.css" rel="stylesheet" />

Run example

pub global activate webdev

webdev serve example:8081

Open browser to localhost:8081