[mapguide-users] Maestro API 5 - GetLegendImage fails
Jackie Ng
jumpinjackie at gmail.com
Mon Aug 26 04:33:23 PDT 2013
Maestro's previews are off of a session-based copy of the Layer Definition,
but the idea is still the same.
The scale you specify must match a given VectorScaleRange in the Layer
Definition (the scale you specify lies between the min/max scales of the
VectorScaleRange)
The VectorScaleRange must have a [Point/Line/Area/Composite]TypeStyle of
the given type
The [Point/Line/Area/Composite]Rule must exist at the specified
zero-based theme index
The preview is generated off of this particular rule.
If that root condition isn't satisified, that's where a NULL MgByteReader
seems to be returned based on my glance at the server code.
- Jackie
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-API-5-GetLegendImage-fails-tp5074008p5074301.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list