<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body text="#000000" bgcolor="#ffffff">
On 08/19/2010 11:48 AM, Kalyan Kamepalli wrote:
<blockquote
cite="mid:AANLkTimgjbR0Xx8vNnodh-_ubA=ZPczUGWz0HbLcoQz6@mail.gmail.com"
type="cite">
<div dir="ltr"><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">I use markers.</font></font></font></div>
</blockquote>
<br>
Well, not that I am familiar with markers, but according to:
<a class="moz-txt-link-freetext" href="http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Marker-js.html">http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Marker-js.html</a>
you can use custom ghraphics for your markers as well:<br>
<br>
var size = new OpenLayers.Size(10,17);<br>
var offset = new OpenLayers.Pixel(-(size.w/2), -size.h);<br>
var icon = new
OpenLayers.Icon('<a class="moz-txt-link-freetext" href="http://boston.openguides.org/markers/AQUA.png',size,offset">http://boston.openguides.org/markers/AQUA.png',size,offset</a>);<br>
markers.addMarker(new OpenLayers.Marker(new
OpenLayers.LonLat(0,0),icon));<br>
markers.addMarker(new OpenLayers.Marker(new
OpenLayers.LonLat(0,0),icon.clone()));<br>
<br>
Note that if you pass an icon into the Marker constructor, it will take
that icon and use it. This means that you should not share icons
between markers -- you use them once, but you should clone() for any
additional markers using that same icon.<br>
<br>
<br>
So, if you make your marker transparent using your favourite graphics
editor you should be all set.<br>
<br>
-atle<br>
<br>
<blockquote
cite="mid:AANLkTimgjbR0Xx8vNnodh-_ubA=ZPczUGWz0HbLcoQz6@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_quote">On Thu, Aug 19, 2010 at 7:18 PM, Sveen Atle
Frenvik (Geomatikk IKT) <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Atle.Frenvik.Sveen@geomatikk.no">Atle.Frenvik.Sveen@geomatikk.no</a>></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 text="#000000" bgcolor="#ffffff">
<div class="im">On 08/19/2010 03:42 AM, Kalyan Kamepalli wrote:
<blockquote type="cite">
<div dir="ltr"><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Is there someone to help me out in
this ??</font></font></font>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Can we make transparent markers ?
This is really important for me as the markers hiding the geometry
underneath them and we don't want that to happen.</font></font></font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
</div>
</blockquote>
<br>
</div>
Are you using Markers or Vectors ? <br>
<br>
I use vectors, and then I am able to use an externalGraphic for point
style. This can be a .png file, with all the transparency needed.. <br>
<br>
-atle<br>
<blockquote type="cite">
<div class="im">
<div dir="ltr">
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Any help is very much appreciated.</font></font></font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif"><br>
</font></font></font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Thanks,</font></font></font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Kalyan<br>
</font></font></font><br>
<div class="gmail_quote">On Wed, Aug 18, 2010 at 4:07 PM, Kalyan
Kamepalli <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kalyan.kamepalli@gmail.com" target="_blank">kalyan.kamepalli@gmail.com</a>></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 dir="ltr"><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif"><span
style="color: rgb(68, 68, 68); font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><font
color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Hello
group, </font></font></font>
<div><font color="#000099" face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font color="#000099"><font size="2"><font
face="arial,helvetica,sans-serif">Currently, all my markers are
sitting on top of actual map data.But, I don't want to hide the actual
data.So, </font></font></font><span
style="font-family: arial,helvetica,sans-serif; color: rgb(0, 0, 153);">Is
it
possible to set a transparent background to marker ?? </span></div>
<div><span
style="font-family: arial,helvetica,sans-serif; color: rgb(0, 0, 153);"><br>
</span></div>
<div><span
style="font-family: arial,helvetica,sans-serif; color: rgb(0, 0, 153);">Cheers,</span></div>
<div><span
style="font-family: arial,helvetica,sans-serif; color: rgb(0, 0, 153);">Kalyan</span></div>
</span></font></font></font></div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<div class="im"><a moz-do-not-send="true"
href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a>
<a moz-do-not-send="true"
href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a>
</div></pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
<a moz-do-not-send="true" href="mailto:atle.frenvik.sveen@geomatikk.no"
target="_blank">atle.frenvik.sveen@geomatikk.no</a></pre>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a moz-do-not-send="true"
href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
<a class="moz-txt-link-abbreviated" href="mailto:atle.frenvik.sveen@geomatikk.no">atle.frenvik.sveen@geomatikk.no</a></pre>
</body>
</html>