Questions tagged [ngx-leaflet-draw]
3 questions
5
votes
1 answer
ngx-leaflet-draw: Importing module which does not have a ɵmod property
Importing LeafletDrawModule which does not have a ɵmod property
I am seeing this error during my unit testing(jest).
The code works fine when I run the ng application. Leaflet draw function works perfectly.
Angular: 11
@asymmetrik/ngx-leaflet:…

Vaisakh Rajagopal
- 1,189
- 1
- 14
- 23
0
votes
1 answer
How can I show the polygon coordinates by popup in Angular?
here is the function of drawing polygon in leaflet map.
onDrawCreated(e: any) {
const { layerType, layer } = e;
if (layerType === "polygon") {
const polygonCoordinates = layer._latlngs;
…

Nil
- 3
- 2
0
votes
1 answer
Why this ngx-leaflet params are not working properly?
I´m trying to make everything as possible in my leaflet project in Angular with ngx-angular but can´t find the way to make them work properly.
This is my params code:
zoomControl = {position: 'bottomright'};
readonly drawOptions = {
position:…

B2DAW
- 65
- 1
- 8