This is a two part question:
I create a print preview map using PrinterInteractiveOverlay with MapPrinterLayer, then add ScaleBarPrinterLayer and ScaleTextPrinterLayer. The resize mode of the map is Resizeable.
- If I select the MapPrinterLayer and resize vertically the scale change is not indicated by the ScaleTextPrinterLayer or the ScaleBarPrinterLayer, even though the scale is changing. However, if I resize the map horizontally, the scale change is reflected in both the ScaleTextPrinterLayer and the ScaleBarPrinterLayer. Should it not work both ways?
- Before ThinkGeo made a ScaleTextPrinterLayer available, I created my own. But when I compare the ThinkGeo ScaleTextPrinterLayer with my custom ScaleTextPrinterLayer it appears that the ThinkGeo version is slightly inaccurate. Am I correct?
I have attached a sample project that demonstrates this behavior. In the sample, the ThinkGeo ScaleTextPrinter layer appears in the upper left of the map and the one I wrote is in the upper right. When you click the button it will set the scale to 1 inch = 1320 feet (1:15840). The ThinkGeo ScaleText reads 1 inch = 1,138 feet and mine says 1 in = 1,320 ft.
Thanks very much!
ScaleBarTest.zip (1.0 MB)