Hi
Is it possible to change edited shape handles size so it will be easier for a user to point on it in order to resize/move shape using finger on iPad?
Hi
Is it possible to change edited shape handles size so it will be easier for a user to point on it in order to resize/move shape using finger on iPad?
Hi Sergei,
Actually, these edit handles are controled by 2 OpenLayers elements, default vector style and VirtualStyle of ModifyFeature. So please try the code as following:
function saveMap() {
.....
OpenLayers.Feature.Vector.style['default']['pointRadius'] = '10';
var modifyControls = Map1.getControlsByClass("OpenLayers.Control.ModifyFeature");
// Todo: Here maybe you need to check if the modifyControls has the elements at first, if not, please create it
modifyControls[0].virtualStyle["pointRadius"] = '10';
});
Thanks,
Johnny