A panel designed to hold link bookmarks to map contexts (layers/zoom/center). A map context is a set of layers to be activated, a zoomlevel to be zoomed into plus the point (x,y) where the map should be centered.
{
xtype: 'hr_bookmarkspanel',
id: 'hr-bookmarks',
// The contexts to create bookmarks for in the context browser.
hropts: [
{
id: 'bookmark_XXX',
name: 'Change layers - jump - zoom',
desc: 'Bookmark XXX - change + jump + zoom',
addLayers: false,
layers: ['XXX_baselayer','XXX_overlay1','XXX_overlay2']
, x: 3796558, y: 5830315
, zoom: 16
},
{
id: 'bookmark_XXX add',
name: 'Add layers - jump - zoom',
desc: 'Bookmark XXX - add + jump + zoom',
addLayers: true,
layers: ['XXX_overlay1','XXX_overlay2']
, x: 3796558, y: 5830315
, zoom: 16
},
{
id: 'bookmark_XXX_delete',
name: 'Delete all overlays',
desc: '',
layers: []
},
{
id: 'bookmark_empty_1',
name: '',
desc: '',
layers: []
},
{
id: 'bookmark_change_jump',
name: 'Change layers - jump',
desc: 'Bookmark XXX - change + jump',
layers: ['XXX_baselayer','XXX_overlay1','XXX_overlay2']
, x: 3796558, y: 5830315
},
{
id: 'bookmark_change_zoom',
name: 'Change layers - zoom',
desc: 'Bookmark XXX - change + zoom',
layers: ['XXX_baselayer','XXX_overlay1','XXX_overlay2']
, zoom: 16
},
{
id: 'bookmark_empty_2',
name: '',
desc: '',
layers: []
},
{
id: 'bookmark_only_jump',
name: 'Only - jump',
desc: 'Bookmark XXX - jump',
layers: []
, x: 3796558, y: 5830315
},
{
id: 'bookmark_only_zoom',
name: 'Only - zoom',
desc: 'Bookmark XXX - zoom',
layers: []
, zoom: 16
}
]
},