[mapserver-dev] Scalebar enhancement
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Tue Feb 3 07:39:04 PST 2015
Maybe these should just be default behaviors instead of something configured. They seem like nice improvements to core functionality.
Steve
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Tamas Szekeres
Sent: Tuesday, February 03, 2015 2:41 AM
To: mapserver-dev at lists.osgeo.org
Subject: [mapserver-dev] Scalebar enhancement
Hi Devs,
We'd like to implement a small enhancement for the embedded scalebar rendering to provide a better visual appearance in all cases.
1. Provide an option to display 'friendly' numbers using multiple of of 1,10,100,1000, etc... or 200,2000, etc... or 5,50,500,5000, etc... This may result that the actual width of the scalebar may become slightly different as what have been specified, but that's not a problem in our use case.
2. Allow to switch the displayed unit between m and km automatically according to the displayed distance values. For example 1000m would be displayed as 1km automatically.
Does this make sense?
How do we expect to configure this behavior? Should that be a special 'scalebar style' or new scalebar parameters would be reasonable to be added? I'd however avoid to introduce a new parameter for each option.
Thanks,
Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20150203/52463a1e/attachment.html>
More information about the mapserver-dev
mailing list