Ok.

Now it runs correctly.

Thanks for you response.


2010/6/2 Thomas RAFFIN <traf...@sirap.fr>:
> Hi,
>
> I've never tested that, but after quick code reading I think you should
> try to do :
>
> PM.Query.queryTpl = {
> [...]
>     "iquery":
>        {"queryHeader": "<div>",
>         "queryFooter": "</div>",
>         "layers":
>             {"#default":
> ...
>             ,
>             your_layer_name :
> ...
>             }
>
>
>
> Le 02/06/2010 12:27, Alexandre Busquets a écrit :
>> Hi
>>
>> We are doing a project with pmapper, and we want to show a layer with
>> their images.
>> For this we use the hyperlink resource.
>>
>> We put the following code in js_config:
>>
>> PM.Query.queryTpl = {
>> [...]
>>      "iquery":
>>         {"queryHeader": "<div>",
>>          "queryFooter": "</div>",
>>          "layers":
>>              {"#default":
>>                 {"layerHeader":"<table class=\"pm-iquery\"
>> cellspacing=\"0\" cellpadding=\"0\" border=\"0\"><tr><th colspan=\"2\"
>> class=\"pm-iquery-header\">${description}</th></tr>",
>>                  "theaderTop": false,
>>                  "theader": false,
>>                  "theaderBottom": false,
>>                  "tvaluesTop": false,
>>                  "tvalues":
>>                      {"shplink": false,
>>                       /*"hyperlink": "<tr><th>@</th><td>$[3]</td></tr>",*/
>>                       "hyperlink": "<tr><th>@</th><td><img
>> src='my_images/$[3]'></td></tr>",
>>                       "#default": "<tr><th>@</th><td>$</td></tr>"
>>                      },
>>                  "tvaluesBottom": false,
>>                  "layerFooter":"</table>"
>>                 }
>>              },
>>          "nozoomparams": true
>>         }
>> };
>>
>>
>> I would like to customize iquery hypelink template for an especific
>> layer, it's possible?
>>
>> Thanks.
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
>>
>>
>>
>>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>

------------------------------------------------------------------------------

_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to