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',
|
2010-12-16 00:41:35 +08:00
|
|
|
|
2010-12-15 23:14:59 +08:00
|
|
|
'dom/DomEvent.js',
|
|
|
|
'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',
|
|
|
|
|
|
|
|
'layer/TileLayer.js',
|
|
|
|
'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-02-26 01:01:29 +08:00
|
|
|
'layer/vector/Polyline.js',
|
|
|
|
|
2010-12-15 23:14:59 +08:00
|
|
|
'handler/Handler.js',
|
|
|
|
'handler/MapDrag.js',
|
|
|
|
'handler/TouchZoom.js',
|
|
|
|
'handler/DoubleClickZoom.js',
|
|
|
|
'handler/ScrollWheelZoom.js',
|
|
|
|
|
|
|
|
'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',
|
|
|
|
'map/ext/Map.ZoomAnimation.js'
|
2010-12-15 23:14:59 +08:00
|
|
|
];
|
|
|
|
|
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
|
|
|
document.writeln("<script type='text/javascript' src='../src/" + scripts[i] + "'></script>");
|
|
|
|
}
|
|
|
|
})();
|