[mapguide-users] Maestro Python api example script setScaleRange for a drawingLayer
lucvanlinden
luc.vanlinden at gmail.com
Mon Jan 26 04:22:16 PST 2015
Some more feedback:
The MaestroAPI.chm does list a MinScaleSpecified property for the
DrawingLayerDefintionType.
However when running the script in the console reports a non existing
attribute :
AttributeError: ‘DrawingLayerDefintionType’ object has no attributes
MinScaleSpecified
Also when using the context menu from the python console, the
MinScaleSpecified is not listed.
However, when setting the MinScale property to a value other then 0, Maestro
seems to include the MinScale tag by default in the XML defintion.
For the MaxScale it is required to set the MaxScaleSpecified = True in order
to have it saved.
Luc
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-Python-api-example-script-setScaleRange-for-a-drawingLayer-tp5183707p5183732.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list