Hi,The ScaleBar Control has been deprecated so the recommendation is to use the ScaleLine control in the Toolkit. The ScaleLine control exhibits the same behaviour you were experiencing with the ScaleBar control because, by design the ScaleLine control takes the value at the centre of the map as the approximate scale. This means that if the map projection does not preserve distance then the ScaleLine control value will change as the map is panned, which is what you are experiencing. Would it be possible for you to try data that is in a map projection that does preserve distance and then test this with the ScaleLine control?CheersKerrie
Also, as he said, we're using WGS 1984 Web Mercator, which is the default projection for Tile Packs. Does that mean your default doesn't preserve distance?
Also, area and distance measurements in Mercator will not be correct since the farther north you take the measurement, the more distortion there is.
This would address then why the scale changes as you move towards Alaska in the screenshots, because you're moving farther North, correct?
Do you have any other configuration files available for other projections with Tile Packs? Or, are there any tools to create one, or an article that provides the details (rather than a summary of concept) that describes what the parameters mean in the xml files?
Also, it seems to me that this is not the proper way to present the scale line (just my opinion). Compare/contrast to google/bing maps. As you pan around on their maps, you will see the lengths of the scale line grow/shrink depending upon the center point of the map. This seems to be a cleaner approach than the runtime control which keeps the scaleline width the same, but changes the distance value instead. Keeping the distance label the same seems like it would be more intuitive for people that have no understanding of projections and mathematics.
We believe that the behaviour that the Scaleline exhibits is the same as the Google/Bing maps whereby the Scaleline grows and shrinks and the value changes.
Retrieving data ...