]> git.argeo.org Git - gpl/argeo-suite.git/blobdiff - org.argeo.app.geo/src/org/argeo/app/geo/ux/MapPart.java
Map feature popup
[gpl/argeo-suite.git] / org.argeo.app.geo / src / org / argeo / app / geo / ux / MapPart.java
index 9e61531a035c01244870bef3a5d66739c422b078..11ee0d11875345f1b716acb53df0e9ba9e3be39c 100644 (file)
@@ -14,4 +14,15 @@ 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) {
+       };
+       /** Event when a feature popup is requested. */
+       record FeaturePopupEvent(String path) {
+       };
 }