[OpenLayers-Trac] [OpenLayers] #1583: Bookmark Control
OpenLayers
trac at openlayers.org
Fri Jun 20 10:51:05 EDT 2008
#1583: Bookmark Control
-------------------------+--------------------------------------------------
Reporter: hpbrantley | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.7 Release
Component: Control | Version: 2.6
Resolution: | Keywords: bookmark control
State: Review |
-------------------------+--------------------------------------------------
Changes (by hpbrantley):
* milestone: => 2.7 Release
Comment:
Removed calls to Rico out of the control.
You now apply Rico to the div in the following manner.
{{{
bookmarks = new OpenLayers.Control.Bookmark({
'div':OpenLayers.Util.getElement('myBookmarks'), 'title': 'Bookmarks
outside the map' });
map.addControl(bookmarks);
bookmarks.add("WASHINGTON
DC","-77.338126,38.639689,-76.788809,39.189005");
OpenLayers.Rico.Corner.round( bookmarks.div , {corners: "tl bl tr br",
bgColor: "transparent", color: "darkblue", blend: false});
OpenLayers.Rico.Corner.changeOpacity(bookmarks.contentDiv, 0.75);
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/1583#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list