You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the following type error is thrown at [leafletDrawOptions]="drawOptions" in the console:
Type '{ draw: { polygon: boolean; }; edit: { featureGroup: L.FeatureGroup<any>; }; }' is not assignable to type 'DrawConstructorOptions'.
The types of 'draw.polygon' are incompatible between these types.
Type 'boolean' is not assignable to type 'false | PolygonOptions | undefined'.ngtsc(2322)
The text was updated successfully, but these errors were encountered:
If I specify that a polygon (or other shape such as a circle) should be false in the drawOptions like so:
then the following type error is thrown at
[leafletDrawOptions]="drawOptions"
in the console:The text was updated successfully, but these errors were encountered: