Thank you Richard
I work fine

2013/1/4 Richard Camejo <rfcam...@gmail.com>

> Button coordinates
> Add button:
> Copy button image coordinates (coordinates_off.png) at .. /
> pmapper5/img/theme/default /
> Indicate CSS button to add, edit file .. / mapper5/css/pm.ol.css adding
> the following:
>
> / * Coordinates * /
> . olControlPanel. olControlItemActive {
> background-image: url (".. / img / theme / default / coordinates_off.png");
>      border: 1px inset;
>      background-color: # d5ddf3;
> }
> . olControlPanel. olControlItemInactive {
> background-image: url (".. / img / theme / default / coordinates_off.png");
> }
>
> In file .. / pmapper5/config/default/js_config.php in the "Toolbar
> Elements" section Pm.Toolbars add the following line to display the button:
>
> {type: 'PMCoordinates', params: {title: "See coordinates"}},
>
> Create file .. / pmapper5/js/src/Pm.Control.PMCoordinates.js to configure
> the button
> (attached this file)
> Edit file .. / pmapper5/index.phtml within <head> add:
>
>   <! - To transform coordinates to projection EPSG: 31981 ->
> <script type="text/javascript" src="js/proj4j/lib/proj4js compressed.js">
> </ script>
> <script type="text/javascript" src="js/proj4j/lib/defs/EPSG31981.js"> </
> script>
>
> Copy proj4j directory to .. / pmapper / js / (attached proj4j.tar.gz)
>
> What I could not do is change the mouse pointer to a cross, if possible
> return.
>
>  regards,
> Richard
>
> regards,
> Richard
>
>
>
> 2013/1/3 Mouanis LAHLOU <mouanis.lah...@gmail.com>
>
>> Hi Armin,
>> I started the transfer from  pmapper4 to pmapper5 here is the
>> provisional link (http://www.fertimap.ma/maps/).
>> All works fine and everyone is happy with the possiblility to integrate
>> the
>> Google base map.
>> However I have a little problem, I developed plugins for pmapper4 and I do
>> not know how to use them on pmapper5, namely what I should change and how
>> to use them.
>> For example the plug locateXY is defined in 'js_config.php' as follows:
>>    buttons: [
>>         ...
>>         {tool:'locateXY',      name:'Recherche XY',
>> run:'PM.Plugin.locateXY.openDlg'},
>>         ...
>> ]
>> How should i define it in pmapper5's 'js_config.php'
>>
>> Thanks,
>>
>> --
>> *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
>> m.lah...@iav.ac.ma
>>
>> ------------------------------------------------------------------------------
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnmore_122712
>> _______________________________________________
>> pmapper-users mailing list
>> 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
m.lah...@iav.ac.ma
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to