[mapguide-users] Maestro API 5 - GetLegendImage fails

Hans Milling hm at geograf.dk
Mon Aug 26 01:19:53 PDT 2013


I just tried using Http connection. I get the same error.

This time it fails in the HttpServerConnection.cs line 1515 in the
GetLegendImage function, but the same error:

ArgumentException - The parameter is not valid.

Parameters are:
scale: 5000.0
layerdefinition: Library://Denmark/Layers/Highways.LayerDefinition
themeindex: 0
type: 2
width: 16
height: 16
format: png

The URL generated in param is: 
http://localhost/mapguide25/mapagent/mapagent.fcgi?OPERATION=GETLEGENDIMAGE&VERSION=1.0.0&SESSION=9d63f7f2-0e26-11e3-8000-080027003c32_en_MTI3LjAuMC4x0B240B230B22&SCALE=5000.0&LAYERDEFINITION=Library%3a%2f%2fDenmark%2fLayers%2fHighways.LayerDefinition&THEMECATEGORY=0&WIDTH=16&HEIGHT=16&FORMAT=png&TYPE=2&CLIENTAGENT=MapGuide+Maestro+API+v5.0.0.6640

Still no error in any of the MapGuide log files

Hans...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-API-5-GetLegendImage-fails-tp5074008p5074252.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list