I guess this can help you:<br><br><div style="margin-left: 40px;"><i><font size="1">self.marker = QgsVertexMarker( self.canvas )
<br></font></i></div><div style="margin-left: 40px;"><i><font size="1">self.marker.setCenter( QgsPoint( x, y ) )
</font></i><br></div><div style="margin-left: 40px;"><i><font size="1">self.marker.setIconType( 1 ) </font></i><br><i><font size="1">self.marker.setIconSize( 10 )
</font></i><br><i><font size="1">self.marker.setColor( QColor( 255,0,0,255 ) )
</font></i><br><i><font size="1">self.marker.setPenWidth ( 1 )
</font></i><br></div><br>As you see, just define the marker with your canvas as parent and set the properties.<br><br>Regards.<br><br>Germán<br><br><div class="gmail_quote">El 10 de diciembre de 2009 14:46, sergio cavalcante <span dir="ltr">&lt;<a href="mailto:sergio.cavalcante@gmail.com">sergio.cavalcante@gmail.com</a>&gt;</span> escribió:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for your reply, Germán.<br>
<br>
I&#39;ll study the class. Do you know where I may find some sample of its usage?<br>
<br>
Best Regards,<br>
------------------------------<br>
Sérgio Cavalcante<br>
<br>
<br>
<br>
<br>
2009/12/10 Germán Carrillo &lt;<a href="mailto:carrillo.german@gmail.com">carrillo.german@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi Sergio.<br>
&gt;<br>
&gt; Take a look at the QgsVertexMarker class. This way you can add points to the<br>
&gt; map canvas.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt; Germán<br>
&gt;<br>
&gt; -------------------------------<br>
&gt; [1] <a href="http://doc.qgis.org/head/classQgsVertexMarker.html" target="_blank">http://doc.qgis.org/head/classQgsVertexMarker.html</a><br>
&gt;<br>
&gt;<br>
&gt; 2009/12/10 sergio cavalcante &lt;<a href="mailto:sergio.cavalcante@gmail.com">sergio.cavalcante@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hello Guys,<br>
&gt;&gt; Any Ideas?<br>
&gt;&gt; Just plot a single pixel at a specific coordinate?<br>
&gt;&gt;<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; ------------------------------<br>
&gt;&gt; Sérgio Cavalcante<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Dec 8, 2009 at 4:57 PM, sergio cavalcante<br>
&gt;&gt; &lt;<a href="mailto:sergio.cavalcante@gmail.com">sergio.cavalcante@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; People.<br>
&gt;&gt; &gt; I have a qmapcanvas. I just need to draw a single point in any pixel<br>
&gt;&gt; &gt; at the mapcanvas and delete when I need.<br>
&gt;&gt; &gt; Is that possible?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Best regards,<br>
&gt;&gt; &gt; ------------------------------<br>
&gt;&gt; &gt; Sérgio Cavalcante<br>
&gt;&gt; &gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Qgis-developer mailing list<br>
&gt;&gt; <a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
&gt;<br>
&gt; --<br>
&gt; -----------<br>
&gt;   |\__<br>
&gt; (:&gt;__)(<br>
&gt;   |/<br>
&gt;<br>
&gt; Soluciones Geoinformáticas Libres<br>
&gt; <a href="http://geotux.tuxfamily.org/" target="_blank">http://geotux.tuxfamily.org/</a><br>
&gt;<br>
</div></div></blockquote></div>-- <br>-----------<br>   |\__  <br>(:&gt;__)(<br>   |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>