My code: mapaObj.reference.width = 300; mapaObj.reference.height = 300;
mapaObj.drawReferenceMap().save(_path, mapaObj); On Wed, Feb 20, 2008 at 5:58 PM, Tamas Szekeres <[EMAIL PROTECTED]> wrote: > Paul, > > Are you using drawReferenceMap? > Would you please post your code which doesn't work as expected? > > Best regards, > > Tamas > > > > 2008/2/20, Paul james <[EMAIL PROTECTED]>: > > Hi! Sorry about the delay ! > > With the last build It´s posible to assign a value to reference object > like > > that: > > mapaObj.reference.height = 100; > > > > But the size of reference never changes... It assumes the value of > mapfile´s > > image : > > > > REFERENCE > > IMAGE "reference.png" #My image has 250x150 > > > > What Am I supposed to do to change de reference size dynamically? > > > > Thx > > > > > > > > On Nov 23, 2007 6:02 PM, Tamas Szekeres <[EMAIL PROTECTED]> wrote: > > > > > Paul, > > > > > > I've created a ticket for this issue and fixed it in the SVN trunk. > > > > > > http://trac.osgeo.org/mapserver/ticket/2407 > > > http://trac.osgeo.org/mapserver/changeset/7072 > > > > > > Best regards, > > > > > > Tamas > > > > > > > > > > > > 2007/11/23, Paul james <[EMAIL PROTECTED]>: > > > > > > > > > > > > > Hello, I´m need change reference image size in mapscript (C#)... > > > > > > > > I tried that: > > > > > > > > mapaObj.reference.height = 100; > > > > > > > > but got that error: > > > > Error 8 Property or indexer > > 'OSGeo.MapServer.referenceMapObj.height' > > > > cannot be assigned to -- it is read only > > > > > > > > How can I change that? > > > > > > > > Thanks > > > > > > > > > > > >