Improve callback support
[gpl/argeo-suite.git] / org.argeo.app.geo / src / org / argeo / app / geo / ux / MapPart.java
index 9e61531a035c01244870bef3a5d66739c422b078..13190c98d238f75db9ef86a58b3aea8ac6dce874 100644 (file)
@@ -14,4 +14,12 @@ public interface MapPart {
        void setZoom(int zoom);
 
        void setCenter(double lng, double lat);
+
+       /** Event when a feature has been single-clicked. */
+       record FeatureSingleClickEvent(String path) {
+       };
+
+       /** Event when a feature has been selected. */
+       record FeatureSelectedEvent(String path) {
+       };
 }