[OpenLayers-Users] SVG Image Sources...
Follower/OL
follower at rancidbacon.com
Tue Jun 27 02:16:45 CDT 2006
Hi Corey,
Apologies for the delay in answering your query...
I actually had to think hard to remember how I'd put the control
graphics together, but eventually I remembered. :-)
> arrows.svg actually appears to be the zoom-out button. Missing
> images include the pan arrows and the zoom-in button.
We should probably change the name of this file in the repository
because it *does* actually contain all the other buttons but it's not
exactly clear how. :-)
The SVG file was created in Inkscape <http://inkscape.org/> and has
multiple layers.
The coloured background is the layer named "background". There are also
individual layers for:
* The zoom minus ("zoom" layer)--the zoom plus is created by changing
the minus character to a plus--a very sophisticated solution. :-)
(The background would also need to be flipped.)
* The pan triangle ("pan triangle" layer)--to create the other
three variations requires the background and triangle to be
manually rotated.
I did have plans to either script the generation of the other images or
create a single file that had linked versions of the elements so that
changing the background in one place would change it to all. But at the
time the emphasis was on getting the job done... Feel free to do either
of these (probably the latter makes more sense) and update the SVG file. :-)
I hope this has helped, mail the list if you have any further questions.
--Phil.
More information about the Users
mailing list