[OpenLayers-Users] NavigationHistory title

Eric Lemoine eric.c2c at gmail.com
Wed Aug 20 01:55:03 EDT 2008


On Tue, Aug 19, 2008 at 10:23 PM, Richard Greenwood
<richard.greenwood at gmail.com> wrote:
> How can I set the title property for the two buttons in the
> NavigationHistory control?

You can try this:

var nh = new OpenLayers.Control.NavigationHistory({
    "previousOptions": {"title": "previous title"},
    "nextOptions": {"title": "next title"}
});

--
Eric



More information about the Users mailing list