Customisable map styling
[gpl/argeo-suite.git] / org.argeo.app.geo / src / org / argeo / app / geo / ux / MapPart.java
index 9e61531a035c01244870bef3a5d66739c422b078..84f4dd541cf6b0acfed6623e6c5680eb48965ac4 100644 (file)
@@ -9,9 +9,21 @@ public interface MapPart {
 
        void addPoint(double lng, double lat, String style);
 
-       void addUrlLayer(String url, GeoFormat format);
+       void addUrlLayer(String url, GeoFormat format, String style);
 
        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) {
+       };
 }