Hi Thomas, I am almost sure to have tried this before, probably a darn cache somewhere prevented it to work....
It's ok now! \o/ Thx a lot! A+ Chris On Fri, Feb 15, 2013 at 11:11 AM, Thomas RAFFIN <traf...@sirap.fr> wrote: > Hi Chris, > > You should try to extend PM.Init and not PM.Custom? > > Thomas > > > Le 14/02/2013 14:45, Chris forum a écrit : > > Hi all, > > > > I would like the"mapToolArea" div to be displayed in the "uiLayoutSouth" > div > > (class="ui-layout-south"), especially for the 'measure2' and 'drawing > > (circle)' plugins. Now it shows up in the "ui-layout-center" div. > > I hope it won't have any bad side effects. > > > > In javascript/src/pm.init.js there is: > > domElements: function() { > > $('<div>').id('mapToolArea').appendTo('.ui-layout-center'); > > }, > > > > So I guess it is where to change the code. But the pm.init.js file is > > merged with other JS into the single pm_cjs.js file, as stated in the > user > > manual, using the utils/compress_js. > > I am not able to find this utility. Is it still available somewhere? > > > > The manual also recommends to add any modifications into a separate JS > > file, like /config/.../custom.js. > > So I tried the following: > > $.extend(PM.Custom, > > { > > //pm.init.js modification > > domElements: function() { > > $('<div>').id('mapToolArea').appendTo('.ui-layout-south'); > > } > > }); > > > > But without success... the"mapToolArea" div stays in the > ui-layout-center. > > > > Any tips would be much appreciated! : ) > > > > regards, > > Chris > > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer > > Buy your Sophos next-gen firewall before the end March 2013 > > and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb > > _______________________________________________ > > pmapper-users mailing list > > pmapper-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > > > > -- > > > Thomas RAFFIN > Chef de Projet Internet > traf...@sirap.fr <mailto:traf...@sirap.fr> Sirap <http://sirap.fr> > Tel > : 04 75 72 84 10 > Fax : 04 75 70 07 98 > Rue Paul Louis Héroult - BP 253 > 26106 Romans cedex > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users