Updated to support EPSG 4326

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/openlayer-basic-widgets@135158 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2016-12-01 10:02:17 +00:00
parent e92de9c355
commit af47ba2a66
4 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/openlayer-basic-widgets-1.0.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<classpathentry kind="src" output="target/openlayer-basic-widgets-1.1.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
@ -25,5 +25,5 @@
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="target/openlayer-basic-widgets-1.0.0-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="output" path="target/openlayer-basic-widgets-1.1.0-SNAPSHOT/WEB-INF/classes"/>
</classpath>

View File

@ -1,4 +1,8 @@
<ReleaseNotes>
<Changeset component="org.gcube.portlets.widgets.openlayer-basic-widgets.1-1-0"
date="2016-12-01">
<Change>Updated to support EPSG 4326</Change>
</Changeset>
<Changeset component="org.gcube.portlets.widgets.openlayer-basic-widgets.1-0-0"
date="2016-10-01">
<Change>First release</Change>

View File

@ -12,7 +12,7 @@
<groupId>org.gcube.portlets.widgets</groupId>
<artifactId>openlayer-basic-widgets</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.1.0-SNAPSHOT</version>
<name>openlayer-basic-widgets</name>
<description>openlayer-basic-widgets</description>

View File

@ -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
})