| Current File : /home/jvzmxxx/wiki1/extensions/Kartographer/modules/box/index.js |
/* globals module */
/**
* **Resource Loader module: {@link Kartographer.Box ext.kartographer.box}**
*
* @alias ext.kartographer.box
* @class Kartographer.Box
* @singleton
*/
L.kartographer = module.exports = {
/**
* @type {Kartographer.Box.OpenFullScreenControl}
* @ignore
*/
OpenFullScreenControl: module.OpenFullScreenControl,
/**
* @type {Kartographer.Box.ScaleControl}
* @ignore
*/
ScaleControl: module.ScaleControl,
/**
* @type {Kartographer.Box.MWMap}
* @ignore
*/
Map: module.Map,
/**
* Use this method to create a {@link Kartographer.Box.MapClass Map}
* object.
*
* See {@link Kartographer.Box.MapClass#constructor} for the list of options.
*
* @param {Object} options
* @return {Kartographer.Box.MapClass}
* @member Kartographer.Box
*/
map: function ( options ) {
var Map = this.Map;
return new Map( options );
}
};