Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Aug 20, 2014
1 parent 33f1d94 commit 03828c4
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 23 deletions.
25 changes: 22 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ module.exports = function(grunt) {
'src/Services/FeatureLayer.js',
'src/Services/MapService.js',
'src/Services/ImageService.js',
'src/Tasks/**/*.js',
'src/Tasks/Identify.js',
'src/Tasks/IdentifyImage.js',
'src/Tasks/IdentifyFeatures.js',
'src/Layers/BasemapLayer.js',
'src/Layers/RasterLayer.js',
'src/Layers/DynamicMapLayer.js',
Expand Down Expand Up @@ -122,17 +124,31 @@ module.exports = function(grunt) {
'src/Request.js',
'src/Services/Service.js',
'src/Services/MapService.js',
'src/Services/ImageService.js',
'src/Tasks/Identify.js',
'src/Tasks/IdentifyFeatures.js',
'src/Tasks/Query.js',
'src/Tasks/Find.js',
'src/Layers/RasterLayer.js',
'src/Layers/DynamicMapLayer.js',
'src/Layers/ImageMapLayer.js',
'src/Layers/TiledMapLayer.js'
],
dest: 'dist/builds/map-service/esri-leaflet-map-service-src.js'
},
imageservice: {
src: [
'src/EsriLeaflet.js',
'src/Util.js',
'src/Request.js',
'src/Services/Service.js',
'src/Services/ImageService.js',
'src/Tasks/Query.js',
'src/Tasks/Identify.js',
'src/Tasks/Identify/IdentifyImage.js',
'src/Layers/RasterLayer.js',
'src/Layers/ImageMapLayer.js'
],
dest: 'dist/builds/image-service/esri-leaflet-image-service-src.js'
},
featureservice: {
src: [
'src/EsriLeaflet.js',
Expand Down Expand Up @@ -186,6 +202,9 @@ module.exports = function(grunt) {
'dist/builds/map-service/esri-leaflet-map-service.js': [
'dist/builds/map-service/esri-leaflet-map-service-src.js'
],
'dist/builds/image-service/esri-leaflet-image-service.js': [
'dist/builds/image-service/esri-leaflet-image-service-src.js'
],
'dist/builds/feature-layer/esri-leaflet-feature-layer.js': [
'dist/builds/feature-layer/esri-leaflet-feature-layer-src.js'
]
Expand Down
39 changes: 20 additions & 19 deletions site/source/pages/download/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,23 @@ Esri Leaflet is also built into several smaller components and plugins for speci

A summary of what features exist in which builds.

| Feature | Standard | Core | MapService | FeatureLayer | Basemaps | ClusteredFeatureLayer | HeatmapFeatureLayer |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Size | 39.9kb | 7.7kb | 20.17kb | 23kb | 8.3kb | 3.2kb | 1.5kb |
| Gzipped | 6.56kb | 1.6kb | 3.45kb | 4.3kb | 1.5kb | 0.6kb | 0.3kb |
| `L.esri.Request` | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| `L.esri.Util` | ✓ | ✓ | ✓ | ✓ | | | |
| `L.esri.Services.Service` | ✓ | ✓ | ✓ | ✓ | | | |
| `L.esri.Services.MapService` | ✓ | | ✓ | | | | |
| `L.esri.Services.FeatureLayer` | ✓ | | | ✓ | | | |
| `L.esri.Tasks.Query` | ✓ | | | ✓ | | | |
| `L.esri.Tasks.Identify` | ✓ | | ✓ | | | | |
| `L.esri.Tasks.Find` | ✓ | | ✓ | | | | |
| `L.esri.Layers.FeatureLayer` | ✓ | | | ✓ | | | |
| `L.esri.Layers.ImageMapLayer` | ✓ | | ✓ | | | | |
| `L.esri.Layers.DynamicMapLayer` | ✓ | | ✓ | | | | |
| `L.esri.Layers.TiledMapLayer` | ✓ | | ✓ | | | | |
| `L.esri.Layers.BasemapLayer` | ✓ | | | | ✓ | | |
| `L.esri.Layers.ClusteredFeatureLayer` | | | | | | ✓ | |
| `L.esri.Layers.HeatMapFeatureLayer` | | | | | | | ✓ |
| Feature | Standard | Core | MapService | ImageService | FeatureLayer | Basemaps | ClusteredFeatureLayer | HeatmapFeatureLayer |
| -------------------------------------- | -------- | -------- | ---------- | ------------ | ------------ | -------- | --------------------- | ------------------- |
| Size | 41.8kb | 7.7kb | 20.1kb | 17.5kb | 23.3kb | 8.9kb | 3.4kb | 1.5kb |
| Gzipped | 6.9kb | 1.6kb | 3.5kb | 3.2kb | 4.3kb | 1.6kb | 0.6kb | 0.3kb |
| `L.esri.Request` | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | |
| `L.esri.Util` | ✓ | ✓ | ✓ | ✓ | ✓ | | | |
| `L.esri.Services.Service` | ✓ | ✓ | ✓ | ✓ | ✓ | | | |
| `L.esri.Services.MapService` | ✓ | | ✓ | | | | | |
| `L.esri.Services.FeatureLayer` | ✓ | | | | ✓ | | | |
| `L.esri.Tasks.Query` | ✓ | | ✓ | ✓ | ✓ | | | |
| `L.esri.Tasks.Find` | ✓ | | ✓ | | | | | |
| `L.esri.Tasks.IdentifyFeatures` | ✓ | | ✓ | | | | | |
| `L.esri.Tasks.IdentifyImage` | ✓ | | | ✓ | | | | |
| `L.esri.Layers.FeatureLayer` | ✓ | | | | ✓ | | | |
| `L.esri.Layers.ImageMapLayer` | ✓ | | | ✓ | | | | |
| `L.esri.Layers.DynamicMapLayer` | ✓ | | ✓ | | | | | |
| `L.esri.Layers.TiledMapLayer` | ✓ | | ✓ | | | | | |
| `L.esri.Layers.BasemapLayer` | ✓ | | | | | ✓ | | |
| `L.esri.Layers.ClusteredFeatureLayer` | | | | | | | ✓ | |
| `L.esri.Layers.HeatMapFeatureLayer` | | | | | | | | |
2 changes: 1 addition & 1 deletion src/EsriLeaflet.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
L.esri = {
VERSION: '0.0.1-beta.5',
VERSION: '0.0.1-beta.6',
Layers: {},
Services: {},
Controls: {},
Expand Down

0 comments on commit 03828c4

Please sign in to comment.