Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-06 Thread Thomas RAFFIN
Hi,

It just require an other include in config.inc :
$jsFiles = array('../common/common.js', 'locateXY.js');

Thomas

Le 04/02/2012 11:56, VT a écrit :
 Hi,
 followed instructions but I get an error when I click on xy button:

 1. Enabled the plugin by adding a line in config_default.xml file:
 pmapper
  ini
  pmapper
 
  pluginslocateXY/plugins
 
  /pmapper
 /ini
 /pmapper

 2. added the search tool button to the interface in
 /config/default/js_config.php file:
 PM.buttonsDefault = {
 .
  buttons: [
 .
  {tool:'locateXY',  name:'Recherche XY',
 run:'PM.Plugin.locateXY.openDlg'},
 
 ]
 }

 3. copied icon in buttons

 The chrome console error is:

 Uncaught ReferenceError: openAjaxQueryIn is not defined
 $.extend.locateXY.openDlgjs_session.php:154
 (anonymous function)
 $.fn.extend.pmToolBarpm_cjs.js:41
 d.event.handlejquery_merged.js:16
 d.event.add.k.handle.mjquery_merged.js:16

 Thank you very much

 Giovanni


 2012/2/1 Mouanis LAHLOUmouanis.lah...@gmail.com

 Here is a new plugin who can enable search of a point by typing his
 geographic coordinates.
 Looking for yours comments
 Regards

 --
 *Dr Mouanis LAHLOU*, *Professeur*
 Département de Statistique et Informatique Appliquées,
 Institut Agronomique et Vétérinaire Hassan II,
 B.P. 6202. Rabat–Instituts, Rabat MAROC

 mouanis.lah...@gmail.com
 m.lah...@iav.ac.ma


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-06 Thread VT
Hi,
it works! it's a very useful plugin.
two more questions:
1. is it possible to modify the output scale (or area width), now it's very
small.
2. sorry for dummy question: I tried to use the second phtml (with epsg
management). I installed Proj4 but I don't know how to instance the proj4js
object in locatexy.phtml

thank you very much.

Giovanni

2012/2/6 Thomas RAFFIN traf...@sirap.fr

 Hi,

 It just require an other include in config.inc :
 $jsFiles = array('../common/common.js', 'locateXY.js');

 Thomas


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-06 Thread Thomas RAFFIN
Hi,

I've already made few changes to allow configuration via the XML file. 
I'm just waiting to know if Mouanis agree to add the plugin to the SVN 
repository before.

Thomas

Le 06/02/2012 16:19, VT a écrit :
 Hi,
 it works! it's a very useful plugin.
 two more questions:
 1. is it possible to modify the output scale (or area width), now it's 
 very small.
 2. sorry for dummy question: I tried to use the second phtml (with 
 epsg management). I installed Proj4 but I don't know how to instance 
 the proj4js object in locatexy.phtml

 thank you very much.

 Giovanni

 2012/2/6 Thomas RAFFIN traf...@sirap.fr mailto:traf...@sirap.fr

 Hi,

 It just require an other include in config.inc :
 $jsFiles = array('../common/common.js', 'locateXY.js');

 Thomas

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-06 Thread Thomas RAFFIN
The plugin is now in the repository.

I've quickly made few changes:
- js file dependency (openAjaxQueryIn function)
- session_start() -- include pmsession.php (as discussed in the list 
few month ago)
- language files (English and French)
- margin, dlg options, projections in the config_xxx.xml file (not to be 
written in phtml)
- move load function to the js file and zoominGeo function from 
PM.Map to the plugin object
- more W3C compliant
- dynamically display X/Y if not WGS84 (maybe needs more improvements) 
with the new changeProj, getTextX, getTextY and useAlternateText 
js functions
- only display Text in the map if useful

Thanks Mouanis

Thomas

Le 06/02/2012 18:20, Mouanis LAHLOU a écrit :
 Hi Thomas
 Yes I Agree to add the plugin to the SVN repository


 2012/2/6 Thomas RAFFIN traf...@sirap.fr mailto:traf...@sirap.fr

 Hi,

 I've already made few changes to allow configuration via the XML file.
 I'm just waiting to know if Mouanis agree to add the plugin to the SVN
 repository before.

 Thomas

 Le 06/02/2012 16:19, VT a écrit :
  Hi,
  it works! it's a very useful plugin.
  two more questions:
  1. is it possible to modify the output scale (or area width),
 now it's
  very small.
  2. sorry for dummy question: I tried to use the second phtml (with
  epsg management). I installed Proj4 but I don't know how to instance
  the proj4js object in locatexy.phtml
 
  thank you very much.
 
  Giovanni
 
  2012/2/6 Thomas RAFFIN traf...@sirap.fr
 mailto:traf...@sirap.fr mailto:traf...@sirap.fr
 mailto:traf...@sirap.fr
 
  Hi,
 
  It just require an other include in config.inc :
  $jsFiles = array('../common/common.js', 'locateXY.js');
 
  Thomas
 
 
 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft
 developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
 MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 mailto:pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




 -- 
 *Dr Mouanis LAHLOU*, /Professeur/
 Département de Statistique et Informatique Appliquées,
 Institut Agronomique et Vétérinaire Hassan II,
 B.P. 6202. Rabat–Instituts, Rabat MAROC
 0663 377 211
 mouanis.lah...@gmail.com mailto:mouanis.lah...@gmail.com
 m.lah...@iav.ac.ma mailto:m.lah...@iav.ac.ma

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-04 Thread VT
Hi,
followed instructions but I get an error when I click on xy button:

