use of org.gwtopenmaps.openlayers.client.geometry.Geometry in project geo-platform by geosdi.
the class WFSLinearRingFeatureHandler method manageUpdatedFeature.
@Override
protected void manageUpdatedFeature(VectorFeature modifiedFeature, VectorFeature oldFeature) {
Geometry geom = modifiedFeature.getGeometry().clone();
// String wktGeometry = modifyEditorControl.getWKTEditorConverter().convertGeometry(
// geom, new Projection(
// GPCoordinateReferenceSystem.WGS_84.getCode()));
event.setModifiedFeature(modifiedFeature);
event.setOldFeature(oldFeature);
event.setWktGeometry(geom.toString());
WFSFeatureDispatcher.fireFeatureDispatcherEvent(event);
}
use of org.gwtopenmaps.openlayers.client.geometry.Geometry in project geo-platform by geosdi.
the class WFSMultiLineFeatureHandler method manageUpdatedFeature.
@Override
protected void manageUpdatedFeature(VectorFeature modifiedFeature, VectorFeature oldFeature) {
Geometry geom = modifiedFeature.getGeometry().clone();
// String wktGeometry = modifyEditorControl.getWKTEditorConverter().convertGeometry(
// geom, new Projection(
// GPCoordinateReferenceSystem.WGS_84.getCode()));
event.setModifiedFeature(modifiedFeature);
event.setOldFeature(oldFeature);
event.setWktGeometry(geom.toString());
WFSFeatureDispatcher.fireFeatureDispatcherEvent(event);
}
use of org.gwtopenmaps.openlayers.client.geometry.Geometry in project geo-platform by geosdi.
the class WFSMultiPointFeatureHandler method manageUpdatedFeature.
@Override
protected void manageUpdatedFeature(VectorFeature modifiedFeature, VectorFeature oldFeature) {
Geometry geom = modifiedFeature.getGeometry().clone();
// String wktGeometry = modifyEditorControl.getWKTEditorConverter().convertGeometry(
// geom, new Projection(
// GPCoordinateReferenceSystem.WGS_84.getCode()));
event.setModifiedFeature(modifiedFeature);
event.setOldFeature(oldFeature);
event.setWktGeometry(geom.toString());
WFSFeatureDispatcher.fireFeatureDispatcherEvent(event);
}
use of org.gwtopenmaps.openlayers.client.geometry.Geometry in project geo-platform by geosdi.
the class WFSPointFeatureHandler method manageUpdatedFeature.
/**
* @param modifiedFeature
* @param oldFeature
*/
@Override
protected void manageUpdatedFeature(VectorFeature modifiedFeature, VectorFeature oldFeature) {
Geometry geom = modifiedFeature.getGeometry().clone();
event.setModifiedFeature(modifiedFeature);
event.setOldFeature(oldFeature);
event.setWktGeometry(geom.toString());
WFSFeatureDispatcher.fireFeatureDispatcherEvent(event);
}
use of org.gwtopenmaps.openlayers.client.geometry.Geometry in project geo-platform by geosdi.
the class WFSLineStringFeatureHandler method manageUpdatedFeature.
@Override
protected void manageUpdatedFeature(VectorFeature modifiedFeature, VectorFeature oldFeature) {
Geometry geom = modifiedFeature.getGeometry().clone();
// String wktGeometry = modifyEditorControl.getWKTEditorConverter().convertGeometry(
// geom, new Projection(
// GPCoordinateReferenceSystem.WGS_84.getCode()));
event.setModifiedFeature(modifiedFeature);
event.setOldFeature(oldFeature);
event.setWktGeometry(geom.toString());
WFSFeatureDispatcher.fireFeatureDispatcherEvent(event);
}
Aggregations