Re: [OpenLayers-Users] Deleting a feature

2009-03-10 Thread Jan van der Ven
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

Re: [OpenLayers-Users] Question about selected feature

2009-03-05 Thread Jan van der Ven
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-Users] FW: Edit circles not showing when styleMap isspecified

2008-12-16 Thread Jan van der Ven
({}, 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

Re: [OpenLayers-Users] google, kml and projection alignment

2008-12-16 Thread Jan van der Ven
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

Re: [OpenLayers-Users] Edit circles not showing when styleMap is specified

2008-12-15 Thread Jan van der Ven
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

[OpenLayers-Users] Edit circles not showing when styleMap is specified

2008-12-15 Thread Jan van der Ven
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

Re: [OpenLayers-Users] GeoJSON layer and modifyFeature control

2008-12-04 Thread Jan van der Ven
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:

Re: [OpenLayers-Users] GeoJSON layer and modifyFeature control

2008-12-04 Thread Jan van der Ven
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