Zoomlevel Property
General info
Label |
Zoom Level |
Description |
Specific to groups (0-21) default Google zooming level. |
Data type |
UInt16 |
Min value |
0 |
Max value |
21 |
Type |
Regular |
Code |
1857 |
Symbolic name |
MODEL_PROP_ZOOMLEVEL |
Lua access code |
syslib.model.properties.Zoomlevel |
Available since |
1.10 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
| PROP_HAS_LOLIMIT | The property has a low limit. |
| PROP_HAS_HILIMIT | The property has a high limit. |
| PROP_NULLABLE | This Property can have no value. |
Examples
Read from or write to the Zoomlevel property.
-- Read from the Zoomlevel
syslib.getvalue("<OBJECT FULL PATH>.KPIGroupSettings.GeoMapOptions.Zoomlevel")
-- Write to the Zoomlevel
syslib.setvalue("<OBJECT FULL PATH>.KPIGroupSettings.GeoMapOptions.Zoomlevel", VALUE)
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the Zoomlevel
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.KPIGroupSettings.GeoMapOptions.Zoomlevel"));
// Write to the Zoomlevel
Result result = sli.WriteValue(sc, new WriteItem(VALUE, "<OBJECT FULL PATH>.KPIGroupSettings.GeoMapOptions.Zoomlevel"));