Clean up OpenLayers integration
[gpl/argeo-suite.git] / org.argeo.app.geo / src / org / argeo / app / geo / ux / MapPart.java
index 13190c98d238f75db9ef86a58b3aea8ac6dce874..8d5da7e9a47ac1d1d32544b404d0ed10f2ea458b 100644 (file)
@@ -2,17 +2,6 @@ package org.argeo.app.geo.ux;
 
 /** An UX part displaying a map. */
 public interface MapPart {
-       /** A supported geographical data format. */
-       enum GeoFormat {
-               GEOJSON, GPX;
-       }
-
-       void addPoint(double lng, double lat, String style);
-
-       void addUrlLayer(String url, GeoFormat format);
-
-       void setZoom(int zoom);
-
        void setCenter(double lng, double lat);
 
        /** Event when a feature has been single-clicked. */
@@ -22,4 +11,8 @@ public interface MapPart {
        /** Event when a feature has been selected. */
        record FeatureSelectedEvent(String path) {
        };
+
+       /** Event when a feature popup is requested. */
+       record FeaturePopupEvent(String path) {
+       };
 }