Scale bar

Developer
Nov 30, 2010 at 8:30 PM

Is there a scale bar control that can be place on the map control?

Developer
Dec 1, 2010 at 5:05 AM

It wouldn't be hard to write one as an "Always On" MapFunction.  I think there is a template for that with the MapFunctionGlyph or something.  As to the measuring itself the Map.ProjToPixel or vice versa, combined with the Map.MapFrame.Projection in order to figure out the units (usually feet, meters or lat long).  You might want to do a bit of rounding to make the numbers come out nice.  If you don't want to write it, add it as a feature request in the issue list and I will get to it eventually, but I'm away at a conference right now so nothing will happen until I get back.  It's a good idea though, and would make a nice addition.

Ted