hi,
you can use

poly.setOptions({strokeWeight: YOURVALUE });

in the event method of zoom_changed




On Wed, Jan 2, 2013 at 5:58 PM, ficho <c.zou...@gmail.com> wrote:

> Hi Tali,
>
> Is there a specific method to change the weight or you need to redefine
> the whole style for a different zoom level?
> Thanks!
> ficho
>
>
> On Tuesday, January 1, 2013 3:06:14 AM UTC-5, taviram wrote:
>>
>> hi,
>> you can change weight in zoom_changed event
>> Tali
>>
>> On Monday, December 31, 2012 10:33:11 PM UTC+2, ficho wrote:
>>>
>>> Hi All,
>>>
>>> Another question regarding styled maps.
>>> The weight feature is really a great new addition, but I can not seem to
>>> find a way to use it on roads with weights above 1 without
>>> scaling disproportionately at high zoom levels.
>>> Any weight above 1 will not be scaled back when zooming out, resulting
>>> in a huge road clutter making the style unusable.
>>>
>>> Is this intentional, a bug? or a feature request currently underway?
>>> Thanks!
>>> ficho
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/idO5MlGaavEJ.
>
> To post to this group, send email to
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>



-- 
טלי אבירם,
מתכנתת ,
המחלקה לגיאוגרפיה,
האוניברסיטה העברית, הר-הצופים ירושלים
02-5881287
050-6392528

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to