leaflet.wms
leaflet.wms copied to clipboard
How Import Leaflet.wms to Angular Project?
add with
npm i leaflet.wms
use this in your component.ts
import * as LWMS from 'leaflet.wms';
load and add layer with
LWMS.overlay(wmsMapUrl, {
layers: '',
version: '',
}).addTo(this.leafletMap);
If you find another method, let me know :)