<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Christian,<br>
this seems to work only if you keep the controls on the map.<br>
If you move the controls outside the map it doesn't work.<br>
This are some line of my code:<br>
<br>
<style type="text/css"><br>
#paneldiv { float: left; width: 30px; }<br>
#paneldiv div { <br>
top: 10px; <br>
}<br>
.......<br>
<div id="paneldiv" ></div><br>
<br>
.......<br>
var panel = new
OpenLayers.Control.Panel({'div':OpenLayers.Util.getElement('paneldiv')});<br>
panel.addControls([new OpenLayers.Control.ZoomBox({title: "Zoom
Box: Selecting it you can zoom on an area by clicking and draging"})]);<br>
<br>
but how Lee write this functionality is slated for 2.6.<br>
I will think about and hope to find a solution.<br>
<br>
Thanks<br>
<br>
Ciao<br>
Antonio<br>
<br>
Christian López Espínola wrote:
<blockquote
cite="mid:e8254e3c0709250744j18e535bdkdab3074143cda163@mail.gmail.com"
type="cite">
<pre wrap="">Hi Antonio,
See if
<a class="moz-txt-link-freetext" href="http://dev.openlayers.org/sandbox/penyaskito/openlayers/examples/panel.html">http://dev.openlayers.org/sandbox/penyaskito/openlayers/examples/panel.html</a>
does what you want.
If it helps, see the patch at the ticket #822
<a class="moz-txt-link-freetext" href="http://trac.openlayers.org/ticket/822">http://trac.openlayers.org/ticket/822</a>
Cheers
On 9/25/07, Antonio <a class="moz-txt-link-rfc2396E" href="mailto:volpicelli@oato.inaf.it"><volpicelli@oato.inaf.it></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I moved the NavToolBar with some controls outside of the Map and I would
like to enable tooltips on they .
Is there some one what I could do?
Thanks
Antonio
--
/-------------------------------------------------------\
PLEASE WARNING: E-mail is CHANGED
<a class="moz-txt-link-abbreviated" href="mailto:volpicelli@oato.inaf.it">volpicelli@oato.inaf.it</a>
/-------------------------------------------------------\
_______________________________________________
Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dev@openlayers.org">Dev@openlayers.org</a>
<a class="moz-txt-link-freetext" href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
/-------------------------------------------------------\
PLEASE WARNING: E-mail is CHANGED
<a class="moz-txt-link-abbreviated" href="mailto:volpicelli@oato.inaf.it">volpicelli@oato.inaf.it</a>
/-------------------------------------------------------\
</pre>
</body>
</html>