1. Enabled the plugin by adding a line in config_default.xml file:
pmapper
ini
pmapper

pluginslocateXY/plugins

/pmapper
/ini
/pmapper

2. added the search tool button to the interface in
/config/default/js_config.php file:
PM.buttonsDefault = {
.
buttons: [
.
{tool:'locateXY',  name:'Recherche XY',
run:'PM.Plugin.locateXY.openDlg'},

]
}

3. copied icon in buttons

The chrome console error is:

Uncaught ReferenceError: openAjaxQueryIn is not defined
$.extend.locateXY.openDlgjs_session.php:154
(anonymous function)
$.fn.extend.pmToolBarpm_cjs.js:41
d.event.handlejquery_merged.js:16
d.event.add.k.handle.mjquery_merged.js:16

Thank you very much

Giovanni


2012/2/1 Mouanis LAHLOU mouanis.lah...@gmail.com

 Here is a new plugin who can enable search of a point by typing his
 geographic coordinates.
 Looking for yours comments
 Regards

 --
 *Dr Mouanis LAHLOU*, *Professeur*
 Département de Statistique et Informatique Appliquées,
 Institut Agronomique et Vétérinaire Hassan II,
 B.P. 6202. Rabat–Instituts, Rabat MAROC

 mouanis.lah...@gmail.com
 m.lah...@iav.ac.ma


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] New plugin (find point t X et Y)

2012-02-04 Thread VT
Hi,
Ubuntu 10.04 server 32 bit +  pmapper 4.2 + apache 2.0.59 + php 5.3.2 +
mapserver 6.0.1

thanks

Giovanni

2012/2/4 mouanis.lah...@gmail.com mouanis.lah...@gmail.com

 What your config?
 It work fine on pmapper 4.2, apache 2, mapserver 5.6
 Envoyé depuis mon téléphone Nokia
 -Message d'origine-
 De:VT
 Envoyé: 04/02/2012, 10:56
 A: Mouanis LAHLOU
 Cc: pmapper-users@lists.sourceforge.net
 Sujet: Re: [pmapper-users] New plugin (find point t X et Y)


 Hi,
 followed instructions but I get an error when I click on xy button:

 1. Enabled the plugin by adding a line in config_default.xml file:
 pmapper
ini
pmapper
 
pluginslocateXY/plugins
 
/pmapper
 /ini
 /pmapper

 2. added the search tool button to the interface in
 /config/default/js_config.php file:
 PM.buttonsDefault = {
 .
buttons: [
 .
{tool:'locateXY',  name:'Recherche XY',
 run:'PM.Plugin.locateXY.openDlg'},
 
 ]
 }

 3. copied icon in buttons

 The chrome console error is:

 Uncaught ReferenceError: openAjaxQueryIn is not defined
 $.extend.locateXY.openDlgjs_session.php:154
 (anonymous function)
 $.fn.extend.pmToolBarpm_cjs.js:41
 d.event.handlejquery_merged.js:16
 d.event.add.k.handle.mjquery_merged.js:16

 Thank you very much

 Giovanni


 2012/2/1 Mouanis LAHLOU mouanis.lah...@gmail.com

  Here is a new plugin who can enable search of a point by typing his
  geographic coordinates.
  Looking for yours comments
  Regards
 
  --
  *Dr Mouanis LAHLOU*, *Professeur*
  Département de Statistique et Informatique Appliquées,
  Institut Agronomique et Vétérinaire Hassan II,
  B.P. 6202. Rabat–Instituts, Rabat MAROC
 
  mouanis.lah...@gmail.com
  m.lah...@iav.ac.ma
 
 
 
 --
  Keep Your Developer Skills Current with LearnDevNow!
  The most comprehensive online learning library for Microsoft developers
  is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
  Metro Style Apps, more. Free future releases when you subscribe now!
  http://p.sf.net/sfu/learndevnow-d2d
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] New plugin (find point t X et Y)

2012-02-01 Thread Mouanis LAHLOU
Here is a new plugin who can enable search of a point by typing his
geographic coordinates.
Looking for yours comments
Regards

-- 
*Dr Mouanis LAHLOU*, *Professeur*
Département de Statistique et Informatique Appliquées,
Institut Agronomique et Vétérinaire Hassan II,
B.P. 6202. Rabat–Instituts, Rabat MAROC

mouanis.lah...@gmail.com
m.lah...@iav.ac.ma


locateXY.tar.gz
Description: GNU Zip compressed data
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] New plugin (find point t X et Y)

2012-02-01 Thread Andreas Douvalis
I forgot to comment that for trasformation I use Proj4js.

Please read http://svn.pmapper.net/trac/wiki/PluginsMap and 
http://trac.osgeo.org/proj4js/wiki/UserGuide
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users