dymaptic / GeoBlazor

Core Components for the Dymaptic GeoBlazor Library
MIT License
108 stars 19 forks source link

SketchWidget AvailableCreateTools not working #342

Closed mfrezza closed 2 months ago

mfrezza commented 3 months ago

Hi, basically setting any value to AvailableCreateTools in SketchWidget seems to have no effect.

Basic example:

<SketchWidget Position="OverlayPosition.TopRight" GraphicsLayerId="sketchLayer.Id" AvailableCreateTools="this.sketchCreateTools"/>

where

private List<string> sketchCreateTools = new() { "polyline" };

It will render any create tools, meaning it's using the default value. Tried changing/adding values but got the same results.

Thank you.

TimPurdum commented 2 months ago

@mfrezza just wanted to let you know, I found the issue here, it will be fixed in the next GeoBlazor Pro release!