Re: [pmapper-users] ClientDynamicLayers

2012-05-11 Thread Armin Burger
the error log tells you quite exactly what's wrong. A layer object does not have the property "units", hence you cannot set this. See http://www.mapserver.org/mapscript/php/index.html#layerobj for possible properties. Also I don't know what one could want to define with a unit for a layer... "u

[pmapper-users] ClientDynamicLayers

2012-05-11 Thread Andreas Douvalis
I forgot to mention that in line 130 of dynlayer.php I have added three lines of code (see below) in order to test with set units property: elseif ($k == "units") {                   $obj->set("units",MS_DD);                  } However the  above  method gave me the error. --

[pmapper-users] ClientDynamicLayers

2012-05-11 Thread Andreas Douvalis
Hi  How can I add layer's units in clientdynamic layers. When I add the property "units":dd or MS_DD in layer json definition I get that error: Uncaught exception 'MapScriptException' with message 'Property 'units' does not exist in this object.' in \incphp\map\dynlayer.php:130 layerObj->set('