Hi All,<br><br>This week I worked at preview function. I am trying to add the display from which user is supposed to select the point that is the centre of the smaller region of preview. Actually I used a customized class inheriting from GMFrame class (wxgui.py) and wx.Frame, and tried to draw the DEM map with a MapLayer class (render.py). This solution doesn't work properly, because it raises a new Layer Manager + Map Display, but doesn't draw the DEM in the canvas. (The code has been committed if someone is willing to test).<br>
Anyway i figured out that it's not the best solution, because it raises a new Layer Manager + Map Display, and I wanted just a Map Display instead. So I am currently trying to use the classes in mapdisp_window.py. This is not a piece of cake, as I am failing all my tentatives, and got fairly stuck at the moment. My problem is essentially that I get no errors but no Display raises. I didn't find any answer reading the documentation [0]. <br>
<br>Thanks,<br><br>madi<br><br><br>[0] <a href="http://grass.osgeo.org/programming7/mapdisp__window_8py.html">http://grass.osgeo.org/programming7/mapdisp__window_8py.html</a><br clear="all"><br>-- <br><span style="color: rgb(102, 102, 102);">Eng. Margherita Di Leo</span><br style="color: rgb(102, 102, 102);">
<span style="color: rgb(102, 102, 102);">Ph.D. Candidate</span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Methods and Technologies for Environmental Monitoring</span><br style="color: rgb(102, 102, 102);">
<span style="color: rgb(102, 102, 102);">Department of Environmental Engineering and Physics (DIFA)</span><br style="color: rgb(102, 102, 102);"><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">University of Basilicata </span><br style="color: rgb(102, 102, 102);">
<span style="color: rgb(102, 102, 102);">Campus Macchia Romana</span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">85100 - Potenza </span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Italy</span><br style="color: rgb(102, 102, 102);">
<br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);">Office: +39-0971205360</span><br style="color: rgb(102, 102, 102);"><span style="color: rgb(102, 102, 102);"></span><br><br><br>