Thanks for that Christopher. I am using GML layer now and I have a cool pop up :). Now I have a problem which was not present when using a text layer.<br><br>What I want to achieve is, I have a map in which I am showing some icons (using GML layer). If the user clicks on these icons a pop up opens in which an image is shown. But if the user click on some other place in the map a marker needs to be placed there (But the marker should not be placed if the user clicks on the icons). So I am using a marker layer as well in my map. Now the trouble is once the user clicks on my icons the pop up opens but a marker is placed as well. I want to stop the event once the user clicks on the icons so that the markers are not created. This scenario was not present when I was using the text layer.<br>

<br>How do I prevent the markers from getting placed when the user clicks on the icons?&nbsp; <br><br><div class="gmail_quote">On Sat, Nov 15, 2008 at 4:13 PM, Christopher Schmidt <span dir="ltr">&lt;<a href="mailto:crschmidt@metacarta.com" target="_blank">crschmidt@metacarta.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>On Sat, Nov 15, 2008 at 03:37:24PM +0530, Abhi wrote:<br>

&gt; I have a text layer and when I click on the corresponding markers a pop up<br>
&gt; opens in which I display an image. The pop up that opens now is the default<br>
&gt; pop up which is pretty small, not very aesthetically pleasing and has no<br>
&gt; close button.<br>
&gt;<br>
&gt; I went through the different popup examples given here<br>
&gt; <a href="http://dev.openlayers.org/sandbox/euzuro/pop/examples/popupMatrix.html" target="_blank">http://dev.openlayers.org/sandbox/euzuro/pop/examples/popupMatrix.html</a>.<br>
&gt;<br>
&gt; How do I over ride the default pop up (which text layer uses) and give one<br>
&gt; of the pop ups from the above page?<br>
<br>
</div></div><a href="http://openlayers.org/pipermail/users/2008-April/005694.html" target="_blank">http://openlayers.org/pipermail/users/2008-April/005694.html</a><br>
<br>
Regards,<br>
<font color="#888888">--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>Abhi<br>