Last modified: 2013-10-27 16:08:50 UTC
Since MediaWiki now renders SVG directly, it would be nice to permit choosing wich objects to render, or to change on the fly. We at pt:wikipedia have an SVG map where we store everything, from rivers to municipalities. We could choose on the fly which municipality should be highlighted, so the map could be just one (instead of the hundreds used where two single objects change). Proposed format (something like this): [[Image:whatever.svg|control=municipality_Castelo_Branco.fill=gradient,black,white;|...]] This would change the ''fill'' property of the ''municipality_Castelo_Branco'' objecto to a (SVG-specific-parameter) gradient, starting with black, finishing with white.
*** This bug has been marked as a duplicate of bug 4688 ***
Hi there, since I'm the reporter from #4688 and #4689, I just wanted to highlight these were separate on purpose. Issue #4688 deals with layer selection, while this one (#4689) deals with layer/object *manipulation*. This one can obviously be accomplished with #4688, but I think that it would require the SVG to have the "highlighted" polygons in the form of layers. That could turn an already big SVG into a bigger one, as well requiring the author to basically duplicate all portions (creating highlighted ones), although it could be eventually accomplished in a easier way. So I'll change the status (if possible) so you can review this.