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.'
} ,
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 : {
2010-12-15 23:21:14 +08:00
src : [ 'dom/Icon.js' , 'layer/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 : {
src : [ 'layer/Popup.js' , 'layer/Marker.Popup.js' , 'map/Map.Popup.js' ] ,
deps : [ 'Marker' ] ,
desc : 'Used to display the map popup (used mostly for binding HTML data to markers on click).'
} ,
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' ] ,
2010-09-30 05:02:54 +08:00
deps : [ ] ,
desc : 'Makes the map draggable (on both desktop and mobile webkit browsers).' ,
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' ] ,
2010-09-30 05:02:54 +08:00
deps : [ ] ,
2010-09-29 20:22:49 +08:00
desc : 'Scroll wheel zoom and double click zoom on the map.'
} ,
TouchZoom : {
2010-09-30 05:02:54 +08:00
src : [ 'dom/DomEvent.js' ,
'handler/Handler.js' ,
2010-09-29 20:22:49 +08:00
'handler/TouchZoom.js' ] ,
2010-09-30 05:02:54 +08:00
deps : [ ] ,
2010-09-29 20:22:49 +08:00
desc : 'Enables smooth touch zooming on mobile webkit-powered devices (iPhone, iPod Touch, iPad, Android).'
} ,
2010-09-30 05:02:54 +08:00
MapAnimationNative : {
src : [ 'dom/DomEvent.js' ,
'dom/transition/Transition.js' ,
'dom/transition/Transition.Native.js' ,
'map/Map.Animation.js' ] ,
deps : [ ] ,
desc : 'Panning animation through CSS3 Transitions on the map (zooming animation coming later). Works on mobile webkit-powered browsers and some modern desktop browsers.' ,
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' ] ,
desc : 'Animation for browsers that don\'t support CSS3 transitions.'
2010-09-29 20:22:49 +08:00
} ,
MapGeolocation : {
src : [ 'map/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
}
} ;