forcing to use poligon geometry
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@178876 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4dd754f601
commit
afa89e9b4c
|
@ -7,6 +7,7 @@ import org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaD
|
||||||
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaDialogEvent.SelectAreaDialogEventHandler;
|
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaDialogEvent.SelectAreaDialogEventHandler;
|
||||||
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaDialogEventType;
|
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.event.SelectAreaDialogEventType;
|
||||||
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.AreaSelectionDialog;
|
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.AreaSelectionDialog;
|
||||||
|
import org.gcube.portlets.widgets.openlayerbasicwidgets.client.widgets.GeometryType;
|
||||||
|
|
||||||
import com.google.gwt.core.client.JavaScriptObject;
|
import com.google.gwt.core.client.JavaScriptObject;
|
||||||
import com.google.gwt.core.client.JsonUtils;
|
import com.google.gwt.core.client.JsonUtils;
|
||||||
|
@ -31,7 +32,7 @@ public class GeoJsonAreaSelectionDialog extends AreaSelectionDialog{
|
||||||
* Instantiates a new geo json area selection dialog.
|
* Instantiates a new geo json area selection dialog.
|
||||||
*/
|
*/
|
||||||
public GeoJsonAreaSelectionDialog() {
|
public GeoJsonAreaSelectionDialog() {
|
||||||
super();
|
super(GeometryType.Polygon);
|
||||||
|
|
||||||
//THE HANDLER
|
//THE HANDLER
|
||||||
SelectAreaDialogEventHandler handler = new SelectAreaDialogEventHandler() {
|
SelectAreaDialogEventHandler handler = new SelectAreaDialogEventHandler() {
|
||||||
|
|
Loading…
Reference in New Issue