[OpenLayers-Users] Help with 2.6 strokeWidth and strokeweight
on linestring on IE
Linda Rawson
linda.rawson at gmail.com
Wed Jun 18 10:54:52 EDT 2008
Please see this post ->
http://openlayers.org/pipermail/users/2008-June/006154.html for example.
Thanks,
Linda
On Wed, Jun 18, 2008 at 4:24 AM, Andreas Hocevar <andreas.hocevar at gmail.com>
wrote:
> Can you please provide a stripped down example that shows the problem?
>
> Regards,
> Andreas.
>
> On Tue, Jun 3, 2008 at 11:02 PM, Linda Rawson <linda.rawson at gmail.com>
wrote:
>> I am just getting back to trying to get my application to run in 2.6.
>> I cannot see linestring vector objects at the lowest scales. I am
>> beating my head against the wall. I get some of them to show up,
>> those with only 4 points by setting the StrokeWidth to 1 on the style.
>>
>> The rest....don't work. I step through the code. At these lines in
VML.JS
>>
>> if (options.isStroked) {
>> node.setAttribute("strokecolor", style.strokeColor);
>> node.setAttribute("strokeweight", style.strokeWidth + "px");
>> } else {
>> node.setAttribute("stroked", "false");
>> }
>>
>> node.getAttribute("strokeweight") before is 0.75. On the first zoom
>> levels it changes to "1px". Anytime I zoom further it will not change
>> the value of strokeweight no matter how hard I try to change the value
>> using hardcoded attributes or whatever.
>>
>> What has changed in this area between version 2.5 and 2.6. Where is
>> .75 coming from? Where can I override that?
>>
>> --
>> Linda Rawson
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>
--
Linda Rawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080618/d336f3d5/attachment.html
More information about the Users
mailing list