[pmapper-users] mapselect plugin translation

2012-10-19 Thread Gillen
Hi,
I have a problem with some translations in the mapselect plugin in my 
pmapper application.
I want to translate the configList facts that appears in the 
js_config.php file.

Example:

PM.Plugin.Mapselect.settings = {
 displayText:_p('Select Theme'),
 configList:{'default':Map Default,
 'dev':Map Dev
},
 appendToDiv:.map-top-bar,
 cssDiv:{'position':'absolute', right:'60px'},
 cssSelect:{'margin-left':'5px'},
 resetSession:'groups'
};

I would like to translate Map Default and Map Dev to another 
languages. I have tried with the language translation files but it´s not 
working. It´s possible to translate using another way?

Thanks!


--


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] max zoom in zoom tools

2012-10-19 Thread Thomas RAFFIN
H Pedroi,

If you are talking about searchtool plugin ( 
http://svn.pmapper.net/trac/wiki/PluginsQuery#SearchTool ), it is only a 
button that show the search form. So there is nothing special about 
buffers because the query is made by pmapper core part.

Maybe you are talking about the Query Editor plugin ( 
http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor) , or 
Graphical Queries ( 
http://svn.pmapper.net/trac/wiki/PluginsQuery#graphicalqueries )...

Moreover, the buffers that Armin was talking are not quite the same 
thing than min/max scale: they allow zoom after attribute search or 
graphical query... to be larger than real result.

Thomas

Le 17/10/2012 17:58, Armin Burger a écrit :
 you need to ask the plugin provider for this, I guess it's Thomas
 Raffin. He's usually reading the postings here, so he might still reply
 to this question.

 Armin

 On 17/10/2012 14:19, Pedro Costa wrote:
 Thanks a lot Armin.

 Works except in search tool (plugin)Do you know how to change there?

 thanks


 Em 16-10-2012 18:16, Armin Burger escreveu:
 in the config XML file:

 !--
 Extent buffer for zoom extent for point layers in queries
 value in map units
 --
 pointBuffer1/pointBuffer

 !--
 Extent buffer for zoom extent for non-point layers in queries
 value in a fraction of the original extent
 --
 shapeQueryBuffer0.02/shapeQueryBuffer


 see http://svn.pmapper.net/trac/wiki/XmlFileSettings#query



 On 16/10/2012 15:22, Pedro Costa wrote:
 Hi list,

 Can anyone tell me how do i set the maximum and minimum scale for zoom
 tools available in pmapper?
 With 'zoom tools' I mean the option to zoom after a search or a
 identify...
 Or I have to use the variable MAXSCALEDENOM of mapserver in all layers?


 Thanks in advance

 Pedro

 --

 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --

 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] max zoom in zoom tools

2012-10-19 Thread Pedro Costa
Hi thomas,

Thanks for your help
My doubt is, when i search for a street (with the search plugin not with 
the query editor or another)
the zoom made ​​it's inappropriate (very large scale). So i need to add 
a 'tolerance'

Do you know how to do that?


Thanks


Em 19-10-2012 10:04, Thomas RAFFIN escreveu:
 H Pedroi,

 If you are talking about searchtool plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#SearchTool ), it is only a
 button that show the search form. So there is nothing special about
 buffers because the query is made by pmapper core part.

 Maybe you are talking about the Query Editor plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor) , or
 Graphical Queries (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#graphicalqueries )...

 Moreover, the buffers that Armin was talking are not quite the same
 thing than min/max scale: they allow zoom after attribute search or
 graphical query... to be larger than real result.

 Thomas

 Le 17/10/2012 17:58, Armin Burger a écrit :
 you need to ask the plugin provider for this, I guess it's Thomas
 Raffin. He's usually reading the postings here, so he might still reply
 to this question.

 Armin

 On 17/10/2012 14:19, Pedro Costa wrote:
 Thanks a lot Armin.

 Works except in search tool (plugin)Do you know how to change there?

 thanks


 Em 16-10-2012 18:16, Armin Burger escreveu:
 in the config XML file:

 !--
  Extent buffer for zoom extent for point layers in queries
  value in map units
 --
 pointBuffer1/pointBuffer

 !--
  Extent buffer for zoom extent for non-point layers in queries
  value in a fraction of the original extent
 --
 shapeQueryBuffer0.02/shapeQueryBuffer


 see http://svn.pmapper.net/trac/wiki/XmlFileSettings#query



 On 16/10/2012 15:22, Pedro Costa wrote:
 Hi list,

 Can anyone tell me how do i set the maximum and minimum scale for zoom
 tools available in pmapper?
 With 'zoom tools' I mean the option to zoom after a search or a
 identify...
 Or I have to use the variable MAXSCALEDENOM of mapserver in all layers?


 Thanks in advance

 Pedro

 --

 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --

 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] max zoom in zoom tools

