Hi,
The mapfile is reloaded in the $map vairiable, a MapObj object, each
timeglobals.php is called.
So if core pmapper code need globals.php, your layer is not added.
You should use "phpMapObjModifierFiles " (in
rou_pugin_directory/config.inc). The files you will add here will be
called at t
I don't know what your plugin is doing, but maybe you could use
"clientDynamicLayer" like drawing and measure2 plugin too:
http://svn.pmapper.net/trac/wiki/PluginsDynamicData
Le 08/01/2013 09:57, Thomas RAFFIN a écrit :
> Hi,
>
> The mapfile is reloaded in the $map vairiable, a MapObj object, ea
Hi Thomas,
Many thanks for your swift reply! I will try your suggestions this afternoon
and let you know the results.
Cheers,
Michael
Thomas RAFFIN wrote:
>
> I don't know what your plugin is doing, but maybe you could use
> "clientDynamicLayer" like drawing and measure2 plugin too:
> http
Hi Thomas,
it works nicely as you suggested.
Many thanks again,
Michael
allspatial wrote:
>
> Dear pmapper Team,
>
> I wrote a plugin for pmapper 4.02. In the PHP code of my plugin I added a
> layer to the Map using the $map variable from globals.php:
>
> require_once("../../incphp/globals