I need your help. I use the Qgis web client and I want to use codes like this:
map.events.register("click", map , function(e){
var opx = map.getLayerPxFromViewPortPx(e.xy) ;
...
...
I tried to insert this code in nearly every js-file in the webclient-folder (qgis-web-client / site / js), but with no success.
Can anybody say me HOW and in WHAT js-file(and in what section of the file) I have to insert codes like this? For exampe: I like to open a popup by clicking on a map-item.
Thanks