2010-09-29 20:22:49 +08:00
var deps = {
Core : {
src : [ 'Leaflet.js' ,
'core/Browser.js' ,
'core/Class.js' ,
'core/Events.js' ,
'core/Util.js' ,
'dom/DomUtil.js' ,
'geo/LatLng.js' ,
'geo/LatLngBounds.js' ,
'geo/Projection.js' ,
'geometry/Bounds.js' ,
'geometry/Point.js' ,
'geometry/Transformation.js' ,
'map/Map.js' ] ,
desc : 'The core of the library, including OOP, events, DOM facilities, basic units, projections and the base Map class.'
} ,
2011-03-22 01:09:43 +08:00
2010-09-29 20:22:49 +08:00
TileLayer : {
src : [ 'layer/TileLayer.js' ] ,
2010-09-30 05:02:54 +08:00
desc : 'The base class for displaying tile layers on the map.' ,
heading : 'Layers'
2010-09-29 20:22:49 +08:00
} ,
ImageOverlay : {
src : [ 'layer/ImageOverlay.js' ] ,
desc : 'Used to display an image over a particular rectangular area of the map.'
} ,
2010-12-15 23:14:35 +08:00
Marker : {
2011-01-21 17:55:08 +08:00
src : [ 'layer/marker/Icon.js' , 'layer/marker/Marker.js' ] ,
2010-12-15 23:14:35 +08:00
desc : 'Markers to put on the map.'
} ,
2011-01-10 22:21:27 +08:00
Popup : {
2011-01-21 17:55:08 +08:00
src : [ 'layer/Popup.js' , 'layer/marker/Marker.Popup.js' , 'map/ext/Map.Popup.js' ] ,
2011-01-10 22:21:27 +08:00
deps : [ 'Marker' ] ,
2011-04-08 19:47:27 +08:00
desc : 'Used to display the map popup (used mostly for binding HTML data to markers and paths on click).'
2011-01-10 22:21:27 +08:00
} ,
2011-03-22 01:09:43 +08:00
2011-02-28 22:14:32 +08:00
Path : {
2011-04-08 19:47:27 +08:00
src : [ 'layer/vector/Path.js' , 'layer/vector/Path.Popup.js' ] ,
2011-02-28 22:14:32 +08:00
desc : 'Vector rendering core (SVG-powered), enables overlaying the map with SVG paths.' ,
heading : 'Vector layers'
2011-02-26 22:36:01 +08:00
} ,
2011-02-28 22:14:32 +08:00
PathVML : {
src : [ 'layer/vector/PathVML.js' ] ,
desc : 'VML fallback for vector rendering core (IE 6-8).'
} ,
Polyline : {
src : [ 'geometry/LineUtil.js' , 'layer/vector/Polyline.js' ] ,
deps : [ 'Path' ] ,
desc : 'Polyline overlays.'
} ,
2011-01-16 06:01:16 +08:00
2011-03-01 23:41:33 +08:00
Polygon : {
src : [ 'geometry/PolyUtil.js' , 'layer/vector/Polygon.js' ] ,
deps : [ 'Polyline' ] ,
desc : 'Polygon overlays.'
} ,
Circle : {
src : [ 'layer/vector/Circle.js' ] ,
deps : [ 'Path' ] ,
desc : 'Circle overlays.'
} ,
2011-03-22 01:09:43 +08:00
2010-09-29 20:22:49 +08:00
MapDrag : {
2010-09-30 05:02:54 +08:00
src : [ 'dom/DomEvent.js' ,
'dom/Draggable.js' ,
'handler/Handler.js' ,
2010-09-29 20:22:49 +08:00
'handler/MapDrag.js' ] ,
2011-04-12 04:43:23 +08:00
desc : 'Makes the map draggable (by mouse or touch).' ,
2010-09-30 05:02:54 +08:00
heading : 'Interaction'
2010-09-29 20:22:49 +08:00
} ,
MouseZoom : {
2010-09-30 05:02:54 +08:00
src : [ 'dom/DomEvent.js' ,
'handler/Handler.js' ,
2010-09-29 20:22:49 +08:00
'handler/DoubleClickZoom.js' ,
'handler/ScrollWheelZoom.js' ] ,
desc : 'Scroll wheel zoom and double click zoom on the map.'
} ,
TouchZoom : {
2010-09-30 05:02:54 +08:00
src : [ 'dom/DomEvent.js' ,
2011-04-12 21:53:07 +08:00
'dom/DomEvent.DoubleTap.js' ,
2010-09-30 05:02:54 +08:00
'handler/Handler.js' ,
2010-09-29 20:22:49 +08:00
'handler/TouchZoom.js' ] ,
2011-04-01 22:58:43 +08:00
deps : [ 'MapAnimationZoom' ] ,
2011-04-12 21:53:07 +08:00
desc : 'Enables smooth touch zooming on iOS and double tap on iOS/Android.'
2010-09-29 20:22:49 +08:00
} ,
2011-03-22 01:09:43 +08:00
ShiftDragZoom : {
src : [ 'handler/ShiftDragZoom.js' ] ,
desc : 'Enables zooming to bounding box by shift-dragging the map.'
} ,
2011-04-12 04:43:23 +08:00
MarkerDrag : {
src : [ 'handler/MarkerDrag.js' ] ,
desc : 'Makes markers draggable (by mouse or touch).'
} ,
2011-04-15 16:56:48 +08:00
2011-04-12 04:43:23 +08:00
2011-04-11 20:49:15 +08:00
ControlZoom : {
src : [ 'control/Control.js' ,
'map/ext/Map.Control.js' ,
'control/Control.Zoom.js' ] ,
heading : 'Controls' ,
desc : 'Basic zoom control with two buttons (zoom in / zoom out).'
} ,
2011-04-15 16:56:48 +08:00
ControlZoom : {
src : [ 'control/Control.js' ,
'map/ext/Map.Control.js' ,
'control/Control.Attribution.js' ] ,
desc : 'Attribution control.'
} ,
2011-01-16 06:01:16 +08:00
2010-09-30 05:02:54 +08:00
MapAnimationNative : {
src : [ 'dom/DomEvent.js' ,
'dom/transition/Transition.js' ,
2011-01-16 06:01:16 +08:00
'dom/transition/Transition.Native.js' ] ,
desc : 'Animation core that uses CSS3 Transitions (for powering pan & zoom animations). Works on mobile webkit-powered browsers and some modern desktop browsers.' ,
2010-09-30 05:02:54 +08:00
heading : 'Visual effects'
2010-09-29 20:22:49 +08:00
} ,
2010-09-30 05:02:54 +08:00
MapAnimationFallback : {
2010-09-29 20:22:49 +08:00
src : [ 'dom/transition/Transition.Timer.js' ] ,
2010-09-30 05:02:54 +08:00
deps : [ 'MapAnimationNative' ] ,
2011-01-16 06:01:16 +08:00
desc : 'Timer-based animation fallback for browsers that don\'t support CSS3 transitions.'
} ,
MapAnimationPan : {
2011-01-21 17:55:08 +08:00
src : [ 'map/ext/Map.PanAnimation.js' ] ,
2011-01-16 06:01:16 +08:00
deps : [ 'MapAnimationNative' ] ,
desc : 'Panning animation. Can use both native and timer-based animation.'
} ,
MapAnimationZoom : {
2011-01-21 17:55:08 +08:00
src : [ 'map/ext/Map.ZoomAnimation.js' ] ,
2011-01-16 06:01:16 +08:00
deps : [ 'MapAnimationPan' , 'MapAnimationNative' ] ,
desc : 'Smooth zooming animation. So far it works only on browsers that support CSS3 Transitions.'
2010-09-29 20:22:49 +08:00
} ,
2011-01-16 06:01:16 +08:00
2010-09-29 20:22:49 +08:00
MapGeolocation : {
2011-01-21 17:55:08 +08:00
src : [ 'map/ext/Map.Geolocation.js' ] ,
2010-09-30 05:02:54 +08:00
desc : 'Adds Map#locate method and related events to make geolocation easier.' ,
heading : 'Misc'
2010-09-29 20:22:49 +08:00
}
} ;