55 lines
1.2 KiB
JavaScript
55 lines
1.2 KiB
JavaScript
(function() {
|
|
//TODO replace script list with the one from ../buid/deps.js
|
|
var scripts = [
|
|
'Leaflet.js',
|
|
|
|
'core/Util.js',
|
|
'core/Class.js',
|
|
'core/Events.js',
|
|
'core/Browser.js',
|
|
|
|
'geometry/Point.js',
|
|
'geometry/Bounds.js',
|
|
'geometry/Transformation.js',
|
|
'geometry/LineUtil.js',
|
|
|
|
'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',
|
|
'layer/Popup.js',
|
|
|
|
'layer/marker/Icon.js',
|
|
'layer/marker/Marker.js',
|
|
'layer/marker/Marker.Popup.js',
|
|
|
|
'layer/vector/Path.js',
|
|
'layer/vector/Polyline.js',
|
|
|
|
'handler/Handler.js',
|
|
'handler/MapDrag.js',
|
|
'handler/TouchZoom.js',
|
|
'handler/DoubleClickZoom.js',
|
|
'handler/ScrollWheelZoom.js',
|
|
|
|
'map/Map.js',
|
|
'map/ext/Map.Geolocation.js',
|
|
'map/ext/Map.Popup.js',
|
|
'map/ext/Map.PanAnimation.js',
|
|
'map/ext/Map.ZoomAnimation.js'
|
|
];
|
|
|
|
for (var i = 0; i < scripts.length; i++) {
|
|
document.writeln("<script type='text/javascript' src='../src/" + scripts[i] + "'></script>");
|
|
}
|
|
})(); |