Dave,
I had the same problem when changing the modify control from shape to size.
I fixed it like this:
modifyControl.selectControl.unselect(modifyControl.feature);
You have to get the timing right though.
Kind regards,
Jan
-Original Message-
From: users-boun...@openlayers.org
Hi,
Normally Ctrl-Click deselects and Shift-Click adds a feature to the
selection. This behaviour can be modified with the clickout property. See
http://openlayers.org/dev/examples/ keyword select.
Kind regards,
Jan
-Original Message-
From: users-boun...@openlayers.org
({},
OpenLayers.Feature.Vector.style['select']);
ctrlSelectFeature.selectStyle = selectStyle;
ctrlModifyFeature.virtualStyle = selectStyle;
Arnd Wippermann
-Ursprüngliche Nachricht-
Von: users-boun...@openlayers.org [mailto:users-boun...@openlayers.org] Im
Auftrag von Jan van der Ven
Gesendet
Dear Tim,
I add my hybrid google layer like this (sphericalMercator instead of
sphericalProjection):
layer = new OpenLayers.Layer.Google( Hybrid , {type: G_HYBRID_MAP,
'sphericalMercator':true} );
layer.addOptions({isBaseLayer: true, buffer: 1});
map.addLayer(layer);
And 900913 is
OpenLayers.Rule({
symbolizer: {strokeColor:red,strokeWidth: 2},
elseFilter: true
})];
styles.styles[default].addRules(rules);
Hope this helps,
Alexandre
Jan van der Ven wrote:
Dear list,
I have a map to which I add nine vector layers (all polygons). The
layers all should have their own color
that influence the ModifyFeature control?
3) What can I do to fix this?
Thanks in advance.
Kind regards,
Jan van der Ven
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hi,
Only one select control can be active at the same time. Selections are made
in the layer that is on top of the Z-order.
Kind regards,
Jan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Adorian Ardelean
Sent: Thursday, December 04, 2008 09:47
To:
distinct
layers (let say I have several selectFeature controls to get feature infos
in various layers). Only the modifyFeature on the GeoJSON layer does not
work.
All the best,
Adorian
On Thu, Dec 4, 2008 at 9:54 AM, Jan van der Ven [EMAIL PROTECTED]
wrote:
Hi,
Only one select control can