Hi,
we'd like to extend the animator to have the indication of the param values
associated with that
frame as a label in a corner of the animation.
I was thinking about it and it seems to me the easiest, most natural way
could be to leverage
map decorations, adding a new type of templatable decoration that uses the
"env" filter
function as the source of values to be expanded.
This new "MessageDecoration" would be configurable using font family, size,
bold/italic,
halo radius and halo color, and the message could be either fixed, or a CQL
expression
just like in the "dynamic symbolizers", that is something like:
This is year ${env("time")}
where whatever is in ${...} is interpreted as a CQL expression.
Another option could be that the message is interpreted as a Freemarker
template that is
then fed the env variables as the evaluation context.
Hum.. I guess I like the second better, what do you say?
The animator would then stick into the env function the current param value.
Text wise, nothing fancy, I don't think I'm going to add wrapping and the
like for example.
Opinions?
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel