Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is it possible in Qgis-web-client to show a new little window (with custom informations and maybe a little picture) by clicking on a mapsubject? How to modify Qgis-web-client if possible?
Maybe its possible to modify the attribute-window, that i get on the right side by using the identification cursor-mode?

Thanks

share|improve this question

2 Answers 2

Thank you Aragon for your answer. My problem is still to find the right js-file. I tried all javascript files.

I have pasted code-examples which i found in the internet with no success...

share|improve this answer

i think it is possible with adding some code into a javascript file (i dont know which is proper but you can find main js file wtih checking them all.) under qgis-web-client / site / js then add this code:

map.events.register("click", map , function(e){
var opx = map.getLayerPxFromViewPortPx(e.xy) ;
alert(opx);// You can change this with adding window.
});

qgis-web-client is using extjs and openlayers background that you change everything If you have a little familiarity.

i hope it helps you...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.