Chris

you could play with the Javascript template settings for the query. Copy 
the existing template from /javascript/src/query.js to your config 
directory into the file custom.js like

$.extend(PM.Query,
{
     queryTpl:
     {
         "table":
            {"queryHeader": "<div>",
             "queryFooter": "</div>",
             "layers":
                 {"#default":
                    {
                        .....
                    },

                   "customLayerName1" : {===> YOUR_CUSTOM_CONFIG <===} ,
                   "customLayerName2" : {===> YOUR_CUSTOM_CONFIG <===}
                 },

})


I think there's no documentation how to use it (at least I never wrote 
one...) so you need to check a bit the existing template and modify it. 
The template can include settings for individual layers, and you can add 
any type of HTML/JS code you need. This includes AJAX calls etc.  The 
"$" prefix defines a variable that is replaced during parsing.

Good luck!

Armin


On 16/08/2012 20:39, Chris Jackson wrote:
> Hi all
>
> Is there a way to load a point layer and when you click a point immediately
> fire up an external url in say a thickbox fashion using a querystring
> containing feature attribute parameters.  I guess you would have to have a
> button that enables some function/plugin to override the default query
> results window (would it have to be hard-wired to a layer/s or could you
> have a list of 'usable' layers that would all generate clickable urls)?
>
> Any pointers appreciated!
>
> Cheers
> Chris
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to