2015-03-09 08:58:37 -05:00
|
|
|
var deps = {
|
|
|
|
Core: {
|
|
|
|
src: ['Leaflet.js',
|
2015-07-16 05:55:53 -05:00
|
|
|
'core/Log.js',
|
2015-03-09 08:58:37 -05:00
|
|
|
'core/Util.js',
|
|
|
|
'core/Class.js',
|
|
|
|
'core/Events.js',
|
2015-09-01 09:53:44 -05:00
|
|
|
'core/Socket.js',
|
2015-03-09 08:58:37 -05:00
|
|
|
'core/Browser.js',
|
|
|
|
'geometry/Point.js',
|
|
|
|
'geometry/Bounds.js',
|
|
|
|
'geometry/Transformation.js',
|
|
|
|
'dom/DomUtil.js',
|
|
|
|
'geo/LatLng.js',
|
|
|
|
'geo/LatLngBounds.js',
|
|
|
|
'geo/projection/Projection.LonLat.js',
|
|
|
|
'geo/projection/Projection.SphericalMercator.js',
|
|
|
|
'geo/crs/CRS.js',
|
|
|
|
'geo/crs/CRS.Simple.js',
|
|
|
|
'geo/crs/CRS.Earth.js',
|
|
|
|
'geo/crs/CRS.EPSG3857.js',
|
|
|
|
'geo/crs/CRS.EPSG4326.js',
|
|
|
|
'map/Map.js',
|
|
|
|
'layer/Layer.js'
|
|
|
|
],
|
|
|
|
desc: 'The core of the library, including OOP, events, DOM facilities, basic units, projections (EPSG:3857 and EPSG:4326) and the base Map class.'
|
|
|
|
},
|
|
|
|
|
|
|
|
EPSG3395: {
|
|
|
|
src: ['geo/projection/Projection.Mercator.js',
|
|
|
|
'geo/crs/CRS.EPSG3395.js'],
|
|
|
|
desc: 'EPSG:3395 projection (used by some map providers).',
|
|
|
|
heading: 'Additional projections'
|
|
|
|
},
|
|
|
|
|
|
|
|
GridLayer: {
|
|
|
|
src: ['layer/tile/GridLayer.js'],
|
|
|
|
desc: 'Used as base class for grid-like layers like TileLayer.',
|
|
|
|
heading: 'Layers'
|
|
|
|
},
|
|
|
|
|
|
|
|
TileLayer: {
|
|
|
|
src: ['layer/tile/TileLayer.js'],
|
|
|
|
desc: 'The base class for displaying tile layers on the map.',
|
|
|
|
deps: ['GridLayer']
|
|
|
|
},
|
|
|
|
|
|
|
|
TileLayerWMS: {
|
|
|
|
src: ['layer/tile/TileLayer.WMS.js'],
|
|
|
|
desc: 'WMS tile layer.',
|
|
|
|
deps: ['TileLayer']
|
2015-09-02 02:47:19 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
WriterTileLayer: {
|
|
|
|
src: ['layer/tile/WriterTileLayer.js'],
|
|
|
|
desc: 'Writer tile layer.',
|
|
|
|
deps: ['TileLayer']
|
|
|
|
},
|
|
|
|
|
|
|
|
ImpressTileLayer: {
|
|
|
|
src: ['layer/tile/ImpressTileLayer.js'],
|
|
|
|
desc: 'Impress tile layer.',
|
|
|
|
deps: ['TileLayer']
|
|
|
|
},
|
|
|
|
|
2015-09-02 06:27:29 -05:00
|
|
|
CalcTileLayer: {
|
2015-09-02 02:47:19 -05:00
|
|
|
src: ['layer/tile/CalcTileLayer.js'],
|
|
|
|
desc: 'Calc tile layer.',
|
|
|
|
deps: ['TileLayer']
|
2015-03-09 08:58:37 -05:00
|
|
|
},
|
|
|
|
|
|
|
|
ImageOverlay: {
|
|
|
|
src: ['layer/ImageOverlay.js'],
|
|
|
|
desc: 'Used to display an image over a particular rectangular area of the map.'
|
|
|
|
},
|
|
|
|
|
2016-03-31 20:26:19 -05:00
|
|
|
ProgressOverlay: {
|
|
|
|
src: ['layer/marker/ProgressOverlay.js'],
|
|
|
|
desc: 'Used to display a progress image over rectangular are of the map.'
|
|
|
|
},
|
|
|
|
|
2015-03-09 08:58:37 -05:00
|
|
|
Marker: {
|
|
|
|
src: ['layer/marker/Icon.js',
|
|
|
|
'layer/marker/Icon.Default.js',
|
2015-06-02 22:38:00 -05:00
|
|
|
'layer/marker/Marker.js',
|
|
|
|
'layer/marker/Cursor.js'],
|
2015-03-09 08:58:37 -05:00
|
|
|
desc: 'Markers to put on the map.'
|
|
|
|
},
|
|
|
|
|
|
|
|
DivIcon: {
|
|
|
|
src: ['layer/marker/DivIcon.js'],
|
|
|
|
deps: ['Marker'],
|
|
|
|
desc: 'Lightweight div-based icon for markers.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Popup: {
|
|
|
|
src: [
|
|
|
|
'layer/Popup.js',
|
|
|
|
'layer/Layer.Popup.js',
|
|
|
|
'layer/marker/Marker.Popup.js'
|
|
|
|
],
|
|
|
|
deps: ['Marker'],
|
|
|
|
desc: 'Used to display the map popup (used mostly for binding HTML data to markers and paths on click).'
|
|
|
|
},
|
|
|
|
|
|
|
|
LayerGroup: {
|
|
|
|
src: ['layer/LayerGroup.js'],
|
|
|
|
desc: 'Allows grouping several layers to handle them as one.'
|
|
|
|
},
|
|
|
|
|
|
|
|
FeatureGroup: {
|
|
|
|
src: ['layer/FeatureGroup.js'],
|
|
|
|
deps: ['LayerGroup', 'Popup'],
|
|
|
|
desc: 'Extends LayerGroup with mouse events and bindPopup method shared between layers.'
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
Path: {
|
|
|
|
src: [
|
|
|
|
'layer/vector/Renderer.js',
|
|
|
|
'layer/vector/Path.js'
|
|
|
|
],
|
|
|
|
desc: 'Vector rendering core.',
|
|
|
|
heading: 'Vector layers'
|
|
|
|
},
|
|
|
|
|
|
|
|
Polyline: {
|
|
|
|
src: ['geometry/LineUtil.js',
|
|
|
|
'layer/vector/Polyline.js'],
|
|
|
|
deps: ['Path'],
|
|
|
|
desc: 'Polyline overlays.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Polygon: {
|
|
|
|
src: ['geometry/PolyUtil.js',
|
|
|
|
'layer/vector/Polygon.js'],
|
|
|
|
deps: ['Polyline'],
|
|
|
|
desc: 'Polygon overlays.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Rectangle: {
|
|
|
|
src: ['layer/vector/Rectangle.js'],
|
|
|
|
deps: ['Polygon'],
|
|
|
|
desc: ['Rectangle overlays.']
|
|
|
|
},
|
|
|
|
|
|
|
|
CircleMarker: {
|
|
|
|
src: ['layer/vector/CircleMarker.js'],
|
|
|
|
deps: ['Path'],
|
|
|
|
desc: 'Circle overlays with a constant pixel radius.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Circle: {
|
|
|
|
src: ['layer/vector/Circle.js'],
|
|
|
|
deps: ['CircleMarker'],
|
|
|
|
desc: 'Circle overlays (with radius in meters).'
|
|
|
|
},
|
|
|
|
|
|
|
|
SVG: {
|
|
|
|
src: ['layer/vector/SVG.js'],
|
|
|
|
deps: ['Path'],
|
|
|
|
desc: 'SVG backend for vector layers.'
|
|
|
|
},
|
|
|
|
|
|
|
|
VML: {
|
|
|
|
src: ['layer/vector/SVG.VML.js'],
|
|
|
|
deps: ['SVG'],
|
|
|
|
desc: 'VML fallback for vector layers in IE7-8.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Canvas: {
|
|
|
|
src: ['layer/vector/Canvas.js'],
|
|
|
|
deps: ['Path'],
|
|
|
|
desc: 'Canvas backend for vector layers.'
|
|
|
|
},
|
|
|
|
|
|
|
|
GeoJSON: {
|
|
|
|
src: ['layer/GeoJSON.js'],
|
|
|
|
deps: ['Polygon', 'Circle', 'CircleMarker', 'Marker', 'FeatureGroup'],
|
|
|
|
desc: 'GeoJSON layer, parses the data and adds corresponding layers above.'
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
MapDrag: {
|
|
|
|
src: ['dom/DomEvent.js',
|
|
|
|
'dom/Draggable.js',
|
|
|
|
'core/Handler.js',
|
|
|
|
'map/handler/Map.Drag.js'],
|
|
|
|
desc: 'Makes the map draggable (by mouse or touch).',
|
|
|
|
heading: 'Interaction'
|
|
|
|
},
|
|
|
|
|
2015-07-24 04:04:18 -05:00
|
|
|
MapScroll: {
|
|
|
|
src: ['dom/DomEvent.js',
|
|
|
|
'core/Handler.js',
|
|
|
|
'map/handler/Map.Scroll.js'],
|
|
|
|
desc: 'Handles the mouse wheel scroll',
|
|
|
|
},
|
|
|
|
|
2015-03-09 08:58:37 -05:00
|
|
|
MouseZoom: {
|
|
|
|
src: ['dom/DomEvent.js',
|
|
|
|
'core/Handler.js',
|
2015-07-24 04:04:18 -05:00
|
|
|
'map/handler/Map.DoubleClickZoom.js'],
|
2015-03-09 08:58:37 -05:00
|
|
|
desc: 'Scroll wheel zoom and double click zoom on the map.'
|
|
|
|
},
|
|
|
|
|
|
|
|
TouchZoom: {
|
|
|
|
src: ['dom/DomEvent.js',
|
|
|
|
'dom/DomEvent.DoubleTap.js',
|
|
|
|
'dom/DomEvent.Pointer.js',
|
|
|
|
'core/Handler.js',
|
|
|
|
'map/handler/Map.TouchZoom.js',
|
|
|
|
'map/handler/Map.Tap.js'],
|
|
|
|
deps: ['AnimationZoom'],
|
|
|
|
desc: 'Enables smooth touch zoom / tap / longhold / doubletap on iOS, IE10, Android.'
|
|
|
|
},
|
|
|
|
|
|
|
|
BoxZoom: {
|
|
|
|
src: ['map/handler/Map.BoxZoom.js'],
|
|
|
|
desc: 'Enables zooming to bounding box by shift-dragging the map.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Keyboard: {
|
|
|
|
src: ['map/handler/Map.Keyboard.js'],
|
2015-07-16 08:15:30 -05:00
|
|
|
desc: 'Handles keyboard interaction with the document.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Mouse: {
|
2015-10-29 09:19:50 -05:00
|
|
|
src: ['dom/DomEvent.MultiClick.js',
|
|
|
|
'map/handler/Map.Mouse.js'],
|
2015-07-16 08:15:30 -05:00
|
|
|
desc: 'Handles mouse interaction with the document.'
|
2015-03-09 08:58:37 -05:00
|
|
|
},
|
|
|
|
|
2015-10-13 11:26:16 -05:00
|
|
|
Print: {
|
|
|
|
src: ['map/handler/Map.Print.js'],
|
|
|
|
desc: 'Handles the print action (ctrl + P).'
|
|
|
|
},
|
|
|
|
|
2015-10-16 06:05:59 -05:00
|
|
|
SlideShow: {
|
|
|
|
src: ['map/handler/Map.SlideShow.js'],
|
|
|
|
desc: 'Creates a presentation slide show.'
|
|
|
|
},
|
|
|
|
|
2015-10-22 10:38:35 -05:00
|
|
|
FileInserter: {
|
|
|
|
src: ['map/handler/Map.FileInserter.js'],
|
|
|
|
desc: 'Handles inserting a file (image) in the document.'
|
|
|
|
},
|
|
|
|
|
2015-03-09 08:58:37 -05:00
|
|
|
MarkerDrag: {
|
|
|
|
src: ['layer/marker/Marker.Drag.js'],
|
|
|
|
deps: ['Marker'],
|
|
|
|
desc: 'Makes markers draggable (by mouse or touch).'
|
|
|
|
},
|
|
|
|
|
|
|
|
ControlZoom: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Zoom.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Basic zoom control with two buttons (zoom in / zoom out).'
|
|
|
|
},
|
|
|
|
|
2015-05-11 08:28:43 -05:00
|
|
|
ControlSearch: {
|
2015-05-06 04:39:03 -05:00
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Search.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Search control with two buttons (previous / next).'
|
2015-05-11 08:59:47 -05:00
|
|
|
},
|
|
|
|
|
2015-10-22 10:40:43 -05:00
|
|
|
ControlInsertImg: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.InsertImg.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Handles inserting an image in the document.'
|
|
|
|
},
|
|
|
|
|
2015-05-11 08:59:47 -05:00
|
|
|
ControlParts: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Parts.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Parts control with two buttons (previous / next).'
|
2015-05-06 04:39:03 -05:00
|
|
|
},
|
|
|
|
|
2015-08-17 02:41:01 -05:00
|
|
|
ControlPartsPreview: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.PartsPreview.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Parts preview sidebar'
|
|
|
|
},
|
2016-03-25 06:46:42 -05:00
|
|
|
|
2015-12-22 06:47:36 -06:00
|
|
|
ControlPresentation: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Presentation.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Common commands for slides.'
|
|
|
|
},
|
2015-08-17 02:41:01 -05:00
|
|
|
|
2015-12-11 04:09:32 -06:00
|
|
|
ControlColumnHeader: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.ColumnHeader.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Column Header bar'
|
|
|
|
},
|
|
|
|
|
|
|
|
ControlRowHeader: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.RowHeader.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Row Header bar'
|
|
|
|
},
|
2015-11-08 10:29:58 -06:00
|
|
|
|
2015-08-17 02:41:01 -05:00
|
|
|
ControlTabs: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Tabs.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Tabs for switching sheets'
|
|
|
|
},
|
|
|
|
|
2015-07-10 04:20:46 -05:00
|
|
|
ControlPermissionSwitch: {
|
2015-05-26 12:47:45 -05:00
|
|
|
src: ['control/Control.js',
|
2015-07-10 04:20:46 -05:00
|
|
|
'control/Control.Permission.js'],
|
2015-05-26 12:47:45 -05:00
|
|
|
heading: 'Controls',
|
2015-07-10 04:20:46 -05:00
|
|
|
desc: 'Switches edit, view and readOnly modes'
|
2015-05-26 12:47:45 -05:00
|
|
|
},
|
|
|
|
|
2015-07-13 07:50:02 -05:00
|
|
|
ControlSelection: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Selection.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Enables selection in view mode'
|
|
|
|
},
|
|
|
|
|
2015-07-08 01:22:27 -05:00
|
|
|
ControlButtons: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Buttons.js'],
|
|
|
|
heading: 'Buttons',
|
|
|
|
desc: 'Handles buttons from the toolbar'
|
|
|
|
},
|
|
|
|
|
2015-05-28 10:43:29 -05:00
|
|
|
ControlStatusIndicator: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.StatusIndicator.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Display document loading status'
|
|
|
|
},
|
|
|
|
|
2015-07-24 03:30:32 -05:00
|
|
|
ControlScroll: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Scroll.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Creates and handles the scrollbar'
|
|
|
|
},
|
|
|
|
|
2015-08-06 09:41:56 -05:00
|
|
|
ControlDialog: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Dialog.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Handles vex dialogs for displaying alerts'
|
|
|
|
},
|
|
|
|
|
2015-08-19 02:57:42 -05:00
|
|
|
ControlStyles: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Styles.js'],
|
2016-03-25 06:46:42 -05:00
|
|
|
deps: ['Styles'],
|
2015-08-19 02:57:42 -05:00
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Handles styles selection'
|
|
|
|
},
|
|
|
|
|
2015-09-10 03:26:47 -05:00
|
|
|
ControlFonts: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Fonts.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Handles fonts selection'
|
|
|
|
},
|
|
|
|
|
2015-11-10 11:20:54 -06:00
|
|
|
ControlFormulaBar: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Formulabar.js'],
|
|
|
|
heading: 'Controls',
|
|
|
|
desc: 'Handles the formula bar in calc'
|
|
|
|
},
|
|
|
|
|
2015-03-09 08:58:37 -05:00
|
|
|
ControlAttrib: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Attribution.js'],
|
|
|
|
desc: 'Attribution control.'
|
|
|
|
},
|
|
|
|
|
|
|
|
ControlScale: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Scale.js'],
|
|
|
|
desc: 'Scale control.'
|
|
|
|
},
|
|
|
|
|
|
|
|
ControlLayers: {
|
|
|
|
src: ['control/Control.js',
|
|
|
|
'control/Control.Layers.js'],
|
|
|
|
desc: 'Layer Switcher control.'
|
|
|
|
},
|
|
|
|
|
2015-07-10 03:00:53 -05:00
|
|
|
Search: {
|
|
|
|
src: ['control/Search.js'],
|
|
|
|
desc: 'Search command handler.'
|
|
|
|
},
|
|
|
|
|
2015-07-10 04:20:46 -05:00
|
|
|
Permission: {
|
|
|
|
src: ['control/Permission.js'],
|
|
|
|
desc: 'Permission change handler (edit, view, readonly).'
|
|
|
|
},
|
|
|
|
|
2015-09-09 10:47:14 -05:00
|
|
|
Toolbar: {
|
|
|
|
src: ['control/Toolbar.js'],
|
|
|
|
desc: 'Toolbar handler.'
|
2015-07-10 07:27:30 -05:00
|
|
|
},
|
|
|
|
|
2015-07-10 08:32:19 -05:00
|
|
|
Parts: {
|
|
|
|
src: ['control/Parts.js'],
|
|
|
|
desc: 'Parts change handler.'
|
|
|
|
},
|
|
|
|
|
2015-07-24 08:04:28 -05:00
|
|
|
Scroll: {
|
|
|
|
src: ['control/Scroll.js'],
|
|
|
|
desc: 'Scroll handler.'
|
|
|
|
},
|
|
|
|
|
2016-03-25 06:46:42 -05:00
|
|
|
Styles: {
|
|
|
|
src: ['control/Styles.js'],
|
|
|
|
desc: 'Contains LibreOffice programmatic to UI name style mappings'
|
|
|
|
},
|
|
|
|
|
2015-03-09 08:58:37 -05:00
|
|
|
AnimationPan: {
|
|
|
|
src: [
|
|
|
|
'dom/DomEvent.js',
|
|
|
|
'dom/PosAnimation.js',
|
|
|
|
'map/anim/Map.PanAnimation.js'
|
|
|
|
],
|
|
|
|
heading: 'Animation',
|
|
|
|
desc: 'Core panning animation support.'
|
|
|
|
},
|
|
|
|
|
|
|
|
AnimationZoom: {
|
|
|
|
src: [
|
|
|
|
'map/anim/Map.ZoomAnimation.js',
|
|
|
|
'map/anim/Map.FlyTo.js'
|
|
|
|
],
|
|
|
|
deps: ['AnimationPan'],
|
|
|
|
desc: 'Smooth zooming animation. Works only on browsers that support CSS3 Transitions.'
|
|
|
|
},
|
|
|
|
|
|
|
|
Geolocation: {
|
|
|
|
src: ['map/ext/Map.Geolocation.js'],
|
|
|
|
desc: 'Adds Map#locate method and related events to make geolocation easier.',
|
|
|
|
heading: 'Misc'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
if (typeof exports !== 'undefined') {
|
|
|
|
exports.deps = deps;
|
|
|
|
}
|