Skip to content

Commit

Permalink
bumping version to v1.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Oct 14, 2014
1 parent ddc16a3 commit 76b9cb1
Show file tree
Hide file tree
Showing 16 changed files with 72 additions and 59 deletions.
1 change: 0 additions & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"nonew": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true,
"boss": false,
"funcscope": false,
Expand Down
3 changes: 3 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ module.exports = function(grunt) {
' //define a common js module that relies on \'leaflet\'\n' +
' } else if (typeof module === \'object\' && typeof module.exports === \'object\') {\n' +
' module.exports = factory(require(\'leaflet\'));\n' +
' }\n\n' +
' if(typeof window !== \'undefined\' && window.L){\n' +
' factory(window.L);\n' +
' }\n' +
'}(function (L) {\n';

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esri-leaflet",
"version": "v0.0.1-beta.7",
"version": "v1.0.0-rc.1",
"main": "dist/esri-leaflet.js",
"ignore": [
"**/.*",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "esri-leaflet",
"version": "0.0.1-beta.7",
"version": "1.0.0-rc.1",
"description": "Leaflet plugins for consuming ArcGIS Online and ArcGIS Server services",
"main": "dist/esri-leaflet.js",
"devDependencies": {
Expand Down
26 changes: 26 additions & 0 deletions site/source/js/script.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion site/source/layouts/example.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ layout: page.hbs
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>

<!-- Load Esri Leaflet from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/1.0.0-rc.1/esri-leaflet.js"></script>

<style>
body {margin:0;padding:0;}
Expand Down
2 changes: 1 addition & 1 deletion site/source/pages/api-reference/layers/feature-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ You can create a new empty feature service witha single layer on the [ArcGIS fo
<tr>
<td><code>fields</code></td>
<td><code>Array</code></td>
<td>An array of metadata names to pull from the service. Includes all fields by default.</td>
<td>An array of metadata names to pull from the service. Includes all fields by default. You should always specifcy the name of the unique id for the service. Usually either `'FID'` or `'OBJECTID'`.</td>
</tr>
<tr>
<td><code>from</code></td>
Expand Down
59 changes: 29 additions & 30 deletions site/source/pages/download/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class: no-sidebar

All builds of Esri Leaflet are available for download on [GitHub](https://github.com/Esri/esri-leaflet/releases/).

<a href="https://github.com/Esri/esri-leaflet/releases/download/v0.0.1-beta.6/esri-leaflet-v0.0.1-beta.6.zip" class="btn">Current Release</a>
<a href="https://github.com/Esri/esri-leaflet/releases/download/v0.0.1-beta.7/esri-leaflet-v0.0.1-beta.7.zip" class="btn">Current Release</a>
<a href="https://github.com/Esri/esri-leaflet/releases/" class="btn">Past Releases</a>

# CDN
Expand All @@ -18,7 +18,7 @@ Esri Leaflet is currently hosted on Amazon Cloudfront to make it easily availabl
#### Standard Build

```xml
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet.js"></script>
```

#### Other Builds
Expand All @@ -27,49 +27,48 @@ Esri Leaflet is also built into several smaller components and plugins for speci

```xml
<!-- Core Build -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-core.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet-core.js"></script>

<!-- Basemaps Only Build -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-basemaps.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet-basemaps.js"></script>

<!-- Feature Layer Only Build -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet-feature-layer.js"></script>

<!-- Map Service Only Build -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-map-service.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet-map-service.js"></script>

<!-- Heatmap Feature Layer -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-heatmap-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-heatmap-feature-layer/0.0.1-beta.1/esri-leaflet-heatmap-feature-layer.js"></script>

<!-- Clustered Feature Layer -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.6/esri-leaflet-clustered-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-clustered-feature-layer/0.0.1-beta.2/esri-leaflet-clustered-feature-layer.js"></script>

<!-- Geocoding Control -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.6/esri-leaflet-geocoder.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.6/esri-leaflet-geocoder.css">
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.5/esri-leaflet-geocoder.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.5/esri-leaflet-geocoder.css">
```

# Builds

A summary of what features exist in which builds.

| Feature | Standard | Core | MapService | ImageService | FeatureLayer | Basemaps | ClusteredFeatureLayer | HeatmapFeatureLayer |
| -------------------------------------- | -------- | -------- | ---------- | ------------ | ------------ | -------- | --------------------- | ------------------- |
| Size | 46.8kb | 7.7kb | 20.1kb | 17.5kb | 23.3kb | 8.9kb | 3.4kb | 1.5kb |
| Gzipped | 7.3kb | 1.6kb | 3.5kb | 3.2kb | 4.3kb | 1.6kb | 0.6kb | 0.3kb |
| `L.esri.Request` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | | |
| `L.esri.Util` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | | | |
| `L.esri.Services.Service` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | | | |
| `L.esri.Services.MapService` | &#10003; | | &#10003; | | | | | |
| `L.esri.Services.FeatureLayer` | &#10003; | | | | &#10003; | | | |
| `L.esri.Tasks.Query` | &#10003; | | &#10003; | &#10003; | &#10003; | | | |
| `L.esri.Tasks.Find` | &#10003; | | &#10003; | | | | | |
| `L.esri.Tasks.IdentifyFeatures` | &#10003; | | &#10003; | | | | | |
| `L.esri.Tasks.IdentifyImage` | &#10003; | | | &#10003; | | | | |
| `L.esri.Layers.FeatureLayer` | &#10003; | | | | &#10003; | | | |
| `L.esri.Layers.ImageMapLayer` | &#10003; | | | &#10003; | | | | |
| `L.esri.Layers.DynamicMapLayer` | &#10003; | | &#10003; | | | | | |
| `L.esri.Layers.TiledMapLayer` | &#10003; | | &#10003; | | | | | |
| `L.esri.Layers.BasemapLayer` | &#10003; | | | | | &#10003; | | |
| `L.esri.Layers.ClusteredFeatureLayer` | | | | | | | &#10003; | |
| `L.esri.Layers.HeatMapFeatureLayer` | | | | | | | | |
| Feature | Standard | Core | MapService | ImageService | FeatureLayer | Basemaps |
| -------------------------------------- | -------- | -------- | ---------- | ------------ | ------------ | -------- |
| Size | 47.6kb | 9.8kb | 21.7kb | 19.1kb | 25.7kb | 10.3kb |
| Gzipped | 11.8kb | 3.5kb | 6.1kb | 5.7kb | 7.7kb | 3.1kb |
| `L.esri.Request` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; |
| `L.esri.Util` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | |
| `L.esri.Services.Service` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | |
| `L.esri.Services.MapService` | &#10003; | | &#10003; | | | |
| `L.esri.Services.FeatureLayer` | &#10003; | | | | &#10003; | |
| `L.esri.Tasks.Task ` | &#10003; | &#10003; | &#10003; | &#10003; | &#10003; | |
| `L.esri.Tasks.Query` | &#10003; | | &#10003; | &#10003; | &#10003; | |
| `L.esri.Tasks.Find` | &#10003; | | &#10003; | | | |
| `L.esri.Tasks.IdentifyFeatures` | &#10003; | | &#10003; | | | |
| `L.esri.Tasks.IdentifyImage` | &#10003; | | | &#10003; | | |
| `L.esri.Layers.FeatureLayer` | &#10003; | | | | &#10003; | |
| `L.esri.Layers.ImageMapLayer` | &#10003; | | | &#10003; | | |
| `L.esri.Layers.DynamicMapLayer` | &#10003; | | &#10003; | | | |
| `L.esri.Layers.TiledMapLayer` | &#10003; | | &#10003; | | | |
| `L.esri.Layers.BasemapLayer` | &#10003; | | | | | &#10003; |
2 changes: 1 addition & 1 deletion site/source/pages/examples/custering-feature-layers.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ layout: example.hbs
<script src="https://cdn.rawgit.com/Leaflet/Leaflet.markercluster/v0.4.0/dist/leaflet.markercluster.js"></script>

<!-- Load Clustered Feature Layer from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-clustered-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-clustered-feature-layer/0.0.1-beta.2/esri-leaflet-clustered-feature-layer.js"></script>

<div id="map"></div>

Expand Down
2 changes: 1 addition & 1 deletion site/source/pages/examples/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ layout: example.hbs

<script>
var map = L.map('map').setView([37.75, -122.23], 10);
console.log(L, L.esri);
L.esri.basemapLayer('Topographic').addTo(map);
</script>
2 changes: 1 addition & 1 deletion site/source/pages/examples/styling-clusters.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ layout: example.hbs
<script src="https://cdn.rawgit.com/Leaflet/Leaflet.markercluster/v0.4.0/dist/leaflet.markercluster.js"></script>

<!-- Load Clustered Feature Layer from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-clustered-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-clustered-feature-layer/0.0.1-beta.2/esri-leaflet-clustered-feature-layer.js"></script>

<style>
.cluster {
Expand Down
2 changes: 1 addition & 1 deletion site/source/pages/examples/styling-heatmaps.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ layout: example.hbs
<script src="https://rawgit.com/Leaflet/Leaflet.heat/gh-pages/dist/leaflet-heat.js"></script>

<!-- Load Heatmap Feature Layer from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-heatmap-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-heatmap-feature-layer/0.0.1-beta.1/esri-leaflet-heatmap-feature-layer.js"></script>

<div id="map"></div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ layout: example.hbs
<script src="https://rawgit.com/Leaflet/Leaflet.heat/gh-pages/dist/leaflet-heat.js"></script>

<!-- Load Heatmap Feature Layer from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-heatmap-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-heatmap-feature-layer/0.0.1-beta.1/esri-leaflet-heatmap-feature-layer.js"></script>

<div id="map"></div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ layout: example.hbs
<script src="https://rawgit.com/Leaflet/Leaflet.heat/gh-pages/dist/leaflet-heat.js"></script>

<!-- Load Heatmap Feature Layer from CDN -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.5/esri-leaflet-heatmap-feature-layer.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-heatmap-feature-layer/0.0.1-beta.1/esri-leaflet-heatmap-feature-layer.js"></script>

<style>
#time-ranges {
Expand Down
18 changes: 2 additions & 16 deletions site/source/partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,12 @@
<!-- stylesheet -->
<link rel="stylesheet" href="{{assets}}css/style.css">

<!-- cluster -->
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/Leaflet.markercluster/0.4.0/MarkerCluster.css">
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/Leaflet.markercluster/0.4.0/MarkerCluster.Default.css">

<!-- leaflet -->
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" />
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet-src.js"></script>

<!-- leaflet plugins -->
<script src="http://cdn-geoweb.s3.amazonaws.com/Leaflet.heat/0.1.1/leaflet-heat.js"></script>
<script src="http://cdn-geoweb.s3.amazonaws.com/Leaflet.markercluster/0.4.0/leaflet.markercluster-src.js"></script>
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script>

<!-- esri leaflet -->
<script src="{{assets}}js/esri-leaflet-src.js"></script>
<script src="{{assets}}js/heatmap-feature-layer-src.js"></script>
<script src="{{assets}}js/clustered-feature-layer-src.js"></script>

<!-- esri leaflet geocoder -->
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.3/esri-leaflet-geocoder.js"></script>
<link rel="stylesheet" type="text/css" href="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet-geocoder/0.0.1-beta.3/esri-leaflet-geocoder.css">
<script src="http://cdn-geoweb.s3.amazonaws.com/esri-leaflet/0.0.1-beta.7/esri-leaflet.js"></script>

<!-- Google Analytics -->
<script>
Expand Down
4 changes: 2 additions & 2 deletions src/EsriLeaflet.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var EsriLeaflet = {
VERSION: '0.0.1-beta.6',
VERSION: '0.0.1-beta.7',
Layers: {},
Services: {},
Controls: {},
Expand All @@ -11,6 +11,6 @@ var EsriLeaflet = {
}
};

if(window.L) {
if(typeof window !== 'undefined' && window.L){
window.L.esri = EsriLeaflet;
}

0 comments on commit 76b9cb1

Please sign in to comment.