[mapserver-users] scalebar in svg and template

Daniel Morissette dmorissette at mapgears.com
Mon May 25 12:58:07 PDT 2009


windyhs wrote:
> 
> 1. can mapserver showing the scalebar but in the svg format?
>    i had already tried, but it didn't work.
>    But if i changed the imagetype to gif or png, the scalebar show up.
> 

No, MapServer doesn't support scalebars in SVG format.


> 2. i'm using template to show the map using the tag <form>.
>    how can i show the imagefile rendered from mapserver but in the svg
> format?
>    what should i change in the <input> tag?
> 
>    note: i'm using tag from mapserver such as [img], etc.
> 

How to load SVG in a browser is not MapServer-specific... and in this 
case Google is your friend...

http://www.google.ca/search?hl=en&q=embedding+svg+in+html

Daniel
-- 
Daniel Morissette
http://www.mapgears.com/



More information about the MapServer-users mailing list