<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'>I have two tool
buttons in my OL map, one for map &quot;pan&quot;, one for &quot;identify&quot;
features by mouse click. Both are based on the default control
&quot;OpenLayers.Control.<wbr>MouseDefaults&quot;,<wbr> now I can set a CSS
style to specify a image for the button on the tool, but how can use different images
for the two tools ?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'>Can I somehow clone
the OL control or extended it just for the purpose to assign another button
image ? <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'>At the moment both
buttons show the same image because they have the same style (it&#8217;s the
same basic control) . I would like to change one of them to a different image
and find the best way to accomplish that.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#993300'>Cheers<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color="#993300" face=Arial><span lang=ES
style='font-size:10.0pt;font-family:Arial;color:#993300'>Karsten Vennemann<br>
<br>
</span></font><font size=2 color="#993300" face=Arial><span lang=ES
style='font-size:10.0pt;font-family:Arial;color:#993300'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=ES
style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>