I'm curious as to what the suggested way of dealing with overlapping vector
features is and how to influence which one get to be actually chosen for a
handler, while preserving the original data as close as possible (bc of
serialization after manipulation) ?
On Monday 14 January 2008 23:33:04 Maria Panagou wrote:
Yes, but if refer to satellite layer in this way, wouldn't that mean that
when I zoom in that layer, something will happen? I really want something
to happen (display/hide layers) when I zoom in the map generally. At
initialization of
On Sunday 13 January 2008 19:47:14 Maria Panagou wrote:
I'm trying to display a different base layer, depending on zoom levels. I
use the following code:
My first idea would be to put all layers that are referenced (regardless of
zoom level) in my map and then just change their properties to
On Saturday 12 January 2008 14:40:25 Eric Lemoine wrote:
Setting the drag handler's stopDown property to false won't help you
because the event you want to get click not mousedown. Anyhow the
D'oh, right ! (this is where slight forehead slapping takes place on my part).
So apply the patch and
On Thursday 10 January 2008 12:29:26 Eric Lemoine wrote:
Since pretty soon, the drag handler has a stopDown API property that
Now that's what I call bleeding edge :)
one can set to allow/disallow event propagation. You can try to do
dragControl.dragHandler.stopDown = true. Currently, there's
On Friday 11 January 2008 17:49:09 Eric Lemoine wrote:
In any case (in mine DragHandler
and a 'click' Map.Event above a feature), I've tried setting both
true/false manually but that did not change much as (according to my
admittedly poor firebug skills) the event still gets stopped in
Stiff familiarizing myself with OpenLayers, I ran into something I'm not sure
is a design intention or am I simply doing something wrong: Controls do not
have events, and if I have a control that operates on features, my map events
get obstructed. Example - I have a Control.DragFeature on the
On Monday 07 January 2008 12:39:30 Eric Lemoine wrote:
Off the top of my head: you could try to erase the feature before
calling layer.redraw() in the onComplete() callback. To erase the
feature use feature.layer.eraseFeatures([feature]).
one feature with one geometry. The magic line
I was writing functions for a DragFreature control and wanted to implement an
undo/invalid choice type of feature, but I can't seem to find how to cancel a
drag (if f.e. the drop location is found to be invalid in the onComplete
function). I tried restoring geometry (which I saved in onStart)
I have a question about this method, the description says Determins whether
the feature intersects with the specified location., however in my
experience this returns true if the given point is in the feature's _bounding
box_, not the feature itself. Is this the intended behaviour (a bit of
10 matches
Mail list logo