2012-10-19 Thread Thomas RAFFIN
But without the search tool plugin it should be the same, no? You are 
talking about attribute search, right (not graphical queries with click 
on the map) ?

If yes, try to change theshapeQueryBuffer parametes given by Armin (I 
think the street are lines or polygons). But it is for all layers.


Le 19/10/2012 11:27, Pedro Costa a écrit :
 Hi thomas,

 Thanks for your help
 My doubt is, when i search for a street (with the search plugin not 
 with the query editor or another)
 the zoom made ​​it's inappropriate (very large scale). So i need to 
 add a 'tolerance'

 Do you know how to do that?


 Thanks


 Em 19-10-2012 10:04, Thomas RAFFIN escreveu:
 H Pedroi,

 If you are talking about searchtool plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#SearchTool ), it is only a
 button that show the search form. So there is nothing special about
 buffers because the query is made by pmapper core part.

 Maybe you are talking about the Query Editor plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor) , or
 Graphical Queries (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#graphicalqueries )...

 Moreover, the buffers that Armin was talking are not quite the same
 thing than min/max scale: they allow zoom after attribute search or
 graphical query... to be larger than real result.

 Thomas

 Le 17/10/2012 17:58, Armin Burger a écrit :
 you need to ask the plugin provider for this, I guess it's Thomas
 Raffin. He's usually reading the postings here, so he might still reply
 to this question.

 Armin

 On 17/10/2012 14:19, Pedro Costa wrote:
 Thanks a lot Armin.

 Works except in search tool (plugin)Do you know how to change 
 there?

 thanks


 Em 16-10-2012 18:16, Armin Burger escreveu:
 in the config XML file:

 !--
  Extent buffer for zoom extent for point layers in queries
  value in map units
 --
 pointBuffer1/pointBuffer

 !--
  Extent buffer for zoom extent for non-point layers in queries
  value in a fraction of the original extent
 --
 shapeQueryBuffer0.02/shapeQueryBuffer


 see http://svn.pmapper.net/trac/wiki/XmlFileSettings#query



 On 16/10/2012 15:22, Pedro Costa wrote:
 Hi list,

 Can anyone tell me how do i set the maximum and minimum scale for 
 zoom
 tools available in pmapper?
 With 'zoom tools' I mean the option to zoom after a search or a
 identify...
 Or I have to use the variable MAXSCALEDENOM of mapserver in all 
 layers?


 Thanks in advance

 Pedro

 --
  


 Don't let slow site performance ruin your business. Deploy New 
 Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt 
 too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
  


 Don't let slow site performance ruin your business. Deploy New 
 Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 --
  

 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



 --
  

 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users





--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] max zoom in zoom tools

2012-10-19 Thread Pedro Costa
 But without the search tool plugin it should be the same, no? You are
 talking about attribute search, right (not graphical queries with click
 on the map) ?
Yes, I'm talking about attribute search...


 If yes, try to change theshapeQueryBuffer parametes given by Armin (I
 think the street are lines or polygons). But it is for all layers.

My streets are lines and I tried that but with no results. This happens 
only in this tool, with others works well
May be a problem or bug?

