mapfish. widgets. Shortcuts

Shorcuts to get the map zoomed to a preconfigured locations.

Typical usage

var shortcuts = new mapfish.widgets.Shortcuts({
   el: 'myDiv',
   map: map,
   store: store,
   templates: {
       header: new Ext.Template("Choose a continent in the list"),
       footer: new Ext.Template("The map will automatically center to this location")
   }
});

Inherits from

  • {Ext.Container}
Summary
mapfish. widgets. ShortcutsShorcuts to get the map zoomed to a preconfigured locations.
Constructor
mapfish. widgets. Shortcuts

Constructor

mapfish. widgets. Shortcuts

Parameters

config{Object} The config object
Close