[mapserver-users] Change reference map image in mapscript

simon at sibern.com.au simon at sibern.com.au
Wed May 14 01:04:13 EDT 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