map.addControl(new OverviewMap());
map.addControl(new ScaleLine());
ModifyFeatureOptions featureOptions = new ModifyFeatureOptions();
featureOptions.setMode(ModifyFeature.RESIZE);
featureOptions.onModificationEnd(new ModifyFeature.OnModificationEndListener() {
@Override
public void onModificationEnd(VectorFeature vectorFeature) {
float diameter = vectorFeature.getGeometry().getBounds().getWidth();
storeBinder.getModel().setRadius(diameter / 2);
}