Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

Closed Issue: Multiply legends bug [24036]

$
0
0
When application has a several legends, then the clicking on any FeatureLayer context actions (e.g. Properties, Join Excel, Export data, etc..) executes the action associated with this context menu several times (as much as legends number).

The problem is in FeatureLayerEventSender class, it should be not a singletone.
The best solution is in moving creating of all predefined context menu items from FeatureLayer.Configure() into inside of Legend (e.g. into OnInitializeItem() method)
Comments: Resolved with changeset 71395: Fixed a bug with multiply legends.
Now one application can contains several fully independ legends.
This commit include some breaking changes:
- Removed singletones FeatureLayerEventSender, ImageLayerEventSender, LayerEventSender, RasterLayerEventSender - instead added pairs ILayerActions/LayerActions, IFeatureLayerActions/FeatureLayerActions, etc.
- Renamed properties in SymbologyEventManager to match the names of new classes

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>