From 229b905bb560005bb915088f623b7dc1b4e90793 Mon Sep 17 00:00:00 2001 From: Mourner Date: Thu, 11 Aug 2011 16:40:33 +0300 Subject: [PATCH] update dependencies in custom builder --- build/deps.js | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/build/deps.js b/build/deps.js index 42735648..686bab0a 100644 --- a/build/deps.js +++ b/build/deps.js @@ -1,10 +1,13 @@ var deps = { Core: { src: ['Leaflet.js', - 'core/Browser.js', + 'core/Util.js', 'core/Class.js', 'core/Events.js', - 'core/Util.js', + 'core/Browser.js', + 'geometry/Point.js', + 'geometry/Bounds.js', + 'geometry/Transformation.js', 'dom/DomUtil.js', 'geo/LatLng.js', 'geo/LatLngBounds.js', @@ -14,9 +17,6 @@ var deps = { 'geo/crs/CRS.js', 'geo/crs/CRS.EPSG3857.js', 'geo/crs/CRS.EPSG4326.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 (EPSG:3857 and EPSG:4326) and the base Map class.' }, @@ -76,7 +76,7 @@ var deps = { Path: { - src: ['layer/vector/Path.js', 'layer/vector/Path.Popup.js'], + src: ['layer/vector/Path.js', 'layer/vector/Path.SVG.js', 'layer/vector/Path.Popup.js'], desc: 'Vector rendering core (SVG-powered), enables overlaying the map with SVG paths.', heading: 'Vector layers' }, @@ -116,6 +116,15 @@ var deps = { desc: 'Circle overlays with a constant pixel radius.' }, + PathCanvas: { + src: ['layer/vector/canvas/Path.Canvas.js', + 'layer/vector/canvas/Polyline.Canvas.js', + 'layer/vector/canvas/Polygon.Canvas.js', + 'layer/vector/canvas/Circle.Canvas.js'], + deps: ['Path', 'Polyline', 'Polygon', 'Circle'], + desc: 'Canvas fallback for vector layers (makes them work on Android 2+).' + }, + GeoJSON: { src: ['layer/GeoJSON.js'], deps: ['Marker', 'MultiPoly', 'FeatureGroup'], @@ -168,13 +177,20 @@ var deps = { desc: 'Basic zoom control with two buttons (zoom in / zoom out).' }, - ControlZoom: { + ControlAttrib: { src: ['control/Control.js', 'map/ext/Map.Control.js', 'control/Control.Attribution.js'], desc: 'Attribution control.' }, + ControlLayers: { + src: ['control/Control.js', + 'map/ext/Map.Control.js', + 'control/Control.Layers.js'], + desc: 'Layer Switcher control.' + }, + MapAnimationNative: { src: ['dom/DomEvent.js',