Hi Brad,

i see that youre using graphicZIndex: "${zind}" in ur style, but
actually you dont put zind attribute anywhere, thus the features are
rendered in the order how you add them to layer. I see that you add
first bigger ones then small ones, so the order comes out the way you
wanted ;)

Cheers

On Mon, Feb 16, 2009 at 3:29 AM, Brad Spencer <[email protected]> wrote:
> List,
>
> This is all sorted now.
>
> Cheers, Brad...
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Brad Spencer
> Sent: Monday, February 16, 2009 11:19 AM
> To: 'Ivan Grcic'
> Cc: 'openlayers users'
> Subject: Re: [OpenLayers-Users] Dragging vectors
>
> Thanks Ivan that did the trick. I must have been blind to miss that:).
>
> Anyway, I have another issue. These vector circles are of different sizes
> and I am wanting to use hover as the popup trigger. However, the smaller
> symbols that fall inside the larger ones [at smaller scales] are not
> accessible to the mouseover - only the larger vector's popup is visible.
>
> I thought I could control this by setting a graphicZIndex on the default
> symbolizer such that the smaller ones were 'higher' in the zIndex stack than
> the larger ones and moving over a small one (even if inside the larger one)
> would trigger its popup.
>
> But its not doing what I thought it should. Can someone please scan over
> this example for me to advise how to do this.
>
> http://demos.numaps.com.au/dragVectors.html
>
> Cheers, Brad
>
> -----Original Message-----
> From: Ivan Grcic [mailto:[email protected]]
> Sent: Sunday, February 15, 2009 10:17 PM
> To: Brad Spencer
> Cc: openlayers users
> Subject: Re: [OpenLayers-Users] Dragging vectors
>
> Hi ,
>
> try:
>
> control.activate();
>
> ;)
>
> Cheers
>
> On Sun, Feb 15, 2009 at 8:41 AM, Brad Spencer <[email protected]> wrote:
>> Hi List,
>>
>>
>>
>> I have moved away from Markers in order to take advantage of the better
>> support for vectors, specifically dragging of.
>>
>>
>>
>> I have looked at the various examples etc and have made my own test
>> application that is doing what I want with the exception of dragging.
>>
>>
>>
>> This example will generate 5 vector points with different sizes of symbol
>> radius based on a variable when creating it. I also create different
>> behavior when hovering over the symbol such as changing its colour and
>> generating a popup with additional data included.
>>
>>
>>
>> However, it will not allow me to drag the vector feature to a new
> location.
>>
>>
>>
>> Can anyone show me where I am going wrong or if indeed this can be done at
>> all.
>>
>>
>>
>> http://demos.numaps.com.au/dragVectors.html
>>
>>
>>
>> Cheers,
>>
>>
>>
>> Brad Spencer
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>
>
>
> --
> Ivan Grcic
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Ivan Grcic
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to