<div dir="ltr"><font color="#000099"><font size="2"><font face="arial,helvetica,sans-serif">Atle,</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">The way I create my markers is exactly the same. The only thing I didn't know is that I can create transparent icons. Do you have any idea on which editor can create transparent icons ? Or is it possible to create them using normal windows picture manager ??</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">Cheers,</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 Thu, Aug 19, 2010 at 8:02 PM, Sveen Atle Frenvik (Geomatikk IKT) <span dir="ltr"><<a href="mailto:Atle.Frenvik.Sveen@geomatikk.no">Atle.Frenvik.Sveen@geomatikk.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div text="#000000" bgcolor="#ffffff">
On 08/19/2010 11:48 AM, Kalyan Kamepalli wrote:
<blockquote 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 href="http://dev.openlayers.org/releases/OpenLayers-2.9.1/doc/apidocs/files/OpenLayers/Marker-js.html" target="_blank">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 href="http://boston.openguides.org/markers/AQUA.png',size,offset" target="_blank">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><font color="#888888">
<br>
-atle</font><div><div></div><div class="h5"><br>
<br>
<blockquote 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 href="mailto:Atle.Frenvik.Sveen@geomatikk.no" target="_blank">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>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>
<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 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><a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a>
<a 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 href="mailto:atle.frenvik.sveen@geomatikk.no" target="_blank">atle.frenvik.sveen@geomatikk.no</a></pre>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a 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 cols="72">--
Atle Frenvik Sveen
Utvikler
Geomatikk IKT AS
tlf: 45 27 86 89
<a href="mailto:atle.frenvik.sveen@geomatikk.no" target="_blank">atle.frenvik.sveen@geomatikk.no</a></pre>
</div></div></div>
</blockquote></div><br></div></div>