You can see a example of the same street:

1) select of a street with the selection tool and then zoom. You can see 
in the picture a lot of space arround the street.

http://imageshack.us/a/img7/9895/ss1pc.png

2)  search by attributes and then zoom in one of the found. You can see 
the zoom in a much more big scale.

http://imageshack.us/a/img10/4581/ss2yi.png


My configuration:

pointBuffer70/pointBuffer
shapeQueryBuffer5/shapeQueryBuffer



tHANKS




 Le 19/10/2012 11:27, Pedro Costa a écrit :
 Hi thomas,

 Thanks for your help
 My doubt is, when i search for a street (with the search plugin not
 with the query editor or another)
 the zoom made ​​it's inappropriate (very large scale). So i need to
 add a 'tolerance'

 Do you know how to do that?


 Thanks


 Em 19-10-2012 10:04, Thomas RAFFIN escreveu:
 H Pedroi,

 If you are talking about searchtool plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#SearchTool ), it is only a
 button that show the search form. So there is nothing special about
 buffers because the query is made by pmapper core part.

 Maybe you are talking about the Query Editor plugin (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#QueryEditor) , or
 Graphical Queries (
 http://svn.pmapper.net/trac/wiki/PluginsQuery#graphicalqueries )...

 Moreover, the buffers that Armin was talking are not quite the same
 thing than min/max scale: they allow zoom after attribute search or
 graphical query... to be larger than real result.

 Thomas

 Le 17/10/2012 17:58, Armin Burger a écrit :
 you need to ask the plugin provider for this, I guess it's Thomas
 Raffin. He's usually reading the postings here, so he might still reply
 to this question.

 Armin

 On 17/10/2012 14:19, Pedro Costa wrote:
 Thanks a lot Armin.

 Works except in search tool (plugin)Do you know how to change
 there?

 thanks


 Em 16-10-2012 18:16, Armin Burger escreveu:
 in the config XML file:

 !--
   Extent buffer for zoom extent for point layers in queries
   value in map units
 --
 pointBuffer1/pointBuffer

 !--
   Extent buffer for zoom extent for non-point layers in queries
   value in a fraction of the original extent
 --
 shapeQueryBuffer0.02/shapeQueryBuffer


 see http://svn.pmapper.net/trac/wiki/XmlFileSettings#query



 On 16/10/2012 15:22, Pedro Costa wrote:
 Hi list,

 Can anyone tell me how do i set the maximum and minimum scale for
 zoom
 tools available in pmapper?
 With 'zoom tools' I mean the option to zoom after a search or a
 identify...
 Or I have to use the variable MAXSCALEDENOM of mapserver in all
 layers?


 Thanks in advance

 Pedro

 --


 Don't let slow site performance ruin your business. Deploy New
 Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt
 too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --


 Don't let slow site performance ruin your business. Deploy New
 Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users
 --

 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


 --

 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users 

Re: [pmapper-users] mapselect plugin translation

2012-10-19 Thread Armin Burger
if you just need one language then you can change directly Map Default 
etc. to whatever you want. For multilingual applications it should be 
defined as

configList:{'default': _p(Map Default),
'dev': _p(Map Dev)
   },

with the respective translations in the language files.


On 19/10/2012 09:16, Gillen wrote:
 Hi,
 I have a problem with some translations in the mapselect plugin in my
 pmapper application.
 I want to translate the configList facts that appears in the
 js_config.php file.

 Example:

 PM.Plugin.Mapselect.settings = {
   displayText:_p('Select Theme'),
   configList:{'default':Map Default,
   'dev':Map Dev
  },
   appendToDiv:.map-top-bar,
   cssDiv:{'position':'absolute', right:'60px'},
   cssSelect:{'margin-left':'5px'},
   resetSession:'groups'
 };

 I would like to translate Map Default and Map Dev to another
 languages. I have tried with the language translation files but it´s not
 working. It´s possible to translate using another way?

 Thanks!


 --


 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users