2010-12-15 23:14:59 +08:00
|
|
|
(function() {
|
2011-01-13 18:17:50 +08:00
|
|
|
//TODO replace script list with the one from ../buid/deps.js
|
2010-12-15 23:14:59 +08:00
|
|
|
var scripts = [
|
|
|
|
'Leaflet.js',
|
|
|
|
|
|
|
|
'core/Util.js',
|
|
|
|
'core/Class.js',
|
|
|
|
'core/Events.js',
|
|
|
|
'core/Browser.js',
|
|
|
|
|
2010-12-16 00:41:35 +08:00
|
|
|
'geometry/Point.js',
|
|
|
|
'geometry/Bounds.js',
|
|
|
|
'geometry/Transformation.js',
|
2011-02-26 01:01:29 +08:00
|
|
|
'geometry/LineUtil.js',
|
2011-03-01 23:41:33 +08:00
|
|
|
'geometry/PolyUtil.js',
|
2010-12-16 00:41:35 +08:00
|
|
|
|
2010-12-15 23:14:59 +08:00
|
|
|
'dom/DomEvent.js',
|
2011-04-12 21:53:07 +08:00
|
|
|
'dom/DomEvent.DoubleTap.js',
|
2010-12-15 23:14:59 +08:00
|
|
|
'dom/DomUtil.js',
|
|
|
|
'dom/Draggable.js',
|
|
|
|
|
|
|
|
'dom/transition/Transition.js',
|
|
|
|
'dom/transition/Transition.Native.js',
|
|
|
|
'dom/transition/Transition.Timer.js',
|
|
|
|
|
|
|
|
'geo/LatLng.js',
|
|
|
|
'geo/LatLngBounds.js',
|
|
|
|
'geo/Projection.js',
|
2011-05-31 05:37:48 +08:00
|
|
|
'geo/CRS.js',
|
2010-12-15 23:14:59 +08:00
|
|
|
|
2011-05-28 01:20:54 +08:00
|
|
|
'layer/tile/TileLayer.js',
|
|
|
|
'layer/tile/TileLayer.WMS.js',
|
|
|
|
'layer/tile/TileLayer.Canvas.js',
|
2010-12-15 23:14:59 +08:00
|
|
|
'layer/ImageOverlay.js',
|
2010-12-16 01:55:57 +08:00
|
|
|
'layer/Popup.js',
|
2011-02-26 01:01:29 +08:00
|
|
|
|
2011-01-21 17:55:08 +08:00
|
|
|
'layer/marker/Icon.js',
|
|
|
|
'layer/marker/Marker.js',
|
|
|
|
'layer/marker/Marker.Popup.js',
|
2010-12-15 23:14:59 +08:00
|
|
|
|
2011-02-26 01:01:29 +08:00
|
|
|
'layer/vector/Path.js',
|
2011-02-28 22:14:32 +08:00
|
|
|
'layer/vector/Path.VML.js',
|
2011-04-08 19:47:27 +08:00
|
|
|
'layer/vector/Path.Popup.js',
|
2011-02-26 01:01:29 +08:00
|
|
|
'layer/vector/Polyline.js',
|
2011-03-01 16:26:42 +08:00
|
|
|
'layer/vector/Polygon.js',
|
2011-03-01 23:41:33 +08:00
|
|
|
'layer/vector/Circle.js',
|
2011-05-19 21:36:25 +08:00
|
|
|
'layer/vector/CircleMarker.js',
|
2011-02-26 01:01:29 +08:00
|
|
|
|
2010-12-15 23:14:59 +08:00
|
|
|
'handler/Handler.js',
|
|
|
|
'handler/MapDrag.js',
|
|
|
|
'handler/TouchZoom.js',
|
|
|
|
'handler/DoubleClickZoom.js',
|
|
|
|
'handler/ScrollWheelZoom.js',
|
2011-03-22 01:09:43 +08:00
|
|
|
'handler/ShiftDragZoom.js',
|
2011-04-12 04:43:23 +08:00
|
|
|
'handler/MarkerDrag.js',
|
2010-12-15 23:14:59 +08:00
|
|
|
|
2011-04-11 20:49:15 +08:00
|
|
|
'control/Control.js',
|
|
|
|
'control/Control.Zoom.js',
|
2011-04-14 23:48:14 +08:00
|
|
|
'control/Control.Attribution.js',
|
2011-04-11 20:49:15 +08:00
|
|
|
|
2010-12-15 23:14:59 +08:00
|
|
|
'map/Map.js',
|
2011-01-21 17:55:08 +08:00
|
|
|
'map/ext/Map.Geolocation.js',
|
|
|
|
'map/ext/Map.Popup.js',
|
|
|
|
'map/ext/Map.PanAnimation.js',
|
2011-04-11 20:49:15 +08:00
|
|
|
'map/ext/Map.ZoomAnimation.js',
|
|
|
|
'map/ext/Map.Control.js'
|
2010-12-15 23:14:59 +08:00
|
|
|
];
|
|
|
|
|
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
2011-04-08 19:53:34 +08:00
|
|
|
document.writeln("<script type='text/javascript' src='../../src/" + scripts[i] + "'></script>");
|
2010-12-15 23:14:59 +08:00
|
|
|
}
|
|
|
|
})();
|