Knowledge Base



KB10546 - Problem with the GIS.Zoom (pixels verus twips).

Question from a DK customer:

In my project file I have:

[TatukGIS Layer1]
Path=layer.shp
Name=cities
Visible = false

[TatukGIS Layer1 1]
MinZoom=340
Visible=true

The Layer becomes visible even if GIS.Zoom reports only 27. What's wrong?

Specify instead:

MinZoom=-3000

Negative values correspond to PIXEL related calculations (such as GIS.Zoom). Positive values correspond to TWIPS related calculations (such as GIS.ZoomEx).

Created: July 28, 2004, Modified: September 10, 2015