diff --git a/.classpath b/.classpath index eeba8d3..0ef9705 100644 --- a/.classpath +++ b/.classpath @@ -1,6 +1,6 @@ - + @@ -25,5 +25,5 @@ - + diff --git a/distro/changelog.xml b/distro/changelog.xml index 02bd4f0..3ab15f3 100644 --- a/distro/changelog.xml +++ b/distro/changelog.xml @@ -1,4 +1,8 @@ + + Updated to support EPSG 4326 + First release diff --git a/pom.xml b/pom.xml index 53f5c66..0909bf5 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ org.gcube.portlets.widgets openlayer-basic-widgets - 1.0.0-SNAPSHOT + 1.1.0-SNAPSHOT openlayer-basic-widgets openlayer-basic-widgets diff --git a/src/main/java/org/gcube/portlets/widgets/openlayerbasicwidgets/client/widgets/AreaSelectionDialog.java b/src/main/java/org/gcube/portlets/widgets/openlayerbasicwidgets/client/widgets/AreaSelectionDialog.java index 76d0f10..671dffd 100644 --- a/src/main/java/org/gcube/portlets/widgets/openlayerbasicwidgets/client/widgets/AreaSelectionDialog.java +++ b/src/main/java/org/gcube/portlets/widgets/openlayerbasicwidgets/client/widgets/AreaSelectionDialog.java @@ -318,6 +318,7 @@ public class AreaSelectionDialog extends DialogBox implements layers : [ $wnd.raster, $wnd.vector ], target : 'openLayerMap', view : new ol.View({ + projection: 'EPSG:4326', center : [ 0, 0 ], zoom : 0 })