[mapguide-users] GETDYNAMICMAPOVERLAYIMAGE not working properly with session created by CREATERUNTIMEMAP
mjirku
martinjirku at gmail.com
Wed May 28 01:08:32 PDT 2014
Hello All,
I created a session with new api CREATERUNTIMEMAP, which returns the e.g.
sessionId, mapname.
I used this sessionId and mapname with GETDYNAMICMAPOVERLAYIMAGE, and with
these parameters:
operation: GETDYNAMICMAPOVERLAYIMAGE
USERNAME: Anonymous
MAPNAME: Bratislava_WGS84
SESSION: 904634dc-e63d-11e3-8000-000c29a84b46_en_MTI3LjAuMC4x0AFC0AFB0AFA
format: PNG
locale: en
clip: 1
version: 2.0.0
setdisplaydpi: 72
setdisplayheight: 1129.5
setdisplaywidth: 1054.5
setviewcenterx: 1911197.671377
setviewcentery: 6132063.8146509
setviewscale: 283.464
It generates empty image. But when I use same parameters with GETMAPIMAGE
like this:
operation: GETMAPIMAGE
USERNAME: Anonymous
MAPNAME: Bratislava_WGS84
SESSION: 904634dc-e63d-11e3-8000-000c29a84b46_en_MTI3LjAuMC4x0AFC0AFB0AFA
format: PNG
locale: en
clip: 1
version: 2.0.0
setdisplaydpi: 72
setdisplayheight: 1129.5
setdisplaywidth: 1054.5
setviewcenterx: 1911197.671377
setviewcentery: 6132063.8146509
setviewscale: 283.464
everything works as it should, I see generated image.
Where am I doing mistakes? what can be the problem? In Fusion Viewer, the
same set of parameters works fayn for GETDYNAMICMAPOVERLAYIMAGE.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GETDYNAMICMAPOVERLAYIMAGE-not-working-properly-with-session-created-by-CREATERUNTIMEMAP-tp5142865.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list