WebMap adapter to use Leaflet GIS framework.
npm install leaflet @nextgis/leaflet-map-adapter
import { WebMap } from '@nextgis/webmap';
import LeafletMapAdapter from '@nextgis/leaflet-map-adapter';
import 'leaflet/dist/leaflet.css';
const webMap = new WebMap({
mapAdapter: new LeafletMapAdapter()
});
webMap.create(options).then(() => {
// on webmap create
})
Need to fix a bug or add a feature to @nextgis/leaflet-map-adapter
? We provide custom development and support for this software. Contact us to discuss options!