If you are adding your own buttons, you can also add 'title' into them, like:
button2 = new OpenLayers.Control.Button({displayClass: "addPoint", trigger: activateAddPoint, id: "b2", title: 'Add point'});



The cursor is missing, but it should be there pointing the lower button. I'm to aware if this is a same thing as tooltip but something like it.


Christopher,
To what were you referring to with "tools making it easier". Just out of curiosity, I'd like to know.

- mika -


Christopher Schmidt wrote:
 
 2. I strongly believe that the fixes for the issues you describe *are
    not OpenLayers library fixes* primarily. Instead, they are
    improvements to documentation and to the applications which use the
    library. The things that you get when you don't configure *anything*
    are demonstrated in lite.html -- anything else is configured by the
    application developer. We provide some tools to make it easier, but
    if you don't like it -- you can change them!

      
Incidentally, tooltips for controls seem to have been implemented since
2.6 (Trac #822), but apparently no default values are defined and you
need to hand-hack the _javascript_ to add your own.  Is there any reason
*not* to enable tooltips by default, especially now that OpenLayers
supports localization?  If not, I'll write the patch myself.
      
No reason, no.

Best Regards,
    
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
  
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to