leaflet-js 0.7.0.4 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +10 -3
- data/Rakefile +3 -3
- data/leaflet-js.gemspec +13 -7
- data/lib/leaflet-js.rb +2 -10
- data/lib/leaflet-js/engine.rb +7 -0
- data/lib/leaflet-js/version.rb +3 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/dist/images/spritesheet-2x.png +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/dist/images/spritesheet.png +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/Control.Draw.js +21 -19
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/Leaflet.draw.js +8 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/Toolbar.js +75 -14
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/Tooltip.js +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/copyright.js +0 -0
- data/vendor/assets/Leaflet.draw/src/draw/DrawToolbar.js +87 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Circle.js +2 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Feature.js +4 -4
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Marker.js +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Polygon.js +9 -7
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Polyline.js +86 -36
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.Rectangle.js +19 -1
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/draw/handler/Draw.SimpleShape.js +18 -4
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/EditToolbar.js +34 -43
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/Edit.Circle.js +0 -0
- data/vendor/assets/Leaflet.draw/src/edit/handler/Edit.Marker.js +75 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/Edit.Poly.js +16 -2
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/Edit.Rectangle.js +3 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/Edit.SimpleShape.js +13 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/EditToolbar.Delete.js +11 -7
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/edit/handler/EditToolbar.Edit.js +26 -94
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/ext/GeometryUtil.js +3 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/ext/LatLngUtil.js +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/ext/LineUtil.Intersect.js +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/ext/Polygon.Intersect.js +0 -0
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/ext/Polyline.Intersect.js +3 -3
- data/{lib/leaflet.draw → vendor/assets/Leaflet.draw}/src/images/spritesheet.svg +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/BaseMarkerMethods.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/CircleMarker.Label.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/FeatureGroup.Label.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/Label.js +5 -2
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/Leaflet.label.js +1 -1
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/Map.Label.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/Marker.Label.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/Path.Label.js +0 -0
- data/{lib/leaflet.label → vendor/assets/Leaflet.label}/src/copyright.js +0 -0
- data/{lib/leaflet.draw/examples/libs → vendor/assets/Leaflet/dist}/images/layers-2x.png +0 -0
- data/{lib/leaflet.draw/examples/libs → vendor/assets/Leaflet/dist}/images/layers.png +0 -0
- data/{lib/leaflet.draw/examples/libs → vendor/assets/Leaflet/dist}/images/marker-icon-2x.png +0 -0
- data/{lib/leaflet.draw/examples/libs → vendor/assets/Leaflet/dist}/images/marker-icon.png +0 -0
- data/{lib/leaflet.draw/examples/libs → vendor/assets/Leaflet/dist}/images/marker-shadow.png +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/Leaflet.js +1 -1
- data/{lib/leaflet → vendor/assets/Leaflet}/src/control/Control.Attribution.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/control/Control.Layers.js +2 -2
- data/{lib/leaflet → vendor/assets/Leaflet}/src/control/Control.Scale.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/control/Control.Zoom.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/control/Control.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/copyright.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/core/Browser.js +5 -36
- data/{lib/leaflet → vendor/assets/Leaflet}/src/core/Class.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/core/Events.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/core/Handler.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/core/Util.js +9 -14
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/DomEvent.DoubleTap.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/DomEvent.Pointer.js +3 -2
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/DomEvent.js +7 -18
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/DomUtil.js +0 -5
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/Draggable.js +10 -4
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/PosAnimation.Timer.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/dom/PosAnimation.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/LatLng.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/LatLngBounds.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/crs/CRS.EPSG3395.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/crs/CRS.EPSG3857.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/crs/CRS.EPSG4326.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/crs/CRS.Simple.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/crs/CRS.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/projection/Projection.LonLat.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/projection/Projection.Mercator.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/projection/Projection.SphericalMercator.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geo/projection/Projection.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geometry/Bounds.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geometry/LineUtil.js +1 -1
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geometry/Point.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geometry/PolyUtil.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/geometry/Transformation.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/images/layers.svg +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/images/marker.svg +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/FeatureGroup.js +5 -3
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/GeoJSON.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/ImageOverlay.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/LayerGroup.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/Popup.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/DivIcon.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/Icon.Default.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/Icon.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/Marker.Drag.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/Marker.Popup.js +1 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/marker/Marker.js +2 -4
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/tile/TileLayer.Anim.js +5 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/tile/TileLayer.Canvas.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/tile/TileLayer.WMS.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/tile/TileLayer.js +3 -5
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Circle.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/CircleMarker.js +1 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/MultiPoly.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Path.Popup.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Path.SVG.js +1 -1
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Path.VML.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Path.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Polygon.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Polyline.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/Rectangle.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/canvas/Circle.Canvas.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/canvas/CircleMarker.Canvas.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/canvas/Path.Canvas.js +13 -6
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/canvas/Polygon.Canvas.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/layer/vector/canvas/Polyline.Canvas.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/Map.js +9 -8
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/anim/Map.PanAnimation.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/anim/Map.ZoomAnimation.js +25 -16
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/ext/Map.Geolocation.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.BoxZoom.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.DoubleClickZoom.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.Drag.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.Keyboard.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.ScrollWheelZoom.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.Tap.js +0 -0
- data/{lib/leaflet → vendor/assets/Leaflet}/src/map/handler/Map.TouchZoom.js +1 -1
- data/vendor/assets/{stylesheets/leaflet-js.css → leaflet-js.css} +0 -0
- data/vendor/assets/{javascripts/leaflet-js.js → leaflet-js.js} +2 -2
- data/{lib/leaflet.label/libs/leaflet/leaflet.css → vendor/assets/leaflet.css.erb} +2 -2
- data/vendor/assets/{stylesheets/leaflet.draw.css.erb → leaflet.draw.css.erb} +2 -2
- data/{lib/leaflet.draw/dist → vendor/assets}/leaflet.draw.ie.css +0 -0
- data/vendor/assets/leaflet.draw.js +38 -0
- data/vendor/assets/leaflet.js +155 -0
- data/{lib/leaflet.label/dist → vendor/assets}/leaflet.label.css +0 -0
- data/vendor/assets/leaflet.label.js +11 -0
- metadata +139 -302
- data/lib/leaflet.draw/BREAKINGCHANGES.md +0 -54
- data/lib/leaflet.draw/CHANGELOG.md +0 -118
- data/lib/leaflet.draw/Jakefile.js +0 -26
- data/lib/leaflet.draw/MIT-LICENCE.txt +0 -20
- data/lib/leaflet.draw/README.md +0 -411
- data/lib/leaflet.draw/TODO.md +0 -62
- data/lib/leaflet.draw/build/build.html +0 -243
- data/lib/leaflet.draw/build/build.js +0 -189
- data/lib/leaflet.draw/build/deps.js +0 -76
- data/lib/leaflet.draw/build/hintrc.js +0 -47
- data/lib/leaflet.draw/build/leaflet.draw-include.js +0 -42
- data/lib/leaflet.draw/dist/leaflet.draw-src.js +0 -2782
- data/lib/leaflet.draw/dist/leaflet.draw.css +0 -244
- data/lib/leaflet.draw/dist/leaflet.draw.js +0 -10
- data/lib/leaflet.draw/examples/basic.html +0 -113
- data/lib/leaflet.draw/examples/edithandlers.html +0 -67
- data/lib/leaflet.draw/examples/libs/images/marker-icon@2x.png +0 -0
- data/lib/leaflet.draw/examples/libs/leaflet-src.js +0 -9108
- data/lib/leaflet.draw/examples/libs/leaflet.css +0 -478
- data/lib/leaflet.draw/package.json +0 -37
- data/lib/leaflet.draw/spec/after.js +0 -2
- data/lib/leaflet.draw/spec/before.js +0 -3
- data/lib/leaflet.draw/spec/expect.js +0 -1253
- data/lib/leaflet.draw/spec/happen.js +0 -93
- data/lib/leaflet.draw/spec/index.html +0 -36
- data/lib/leaflet.draw/spec/karma.conf.js +0 -69
- data/lib/leaflet.draw/spec/sinon.js +0 -4223
- data/lib/leaflet.draw/spec/suites/DrawControlSpec.js +0 -15
- data/lib/leaflet.draw/spec/suites/GeometryUtilSpec.js +0 -25
- data/lib/leaflet.draw/spec/suites/LatLngUtilSpec.js +0 -9
- data/lib/leaflet.draw/spec/suites/SpecHelper.js +0 -26
- data/lib/leaflet.draw/src/draw/DrawToolbar.js +0 -111
- data/lib/leaflet.label/CHANGELOG.md +0 -67
- data/lib/leaflet.label/Jakefile.js +0 -21
- data/lib/leaflet.label/MIT-LICENCE.txt +0 -20
- data/lib/leaflet.label/README.md +0 -103
- data/lib/leaflet.label/build/build.js +0 -155
- data/lib/leaflet.label/build/deps.js +0 -26
- data/lib/leaflet.label/build/hint.js +0 -30
- data/lib/leaflet.label/build/hintrc.js +0 -51
- data/lib/leaflet.label/dist/images/death.png +0 -0
- data/lib/leaflet.label/dist/leaflet.label-src.js +0 -542
- data/lib/leaflet.label/dist/leaflet.label.js +0 -9
- data/lib/leaflet.label/example/label.html +0 -85
- data/lib/leaflet.label/libs/leaflet/images/layers-2x.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/layers.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/marker-icon-2x.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/marker-icon.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/marker-icon@2x.png +0 -0
- data/lib/leaflet.label/libs/leaflet/images/marker-shadow.png +0 -0
- data/lib/leaflet.label/libs/leaflet/leaflet-src.js +0 -9108
- data/lib/leaflet.label/libs/leaflet/leaflet.js +0 -9
- data/lib/leaflet.label/package.json +0 -19
- data/lib/leaflet/CHANGELOG.md +0 -905
- data/lib/leaflet/CONTRIBUTING.md +0 -155
- data/lib/leaflet/FAQ.md +0 -138
- data/lib/leaflet/Jakefile.js +0 -46
- data/lib/leaflet/LICENSE +0 -23
- data/lib/leaflet/PLUGIN-GUIDE.md +0 -127
- data/lib/leaflet/README.md +0 -34
- data/lib/leaflet/build/build.html +0 -227
- data/lib/leaflet/build/build.js +0 -163
- data/lib/leaflet/build/deps.js +0 -259
- data/lib/leaflet/build/hintrc.js +0 -39
- data/lib/leaflet/debug/css/mobile.css +0 -6
- data/lib/leaflet/debug/css/screen.css +0 -5
- data/lib/leaflet/debug/hacks/jitter.html +0 -42
- data/lib/leaflet/debug/leaflet-include.js +0 -59
- data/lib/leaflet/debug/map/canvas.html +0 -46
- data/lib/leaflet/debug/map/controls.html +0 -49
- data/lib/leaflet/debug/map/geolocation.html +0 -34
- data/lib/leaflet/debug/map/iframe.html +0 -11
- data/lib/leaflet/debug/map/image-overlay.html +0 -43
- data/lib/leaflet/debug/map/map-mobile.html +0 -34
- data/lib/leaflet/debug/map/map.html +0 -59
- data/lib/leaflet/debug/map/max-bounds.html +0 -38
- data/lib/leaflet/debug/map/opacity.html +0 -223
- data/lib/leaflet/debug/map/scroll.html +0 -41
- data/lib/leaflet/debug/map/simple-proj.html +0 -44
- data/lib/leaflet/debug/map/wms-marble.html +0 -30
- data/lib/leaflet/debug/map/wms.html +0 -40
- data/lib/leaflet/debug/map/zoomlevels.html +0 -45
- data/lib/leaflet/debug/tests/add_remove_layers.html +0 -87
- data/lib/leaflet/debug/tests/bringtoback.html +0 -37
- data/lib/leaflet/debug/tests/canvasloop.html +0 -47
- data/lib/leaflet/debug/tests/click_on_canvas.html +0 -58
- data/lib/leaflet/debug/tests/click_on_canvas_broken.html +0 -49
- data/lib/leaflet/debug/tests/dragging_and_copyworldjump.html +0 -61
- data/lib/leaflet/debug/tests/opacity.html +0 -56
- data/lib/leaflet/debug/tests/popupcontextmenuclicks.html +0 -59
- data/lib/leaflet/debug/tests/remove_while_dragging.html +0 -28
- data/lib/leaflet/debug/tests/removetilewhilepan.html +0 -41
- data/lib/leaflet/debug/tests/reuse_popups.html +0 -40
- data/lib/leaflet/debug/tests/rtl.html +0 -42
- data/lib/leaflet/debug/tests/rtl2.html +0 -27
- data/lib/leaflet/debug/tests/set_icon_reuse_dom.html +0 -43
- data/lib/leaflet/debug/tests/svg_clicks.html +0 -54
- data/lib/leaflet/debug/vector/bounds-extend.html +0 -88
- data/lib/leaflet/debug/vector/feature-group-bounds.html +0 -90
- data/lib/leaflet/debug/vector/geojson-sample.js +0 -53
- data/lib/leaflet/debug/vector/geojson.html +0 -173
- data/lib/leaflet/debug/vector/rectangle.html +0 -53
- data/lib/leaflet/debug/vector/route.js +0 -1
- data/lib/leaflet/debug/vector/touchzoomemu.html +0 -194
- data/lib/leaflet/debug/vector/us-states.js +0 -54
- data/lib/leaflet/debug/vector/vector-bounds.html +0 -69
- data/lib/leaflet/debug/vector/vector-canvas.html +0 -92
- data/lib/leaflet/debug/vector/vector-mobile.html +0 -38
- data/lib/leaflet/debug/vector/vector-simple.html +0 -48
- data/lib/leaflet/debug/vector/vector.html +0 -37
- data/lib/leaflet/dist/images/layers-2x.png +0 -0
- data/lib/leaflet/dist/images/layers.png +0 -0
- data/lib/leaflet/dist/images/marker-icon-2x.png +0 -0
- data/lib/leaflet/dist/images/marker-icon.png +0 -0
- data/lib/leaflet/dist/images/marker-shadow.png +0 -0
- data/lib/leaflet/dist/leaflet.css +0 -478
- data/lib/leaflet/package.json +0 -27
- data/lib/leaflet/spec/after.js +0 -2
- data/lib/leaflet/spec/before.js +0 -3
- data/lib/leaflet/spec/expect.js +0 -1253
- data/lib/leaflet/spec/index.html +0 -86
- data/lib/leaflet/spec/karma.conf.js +0 -65
- data/lib/leaflet/spec/sinon.js +0 -4223
- data/lib/leaflet/spec/spec.hintrc.js +0 -25
- data/lib/leaflet/spec/suites/LeafletSpec.js +0 -13
- data/lib/leaflet/spec/suites/SpecHelper.js +0 -42
- data/lib/leaflet/spec/suites/control/Control.AttributionSpec.js +0 -68
- data/lib/leaflet/spec/suites/control/Control.LayersSpec.js +0 -67
- data/lib/leaflet/spec/suites/control/Control.ScaleSpec.js +0 -6
- data/lib/leaflet/spec/suites/core/ClassSpec.js +0 -156
- data/lib/leaflet/spec/suites/core/EventsSpec.js +0 -392
- data/lib/leaflet/spec/suites/core/UtilSpec.js +0 -256
- data/lib/leaflet/spec/suites/dom/DomEventSpec.js +0 -102
- data/lib/leaflet/spec/suites/dom/DomUtilSpec.js +0 -82
- data/lib/leaflet/spec/suites/dom/PosAnimationSpec.js +0 -27
- data/lib/leaflet/spec/suites/geo/CRSSpec.js +0 -47
- data/lib/leaflet/spec/suites/geo/LatLngBoundsSpec.js +0 -144
- data/lib/leaflet/spec/suites/geo/LatLngSpec.js +0 -132
- data/lib/leaflet/spec/suites/geo/ProjectionSpec.js +0 -48
- data/lib/leaflet/spec/suites/geometry/BoundsSpec.js +0 -87
- data/lib/leaflet/spec/suites/geometry/LineUtilSpec.js +0 -75
- data/lib/leaflet/spec/suites/geometry/PointSpec.js +0 -104
- data/lib/leaflet/spec/suites/geometry/PolyUtilSpec.js +0 -27
- data/lib/leaflet/spec/suites/geometry/TransformationSpec.js +0 -31
- data/lib/leaflet/spec/suites/layer/FeatureGroupSpec.js +0 -86
- data/lib/leaflet/spec/suites/layer/GeoJSONSpec.js +0 -282
- data/lib/leaflet/spec/suites/layer/LayerGroupSpec.js +0 -58
- data/lib/leaflet/spec/suites/layer/PopupSpec.js +0 -119
- data/lib/leaflet/spec/suites/layer/TileLayerSpec.js +0 -88
- data/lib/leaflet/spec/suites/layer/marker/MarkerSpec.js +0 -94
- data/lib/leaflet/spec/suites/layer/vector/CircleMarkerSpec.js +0 -53
- data/lib/leaflet/spec/suites/layer/vector/CircleSpec.js +0 -17
- data/lib/leaflet/spec/suites/layer/vector/PolygonSpec.js +0 -91
- data/lib/leaflet/spec/suites/layer/vector/PolylineGeometrySpec.js +0 -35
- data/lib/leaflet/spec/suites/layer/vector/PolylineSpec.js +0 -55
- data/lib/leaflet/spec/suites/map/MapSpec.js +0 -536
- data/lib/leaflet/spec/suites/map/handler/Map.DragSpec.js +0 -38
- data/vendor/assets/images/layers-2x.png +0 -0
- data/vendor/assets/images/layers.png +0 -0
- data/vendor/assets/images/marker-icon-2x.png +0 -0
- data/vendor/assets/images/marker-icon.png +0 -0
- data/vendor/assets/images/marker-shadow.png +0 -0
- data/vendor/assets/images/spritesheet-2x.png +0 -0
- data/vendor/assets/images/spritesheet.png +0 -0
- data/vendor/assets/javascripts/leaflet.draw.js +0 -37
- data/vendor/assets/javascripts/leaflet.js +0 -147
- data/vendor/assets/javascripts/leaflet.label.js +0 -11
- data/vendor/assets/stylesheets/leaflet.css.erb +0 -478
- data/vendor/assets/stylesheets/leaflet.draw.ie.css +0 -49
- data/vendor/assets/stylesheets/leaflet.label.css +0 -52
File without changes
|
File without changes
|
@@ -360,7 +360,7 @@ L.TileLayer = L.Class.extend({
|
|
360
360
|
}
|
361
361
|
|
362
362
|
if (options.bounds) {
|
363
|
-
var tileSize =
|
363
|
+
var tileSize = this._getTileSize(),
|
364
364
|
nwPoint = tilePoint.multiplyBy(tileSize),
|
365
365
|
sePoint = nwPoint.add([tileSize, tileSize]),
|
366
366
|
nw = this._map.unproject(nwPoint),
|
@@ -425,11 +425,9 @@ L.TileLayer = L.Class.extend({
|
|
425
425
|
/*
|
426
426
|
Chrome 20 layouts much faster with top/left (verify with timeline, frames)
|
427
427
|
Android 4 browser has display issues with top/left and requires transform instead
|
428
|
-
Android 2 browser requires top/left or tiles disappear on load or first drag
|
429
|
-
(reappear after zoom) https://github.com/CloudMade/Leaflet/issues/866
|
430
428
|
(other browsers don't currently care) - see debug/hacks/jitter.html for an example
|
431
429
|
*/
|
432
|
-
L.DomUtil.setPosition(tile, tilePos, L.Browser.chrome
|
430
|
+
L.DomUtil.setPosition(tile, tilePos, L.Browser.chrome);
|
433
431
|
|
434
432
|
this._tiles[tilePoint.x + ':' + tilePoint.y] = tile;
|
435
433
|
|
@@ -475,7 +473,7 @@ L.TileLayer = L.Class.extend({
|
|
475
473
|
_getWrapTileNum: function () {
|
476
474
|
var crs = this._map.options.crs,
|
477
475
|
size = crs.getSize(this._map.getZoom());
|
478
|
-
return size.divideBy(this.
|
476
|
+
return size.divideBy(this._getTileSize())._floor();
|
479
477
|
},
|
480
478
|
|
481
479
|
_adjustTilePoint: function (tilePoint) {
|
File without changes
|
File without changes
|
File without changes
|
@@ -135,7 +135,7 @@ L.Path = L.Path.extend({
|
|
135
135
|
},
|
136
136
|
|
137
137
|
_fireMouseEvent: function (e) {
|
138
|
-
if (!this.hasEventListeners(e.type)) { return; }
|
138
|
+
if (!this._map || !this.hasEventListeners(e.type)) { return; }
|
139
139
|
|
140
140
|
var map = this._map,
|
141
141
|
containerPoint = map.mouseEventToContainerPoint(e),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -42,7 +42,8 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
|
|
42
42
|
}
|
43
43
|
|
44
44
|
this._requestUpdate();
|
45
|
-
|
45
|
+
|
46
|
+
this.fire('remove');
|
46
47
|
this._map = null;
|
47
48
|
},
|
48
49
|
|
@@ -72,6 +73,13 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
|
|
72
73
|
if (options.fill) {
|
73
74
|
this._ctx.fillStyle = options.fillColor || options.color;
|
74
75
|
}
|
76
|
+
|
77
|
+
if (options.lineCap) {
|
78
|
+
this._ctx.lineCap = options.lineCap;
|
79
|
+
}
|
80
|
+
if (options.lineJoin) {
|
81
|
+
this._ctx.lineJoin = options.lineJoin;
|
82
|
+
}
|
75
83
|
},
|
76
84
|
|
77
85
|
_drawPath: function () {
|
@@ -109,7 +117,7 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
|
|
109
117
|
|
110
118
|
if (options.fill) {
|
111
119
|
ctx.globalAlpha = options.fillOpacity;
|
112
|
-
ctx.fill();
|
120
|
+
ctx.fill(options.fillRule || 'evenodd');
|
113
121
|
}
|
114
122
|
|
115
123
|
if (options.stroke) {
|
@@ -124,15 +132,14 @@ L.Path = (L.Path.SVG && !window.L_PREFER_CANVAS) || !L.Browser.canvas ? L.Path :
|
|
124
132
|
|
125
133
|
_initEvents: function () {
|
126
134
|
if (this.options.clickable) {
|
127
|
-
// TODO dblclick
|
128
135
|
this._map.on('mousemove', this._onMouseMove, this);
|
129
|
-
this._map.on('click', this.
|
136
|
+
this._map.on('click dblclick contextmenu', this._fireMouseEvent, this);
|
130
137
|
}
|
131
138
|
},
|
132
139
|
|
133
|
-
|
140
|
+
_fireMouseEvent: function (e) {
|
134
141
|
if (this._containsPoint(e.layerPoint)) {
|
135
|
-
this.fire(
|
142
|
+
this.fire(e.type, e);
|
136
143
|
}
|
137
144
|
},
|
138
145
|
|
File without changes
|
File without changes
|
@@ -96,15 +96,16 @@ L.Map = L.Class.extend({
|
|
96
96
|
var paddingTL = L.point(options.paddingTopLeft || options.padding || [0, 0]),
|
97
97
|
paddingBR = L.point(options.paddingBottomRight || options.padding || [0, 0]),
|
98
98
|
|
99
|
-
zoom = this.getBoundsZoom(bounds, false, paddingTL.add(paddingBR))
|
100
|
-
|
99
|
+
zoom = this.getBoundsZoom(bounds, false, paddingTL.add(paddingBR));
|
100
|
+
|
101
|
+
zoom = (options.maxZoom) ? Math.min(options.maxZoom, zoom) : zoom;
|
102
|
+
|
103
|
+
var paddingOffset = paddingBR.subtract(paddingTL).divideBy(2),
|
101
104
|
|
102
105
|
swPoint = this.project(bounds.getSouthWest(), zoom),
|
103
106
|
nePoint = this.project(bounds.getNorthEast(), zoom),
|
104
107
|
center = this.unproject(swPoint.add(nePoint).divideBy(2).add(paddingOffset), zoom);
|
105
108
|
|
106
|
-
zoom = options && options.maxZoom ? Math.min(options.maxZoom, zoom) : zoom;
|
107
|
-
|
108
109
|
return this.setView(center, zoom, options);
|
109
110
|
},
|
110
111
|
|
@@ -224,6 +225,8 @@ L.Map = L.Class.extend({
|
|
224
225
|
},
|
225
226
|
|
226
227
|
invalidateSize: function (options) {
|
228
|
+
if (!this._loaded) { return this; }
|
229
|
+
|
227
230
|
options = L.extend({
|
228
231
|
animate: false,
|
229
232
|
pan: true
|
@@ -233,8 +236,6 @@ L.Map = L.Class.extend({
|
|
233
236
|
this._sizeChanged = true;
|
234
237
|
this._initialCenter = null;
|
235
238
|
|
236
|
-
if (!this._loaded) { return this; }
|
237
|
-
|
238
239
|
var newSize = this.getSize(),
|
239
240
|
oldCenter = oldSize.divideBy(2).round(),
|
240
241
|
newCenter = newSize.divideBy(2).round(),
|
@@ -568,13 +569,13 @@ L.Map = L.Class.extend({
|
|
568
569
|
var loading = !this._loaded;
|
569
570
|
this._loaded = true;
|
570
571
|
|
572
|
+
this.fire('viewreset', {hard: !preserveMapOffset});
|
573
|
+
|
571
574
|
if (loading) {
|
572
575
|
this.fire('load');
|
573
576
|
this.eachLayer(this._layerAdd, this);
|
574
577
|
}
|
575
578
|
|
576
|
-
this.fire('viewreset', {hard: !preserveMapOffset});
|
577
|
-
|
578
579
|
this.fire('move');
|
579
580
|
|
580
581
|
if (zoomChanged || afterZoomAnim) {
|
File without changes
|
@@ -24,8 +24,8 @@ if (L.DomUtil.TRANSITION) {
|
|
24
24
|
|
25
25
|
L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
26
26
|
|
27
|
-
_catchTransitionEnd: function () {
|
28
|
-
if (this._animatingZoom) {
|
27
|
+
_catchTransitionEnd: function (e) {
|
28
|
+
if (this._animatingZoom && e.propertyName.indexOf('transform') >= 0) {
|
29
29
|
this._onZoomTransitionEnd();
|
30
30
|
}
|
31
31
|
},
|
@@ -61,9 +61,11 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
|
61
61
|
return true;
|
62
62
|
},
|
63
63
|
|
64
|
-
_animateZoom: function (center, zoom, origin, scale, delta, backwards) {
|
64
|
+
_animateZoom: function (center, zoom, origin, scale, delta, backwards, forTouchZoom) {
|
65
65
|
|
66
|
-
|
66
|
+
if (!forTouchZoom) {
|
67
|
+
this._animatingZoom = true;
|
68
|
+
}
|
67
69
|
|
68
70
|
// put transform transition on all layers with leaflet-zoom-animated class
|
69
71
|
L.DomUtil.addClass(this._mapPane, 'leaflet-zoom-anim');
|
@@ -77,26 +79,33 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
|
77
79
|
L.Draggable._disabled = true;
|
78
80
|
}
|
79
81
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
82
|
+
L.Util.requestAnimFrame(function () {
|
83
|
+
this.fire('zoomanim', {
|
84
|
+
center: center,
|
85
|
+
zoom: zoom,
|
86
|
+
origin: origin,
|
87
|
+
scale: scale,
|
88
|
+
delta: delta,
|
89
|
+
backwards: backwards
|
90
|
+
});
|
91
|
+
// horrible hack to work around a Chrome bug https://github.com/Leaflet/Leaflet/issues/3689
|
92
|
+
setTimeout(L.bind(this._onZoomTransitionEnd, this), 250);
|
93
|
+
}, this);
|
88
94
|
},
|
89
95
|
|
90
96
|
_onZoomTransitionEnd: function () {
|
97
|
+
if (!this._animatingZoom) { return; }
|
91
98
|
|
92
99
|
this._animatingZoom = false;
|
93
100
|
|
94
101
|
L.DomUtil.removeClass(this._mapPane, 'leaflet-zoom-anim');
|
95
102
|
|
96
|
-
|
103
|
+
L.Util.requestAnimFrame(function () {
|
104
|
+
this._resetView(this._animateToCenter, this._animateToZoom, true, true);
|
97
105
|
|
98
|
-
|
99
|
-
|
100
|
-
|
106
|
+
if (L.Draggable) {
|
107
|
+
L.Draggable._disabled = false;
|
108
|
+
}
|
109
|
+
}, this);
|
101
110
|
}
|
102
111
|
});
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -85,7 +85,7 @@ L.Map.TouchZoom = L.Handler.extend({
|
|
85
85
|
center = map.layerPointToLatLng(origin),
|
86
86
|
zoom = map.getScaleZoom(this._scale);
|
87
87
|
|
88
|
-
map._animateZoom(center, zoom, this._startCenter, this._scale, this._delta);
|
88
|
+
map._animateZoom(center, zoom, this._startCenter, this._scale, this._delta, false, true);
|
89
89
|
},
|
90
90
|
|
91
91
|
_onTouchEnd: function () {
|
File without changes
|
@@ -1,3 +1,3 @@
|
|
1
|
-
//= require 'leaflet.js'
|
2
|
-
//= require 'leaflet.draw.js'
|
1
|
+
//= require 'leaflet.js'
|
2
|
+
//= require 'leaflet.draw.js'
|
3
3
|
//= require 'leaflet.label.js'
|
@@ -278,12 +278,12 @@
|
|
278
278
|
border-radius: 5px;
|
279
279
|
}
|
280
280
|
.leaflet-control-layers-toggle {
|
281
|
-
background-image: url(images/layers.png);
|
281
|
+
background-image: url(<%= asset_path 'Leaflet/dist/images/layers.png' %>);
|
282
282
|
width: 36px;
|
283
283
|
height: 36px;
|
284
284
|
}
|
285
285
|
.leaflet-retina .leaflet-control-layers-toggle {
|
286
|
-
background-image: url(images/layers-2x.png);
|
286
|
+
background-image: url(<%= asset_path 'Leaflet/dist/images/layers-2x.png' %>);
|
287
287
|
background-size: 26px 26px;
|
288
288
|
}
|
289
289
|
.leaflet-touch .leaflet-control-layers-toggle {
|
@@ -23,12 +23,12 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
.leaflet-draw-toolbar a {
|
26
|
-
background-image: url(<%= asset_path 'spritesheet.png' %>);
|
26
|
+
background-image: url(<%= asset_path 'Leaflet.draw/dist/images/spritesheet.png' %>);
|
27
27
|
background-repeat: no-repeat;
|
28
28
|
}
|
29
29
|
|
30
30
|
.leaflet-retina .leaflet-draw-toolbar a {
|
31
|
-
background-image: url(<%= asset_path 'spritesheet-2x.png' %>);
|
31
|
+
background-image: url(<%= asset_path 'Leaflet.draw/dist/images/spritesheet-2x.png' %>);
|
32
32
|
background-size: 270px 30px;
|
33
33
|
}
|
34
34
|
|
File without changes
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Core
|
2
|
+
//=require leaflet.draw/src/Leaflet.draw.js
|
3
|
+
|
4
|
+
// DrawHandlers
|
5
|
+
//=require leaflet.draw/src/draw/handler/Draw.Feature.js
|
6
|
+
//=require leaflet.draw/src/draw/handler/Draw.Polyline.js
|
7
|
+
//=require leaflet.draw/src/draw/handler/Draw.Polygon.js
|
8
|
+
//=require leaflet.draw/src/draw/handler/Draw.SimpleShape.js
|
9
|
+
//=require leaflet.draw/src/draw/handler/Draw.Rectangle.js
|
10
|
+
//=require leaflet.draw/src/draw/handler/Draw.Circle.js
|
11
|
+
//=require leaflet.draw/src/draw/handler/Draw.Marker.js
|
12
|
+
|
13
|
+
// EditHandlers
|
14
|
+
//=require leaflet.draw/src/edit/handler/Edit.Marker.js
|
15
|
+
//=require leaflet.draw/src/edit/handler/Edit.Poly.js
|
16
|
+
//=require leaflet.draw/src/edit/handler/Edit.SimpleShape.js
|
17
|
+
//=require leaflet.draw/src/edit/handler/Edit.Rectangle.js
|
18
|
+
//=require leaflet.draw/src/edit/handler/Edit.Circle.js
|
19
|
+
|
20
|
+
// Extensions
|
21
|
+
//=require leaflet.draw/src/ext/LatLngUtil.js
|
22
|
+
//=require leaflet.draw/src/ext/GeometryUtil.js
|
23
|
+
//=require leaflet.draw/src/ext/LineUtil.Intersect.js
|
24
|
+
//=require leaflet.draw/src/ext/Polyline.Intersect.js
|
25
|
+
//=require leaflet.draw/src/ext/Polygon.Intersect.js
|
26
|
+
|
27
|
+
// CommonUI
|
28
|
+
//=require leaflet.draw/src/Control.Draw.js
|
29
|
+
//=require leaflet.draw/src/Toolbar.js
|
30
|
+
//=require leaflet.draw/src/Tooltip.js
|
31
|
+
|
32
|
+
// DrawUI
|
33
|
+
//=require leaflet.draw/src/draw/DrawToolbar.js
|
34
|
+
|
35
|
+
// EditUI
|
36
|
+
//=require leaflet.draw/src/edit/EditToolbar.js
|
37
|
+
//=require leaflet.draw/src/edit/handler/EditToolbar.Edit.js
|
38
|
+
//=require leaflet.draw/src/edit/handler/EditToolbar.Delete.js
|
@@ -0,0 +1,155 @@
|
|
1
|
+
// The core of the library, including OOP, events, DOM facilities, basic units,
|
2
|
+
// projections (EPSG:3857 and EPSG:4326) and the base Map class.
|
3
|
+
//=require leaflet/src/Leaflet.js
|
4
|
+
//=require leaflet/src/core/Util.js
|
5
|
+
//=require leaflet/src/core/Class.js
|
6
|
+
//=require leaflet/src/core/Events.js
|
7
|
+
//=require leaflet/src/core/Browser.js
|
8
|
+
//=require leaflet/src/geometry/Point.js
|
9
|
+
//=require leaflet/src/geometry/Bounds.js
|
10
|
+
//=require leaflet/src/geometry/Transformation.js
|
11
|
+
//=require leaflet/src/dom/DomUtil.js
|
12
|
+
//=require leaflet/src/geo/LatLng.js
|
13
|
+
//=require leaflet/src/geo/LatLngBounds.js
|
14
|
+
//=require leaflet/src/geo/projection/Projection.js
|
15
|
+
//=require leaflet/src/geo/projection/Projection.SphericalMercator.js
|
16
|
+
//=require leaflet/src/geo/projection/Projection.LonLat.js
|
17
|
+
//=require leaflet/src/geo/crs/CRS.js
|
18
|
+
//=require leaflet/src/geo/crs/CRS.Simple.js
|
19
|
+
//=require leaflet/src/geo/crs/CRS.EPSG3857.js
|
20
|
+
//=require leaflet/src/geo/crs/CRS.EPSG4326.js
|
21
|
+
//=require leaflet/src/map/Map.js
|
22
|
+
|
23
|
+
// EPSG3395
|
24
|
+
//=require leaflet/src/geo/projection/Projection.Mercator.js
|
25
|
+
//=require leaflet/src/geo/crs/CRS.EPSG3395.js
|
26
|
+
|
27
|
+
// TileLayer
|
28
|
+
//=require leaflet/src/layer/tile/TileLayer.js
|
29
|
+
|
30
|
+
// TileLayerWMS
|
31
|
+
//=require leaflet/src/layer/tile/TileLayer.WMS.js
|
32
|
+
|
33
|
+
// TileLayerCanvas
|
34
|
+
//=require leaflet/src/layer/tile/TileLayer.Canvas.js
|
35
|
+
|
36
|
+
// ImageOverlay
|
37
|
+
//=require leaflet/src/layer/ImageOverlay.js
|
38
|
+
|
39
|
+
// Marker
|
40
|
+
//=require leaflet/src/layer/marker/Icon.js
|
41
|
+
//=require leaflet/src/layer/marker/Icon.Default.js
|
42
|
+
//=require leaflet/src/layer/marker/Marker.js
|
43
|
+
|
44
|
+
// DivIcon
|
45
|
+
//=require leaflet/src/layer/marker/DivIcon.js
|
46
|
+
|
47
|
+
// Popup
|
48
|
+
//=require leaflet/src/layer/Popup.js
|
49
|
+
//=require leaflet/src/layer/marker/Marker.Popup.js
|
50
|
+
|
51
|
+
// LayerGroup:
|
52
|
+
//=require leaflet/src/layer/LayerGroup.js
|
53
|
+
|
54
|
+
// FeatureGroup
|
55
|
+
//=require leaflet/src/layer/FeatureGroup.js
|
56
|
+
|
57
|
+
// Path
|
58
|
+
//=require leaflet/src/layer/vector/Path.js
|
59
|
+
//=require leaflet/src/layer/vector/Path.SVG.js
|
60
|
+
//=require leaflet/src/layer/vector/Path.Popup.js
|
61
|
+
|
62
|
+
// PathVML
|
63
|
+
//=require leaflet/src/layer/vector/Path.VML.js
|
64
|
+
|
65
|
+
// PathCanvas
|
66
|
+
//=require leaflet/src/layer/vector/canvas/Path.Canvas.js
|
67
|
+
|
68
|
+
// Polyline
|
69
|
+
//=require leaflet/src/geometry/LineUtil.js
|
70
|
+
//=require leaflet/src/layer/vector/Polyline.js
|
71
|
+
|
72
|
+
// Polygon
|
73
|
+
//=require leaflet/src/geometry/PolyUtil.js
|
74
|
+
//=require leaflet/src/layer/vector/Polygon.js
|
75
|
+
|
76
|
+
// MultiPoly
|
77
|
+
//=require leaflet/src/layer/vector/MultiPoly.js
|
78
|
+
|
79
|
+
// Rectangle
|
80
|
+
//=require leaflet/src/layer/vector/Rectangle.js
|
81
|
+
|
82
|
+
// Circle
|
83
|
+
//=require leaflet/src/layer/vector/Circle.js
|
84
|
+
|
85
|
+
// CircleMarker
|
86
|
+
//=require leaflet/src/layer/vector/CircleMarker.js
|
87
|
+
|
88
|
+
// VectorsCanvas
|
89
|
+
//=require leaflet/src/layer/vector/canvas/Polyline.Canvas.js
|
90
|
+
//=require leaflet/src/layer/vector/canvas/Polygon.Canvas.js
|
91
|
+
//=require leaflet/src/layer/vector/canvas/Circle.Canvas.js
|
92
|
+
//=require leaflet/src/layer/vector/canvas/CircleMarker.Canvas.js
|
93
|
+
|
94
|
+
// GeoJSON
|
95
|
+
//=require leaflet/src/layer/GeoJSON.js
|
96
|
+
|
97
|
+
// MapDrag
|
98
|
+
//=require leaflet/src/dom/DomEvent.js
|
99
|
+
//=require leaflet/src/dom/Draggable.js
|
100
|
+
//=require leaflet/src/core/Handler.js
|
101
|
+
//=require leaflet/src/map/handler/Map.Drag.js
|
102
|
+
|
103
|
+
// MouseZoom
|
104
|
+
//=require leaflet/src/dom/DomEvent.js
|
105
|
+
//=require leaflet/src/core/Handler.js
|
106
|
+
//=require leaflet/src/map/handler/Map.DoubleClickZoom.js
|
107
|
+
//=require leaflet/src/map/handler/Map.ScrollWheelZoom.js
|
108
|
+
|
109
|
+
// TouchZoom
|
110
|
+
//=require leaflet/src/dom/DomEvent.js
|
111
|
+
//=require leaflet/src/dom/DomEvent.DoubleTap.js
|
112
|
+
//=require leaflet/src/dom/DomEvent.Pointer.js
|
113
|
+
//=require leaflet/src/core/Handler.js
|
114
|
+
//=require leaflet/src/map/handler/Map.TouchZoom.js
|
115
|
+
//=require leaflet/src/map/handler/Map.Tap.js
|
116
|
+
|
117
|
+
// BoxZoom
|
118
|
+
//=require leaflet/src/map/handler/Map.BoxZoom.js
|
119
|
+
|
120
|
+
// Keyboard
|
121
|
+
//=require leaflet/src/map/handler/Map.Keyboard.js
|
122
|
+
|
123
|
+
// MarkerDrag
|
124
|
+
//=require leaflet/src/layer/marker/Marker.Drag.js
|
125
|
+
|
126
|
+
// ControlZoom
|
127
|
+
//=require leaflet/src/control/Control.js
|
128
|
+
//=require leaflet/src/control/Control.Zoom.js
|
129
|
+
|
130
|
+
// ControlAttrib
|
131
|
+
//=require leaflet/src/control/Control.js
|
132
|
+
//=require leaflet/src/control/Control.Attribution.js
|
133
|
+
|
134
|
+
// ControlScale
|
135
|
+
//=require leaflet/src/control/Control.js
|
136
|
+
//=require leaflet/src/control/Control.Scale.js
|
137
|
+
|
138
|
+
// ControlLayers
|
139
|
+
//=require leaflet/src/control/Control.js
|
140
|
+
//=require leaflet/src/control/Control.Layers.js
|
141
|
+
|
142
|
+
// AnimationPan
|
143
|
+
//=require leaflet/src/dom/DomEvent.js
|
144
|
+
//=require leaflet/src/dom/PosAnimation.js
|
145
|
+
//=require leaflet/src/map/anim/Map.PanAnimation.js
|
146
|
+
|
147
|
+
// AnimationTimer
|
148
|
+
//=require leaflet/src/dom/PosAnimation.Timer.js
|
149
|
+
|
150
|
+
// AnimationZoom
|
151
|
+
//=require leaflet/src/map/anim/Map.ZoomAnimation.js
|
152
|
+
//=require leaflet/src/layer/tile/TileLayer.Anim.js
|
153
|
+
|
154
|
+
// Geolocation
|
155
|
+
//=require leaflet/src/map/ext/Map.Geolocation.js
|