maxResolution at map.as

5 views
Skip to first unread message

Daniel

unread,
Dec 10, 2009, 5:17:54 AM12/10/09
to openscales-dev
Hi,
Why there isn't attribute maxResolution at /core/Map.as in the
OpenScales 1.1? Because before, I used it for my own map(pure
ActionScript 3.0).
At the Feature.as in the OpenScales 1.1, at the function draw,
there is
// FIXME : Ugly thing done here
style = (this.layer as FeatureLayer).style;
What's this for? And Can I cancel it? Thanks

Bouiaw

unread,
Dec 10, 2009, 6:05:37 AM12/10/09
to opensca...@googlegroups.com
We have done some modifications in 1.1 about where are defined
parameters between Map/baseLayer and Layers. It was fuzzy in 1.0, this
is more clear in 1.1. In 1.1, maxResolution is defined at layer level.
Check AsDocs for more details :
http://openscales.org/userguide/openscales-core/asdoc/index.html

In Feature, the draw function is fine, even if this comments is not
very meaningful. The "ugly" thing that will be improved in future
releases is that we change the feature style in the draw function
instead of doing this encapsulated in the style getter.
> --
>
> You received this message because you are subscribed to the Google Groups "openscales-dev" group.
> To post to this group, send email to opensca...@googlegroups.com.
> To unsubscribe from this group, send email to openscales-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openscales-dev?hl=en.
>
>
>
Reply all
Reply to author
Forward
0 new messages