In the wiki ( http://svn.pmapper.net/trac/wiki/PluginsDynamicData#Integration ) there is a chapter talking about that : "Each symbol used in your your configuration file (<defaultSymbol>XXXXX</defaultSymbol>) have to be defined in your mapfile and in the template mapfile (by default /config/common/template.map/). Examples are provided in /plugins/drawing/install/symbol-part.map/. It could be a good thing top add them in the '# Symbols used in p.mapper' part... "
Tell me if it solves your problem. Thomas Raffin a écrit : > Hi, > > Maybe it is due to symbol order. Indeed, some symbols are defines in the > symbol's file, some other in your main mapfile, others in the template... > > Is it possible to show your template mapfile? And an extract of your > mapfile please (maybe with empty layers)? > > Thomas > > BSAP (Thomas Andres) a écrit : > >> Sehr Geehrte, >> >> >> >> now the plugin 'drawing' is working. I just moved the layer definitions for >> the drawing objects at the beginning of the template file (before the >> highlighting layers). >> >> Why this was a problem? >> >> >> >> Good evening. >> >> Andres Thomas >> >> >> >> Von: BSAP (Thomas Andres) >> Gesendet: Donnerstag, 11. Februar 2010 12:01 >> An: 'pmapper-users@lists.sourceforge.net' >> Betreff: Plugin Drawing >> >> >> >> Sehr Geehrte, >> >> >> >> I have installed the final release 4.0.0, and try again to install the >> plugin 'drawing'. >> >> I used this description (http://svn.pmapper.net/trac/wiki/PluginsDynamicData >> <http://svn.pmapper.net/trac/wiki/PluginsDynamicData> ) >> >> To install the plugin. >> >> >> >> Now, when I digitalize for example a point and I move the map, I receive >> >> the following error message: >> >> >> >> [10-Feb-2010 15:35:36] PHP Warning: getLayerByName failed for : drawPoint >> in >> C:\Programme\ms4w\apps\egis_dev\plugins\clientdynamiclayers\clientDynamicLayers.php >> on line 142 >> >> [10-Feb-2010 15:35:36] PHP Fatal error: Object expected as argument. in >> C:\Programme\ms4w\apps\egis_dev\plugins\clientdynamiclayers\clientDynamicLayers.php >> on line 144 >> >> >> >> drawPoint is defined in my template file. >> >> $layerDefToUse->type is "tplMapFile". >> >> $_SESSION['PM_TPL_MAP_FILE'] is >> C:/Programme/ms4w/apps/egis_dev/config/common/template.map, and is the valid >> template file. >> >> >> >> Where could be the problem? >> >> >> >> Freundliche Grüsse >> >> >> >> Thomas Andres >> >> ------------------------------------------------------------------------------ >> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, >> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW >> http://p.sf.net/sfu/solaris-dev2dev >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> >> >> >> >> >> >> > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users