Heiko Niemann wrote:
Hi,
http://www.zuccaralloo.de/devgroup/samples/weatherFronts.svg
shows a sample using textPath, a custom font and custom elements to
generate weather front curves. The attributes of the custom elements
determine the size, type and space in between the front symbols. The
actual space between the symbols will be adjusted to the length of the
path and the number of intervals calculated to fit on the path. Thus a
front will have this order: 1/2length of space - symbol - space - ...
- space - symbol - 1/2length of space.
Anyhow, this probably needs some improvements but maybe somebody has
use for it or will modify it to fit their needs.
download (including the map) at:
http://www.zuccaralloo.de/devgroup/content.php?m=messages
Regards-
-Heiko
Hi Heiko
ive one idea to improve the script.
in line 43
svgRoot.appendChild(group);
should be
front.parentNode.insertBefore(group,front)
so you can place the fopa:front elements anywhere in your document.
beside that, it looks really cool.
nice work.
cheers
holger
-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my
membership
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/