[mapserver-users] Change reference map image in mapscript

simon at sibern.com.au simon at sibern.com.au
Tue May 13 22:04:13 PDT 2008


Hi,

I am using the java swig mapserver api to access layers, create maps,
legend images, etc.

When printing a map I have decided to let mapserver create the reference
map.  This works well except that I have no ability to control the width,
height or image name at runtime at all.

This problem seems to occur in 5.0 but not in 4.10.  4.10 has all the
getters and setters for changing the image and for setting the width and
height where as 5 appears to have no setters at all.

I have tried using result = referenceMap.set(:variable","value"); approach
but that doesn't work either.

Any help would be appreciated.

Thank you
Simon Haddon




More information about the MapServer-users mailing list