Christopher Schmidt wrote:
> On Fri, Apr 04, 2008 at 10:48:09AM +0200, Eric Lemoine wrote:
>   
>> On Thu, Apr 3, 2008 at 11:05 PM, Bjorn Sandvik <[EMAIL PROTECTED]> wrote:
>>     
>>>  My question: Is there a way to keep the relative size of the symbols
>>>  when the users zoom in/out?
>>>       
>> AFAICT there's no way to style features based on the current zoom level.
>>     
>
> I'm pretty sure that the StyleMap/Style/Rule system is designed exactly
> for that, but I have no idea how it's supposed to work.
>   

You're right. The solution does not even involve rules.

> I would say "look at http://trac.openlayers.org/wiki/Styles";, but I see
> that it's using Rules for styling, which I think was recently decided
> would be unsupported in OpenLayers 2.6, so I don't know what you're
> actually supposed to do.
>   

Well, the wiki page will have to be changed once it is decided how to 
continue with the rules/filters issue.

> Andreas? Tim?
>   

The solution is in the styles-context.html example. I already posted a 
detailled answer as reply to another posting in this thread.

Regards,
Andreas.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to