Select to view content in your preferred language

Get the layer's min and maxscale

682
1
07-05-2010 12:28 AM
BerendVeldkamp
Frequent Contributor
Is it possible to get a layer's minscale and maxscale settings using VBScript or JScript? The documentation only mentions these in the context of an .apm or .apl file, but not as a property of the Layer object.

I'm using ArcPad 8.0.3

Regards,
Tags (3)
0 Kudos
1 Reply
JuanLuera
Deactivated User
This can be accomplished through the Map Object.

Customizing ArcPad Help > ArcPad XML Reference > LAYER and related elements > LAYER

Example:

<ArcPad>
<MAP name="scale_test">
<PROPERTIES />
<LAYER name="ArcPad_Project.sid" minscale="1:4000"
maxscale="1:7500" refscale="1:7159" quickcapture="true"
quickcapturelabel="Capture ArcPad_Project.sid" quickdraw="1" />
</MAP>
</ARCPAD>

NOTE: The minscale and maxscale attribute values specified for a layer
in an ArcPad map file (*.apm) override the minscale and maxscale
attribute values specified for that layer in its layer file (*.apl).
0 Kudos