[OpenLayers-Dev] Tooltips on the controls in NavToolBar

Christian López Espínola penyaskito at gmail.com
Wed Sep 26 12:03:23 EDT 2007


Hi Antonio,

Can you attach a full example, and I can take a look at it?

On 9/26/07, Antonio <volpicelli at oato.inaf.it> wrote:
>
>  Christian,
>  this seems to work only if you keep the controls on the map.
>  If you move the controls outside the map it doesn't work.
>  This are some line of my code:
>
>  <style type="text/css">
>    #paneldiv { float: left;   width: 30px; }
>    #paneldiv div {
>      top: 10px;
>    }
>  .......
>  <div id="paneldiv" ></div>
>
>  .......
>          var panel = new
> OpenLayers.Control.Panel({'div':OpenLayers.Util.getElement('paneldiv')});
>          panel.addControls([new OpenLayers.Control.ZoomBox({title: "Zoom
> Box: Selecting it you can zoom on an area by clicking and draging"})]);
>
>  but how Lee write this functionality is slated for 2.6.
>  I will think about and hope to find a solution.
>
>  Thanks
>
>  Ciao
>  Antonio
>
>  Christian López Espínola wrote:
>  Hi Antonio,
>
> See if
> http://dev.openlayers.org/sandbox/penyaskito/openlayers/examples/panel.html
> does what you want.
>
> If it helps, see the patch at the ticket #822
> http://trac.openlayers.org/ticket/822
>
> Cheers
>
> On 9/25/07, Antonio <volpicelli at oato.inaf.it> wrote:
>
>
>  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
>  volpicelli at oato.inaf.it
> /-------------------------------------------------------\
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
>
>
>
>
>  --
> /-------------------------------------------------------\
>  PLEASE WARNING: E-mail is CHANGED
>  volpicelli at oato.inaf.it
> /-------------------------------------------------------\
>
>


-- 
Regards,

Christian López Espínola


More information about the Dev mailing list