You will need to run your app with an uncompressed openlayers and use
a debugger like FireBug or the one built into IE 8 to figure out what
is the invalid argument. You may be returning a string value or a
negative number, perhaps using parseInt or parseFloat to sanitize the
number might h
Hey Paul,
it´s helping to reduce my lines of code for sure :-) But my main problem
still exists: Whenever I try to get the attribute "radius" (also tried it
with the strokeWidth-attribute, doesnt´s work either) of the vectorfeature
to be the radius of it the nice error message "Line: 625 Column:
Thanks Andreas, I've committed your last patch.
Cheers
Paul
On 2009-09-17, at 11:46 AM, Andreas Hocevar wrote:
> Hey Paul,
>
> I had totally forgotten about this ticket. I combined the 2nd patch
> with the test from the 1st patch and uploaded a new patch that you
> can commit.
>
> Thanks fo
Hey Paul,
I had totally forgotten about this ticket. I combined the 2nd patch with
the test from the 1st patch and uploaded a new patch that you can commit.
Thanks for that contribution, it will make styling easier for sure.
Regards,
Andreas.
Paul Spencer wrote:
> http://trac.openlayers.org/ti
http://trac.openlayers.org/ticket/2146 may help, I filed this a while
back with a patch to make it possible to use a context and attribute
map. This lets you use ${} for feature styling from attributes and
methods in a context:{} at the same time, reducing the perceived
overhead of adding
Hi Andreas,
Thank you for that hint. I already found that out to but it doesn´t help me
with solving my problem. I prefer to avoid using the context because of
this. Any other ideas on this?
greets
Max Stephan
Andreas Hocevar-2 wrote:
>
> Max Stephan wrote:
>> Hi list,
>>
>> I have a vectorlay
Max Stephan wrote:
> Hi list,
>
> I have a vectorlayer to which the user can add features and modify those
> features. The user can change the attributes for the features like
> fillColor, strokeColor etc. in a form. A javascript-method is executed by a
> button-click and saves those attributes as
Hi list,
I have a vectorlayer to which the user can add features and modify those
features. The user can change the attributes for the features like
fillColor, strokeColor etc. in a form. A javascript-method is executed by a
button-click and saves those attributes as vectorattributes (e.g.
featur