Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
prepare for v2.0.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Wasilkowski committed Jan 29, 2017
1 parent 5e7d046 commit 10cedc7
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 16 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Upcoming changes][unreleased]

## [v2.0.2]

### Changed

esriLoader defaults to loading JSAPI v4.2. Docs site uses JSAPI v4.2. [#317](/~https://github.com/Esri/angular-esri-map/issues/317)
Expand Down Expand Up @@ -299,7 +301,8 @@ Thank you to @willisd2, @ScottONeal, @thinking-aloud, and @jwasilgeo for their c
* Initial public release.
* Includes directives for map, features layers, and legend and services to facilitate loading Esri modules and enabling controllers to reference the map object.

[unreleased]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.1...HEAD
[unreleased]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.2...HEAD
[v2.0.2]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.1...v2.0.2
[v2.0.1]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.0...v2.0.1
[v2.0.0]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.0-beta.2...v2.0.0
[v2.0.0-beta.2]: /~https://github.com/Esri/angular-esri-map/compare/v2.0.0-beta.1...v2.0.0-beta.2
Expand Down
33 changes: 19 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ angular-esri-map

[![Build Status](https://travis-ci.org/Esri/angular-esri-map.svg?branch=master)](https://travis-ci.org/Esri/angular-esri-map)

A collection of directives to help you use Esri maps and services in your Angular 1.x applications.
A collection of directives to help you use Esri maps and services in your AngularJS v1.x applications.

These directives can be used as-is if your mapping needs are simple, or as reference examples of the patterns that you can use to write your own directives that use the ArcGIS API for JavaScript. [Read more...](http://esri.github.io/angular-esri-map/#/about)

Expand All @@ -22,25 +22,28 @@ These directives can be used as-is if your mapping needs are simple, or as refer

## Getting Started

Here are [examples and guides](http://esri.github.io/angular-esri-map/) showing how you can use this module to bring Esri maps into your own Angular 1.x applications.
Here are [examples and guides](http://esri.github.io/angular-esri-map/) showing how you can use this module to bring Esri maps into your own AngularJS v1.x applications.

### Quick Start

To use these directives in your own Angular 1.x application, first install the module as a dependency using any of the following methods.
To use these directives in your own AngularJS v1.x application, first install the module as a dependency using any of the following methods.

```html
<!-- load angular-esri-map from CDN -->
<script src="//unpkg.com/angular-esri-map@2"></script>
```

```bash
# OR install via bower
bower install angular-esri-map

# OR install via npm
npm install angular-esri-map
```

Alternatively, you can clone or [download](/~https://github.com/Esri/angular-esri-map/releases) this repo and copy the desired module file (`angular-esri-map.js` or `angular-esri-map.min.js`) into your application.

Once you've added the module to your application, you can use the sample code below to use the scene view directive. If you have downloaded or installed locally, point to the location of the module file in your environment (instead of CDN) and load the page in a browser.
Once you've added the module to your application, you can refer the sample code below to use the `<esri-scene-view>` directive. If you have downloaded or installed locally, point to the location of the module file in your environment (instead of CDN) and load the page in a browser.

![App](https://raw.github.com/Esri/angular-esri-map/master/angular-esri-map.png)

Expand All @@ -51,7 +54,7 @@ Once you've added the module to your application, you can use the sample code be
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">

<title>Angular Esri Quick Start</title>
<title>AngularJS Esri Quick Start</title>

<link rel="stylesheet" href="//js.arcgis.com/4.2/esri/css/main.css">
<style type="text/css">
Expand All @@ -74,7 +77,7 @@ Once you've added the module to your application, you can use the sample code be
<!-- load angular-esri-map -->
<script src="//unpkg.com/angular-esri-map@2"></script>

<script type="text/javascript">
<script>
angular.module('esri-map-example', ['esri.map'])
.controller('MapController', function(esriLoader) {
var self = this;
Expand Down Expand Up @@ -108,17 +111,19 @@ Make sure you have [Node](http://nodejs.org/) and [Gulp](/~https://github.com/gul

## Dependencies

At version 1.x, these directives and services require, at a minimum, Angular v1.3.0 and the ArcGIS API for JavaScript v3.12 (though most will work and are tested on v3.11).
At version 1.x, these directives and services require, at a minimum, AngularJS v1.3.0 and the ArcGIS API for JavaScript v3.12 (though most will work and are tested on v3.11).

For version 2.x, the ArcGIS API for JavaScript v4.0 is required. These directives and services have been tested on every minor release of each of those libraries since then.
For version 2.x, the ArcGIS API for JavaScript v4.0 is required.

See the compatibility table below for details.

angular-esri-map | Angular | ArcGIS API for JavaScript
--- | --- | ---
v1.0 | v1.3+ | [v3.12+](https://developers.arcgis.com/javascript/3/)
v1.1 | v1.3+ | [v3.15+](https://developers.arcgis.com/javascript/3/)
v2.x | v1.3+ | [v4.0+](https://developers.arcgis.com/javascript/)
angular-esri-map | AngularJS | ArcGIS API for JavaScript | Notes
--- | --- | --- | ---
v1.0.0 | v1.3+ | [v3.12+](https://developers.arcgis.com/javascript/3/) | Test coverage included for AngularJS v1.3.
v1.1.0 | v1.3+ | [v3.15+](https://developers.arcgis.com/javascript/3/) | Test coverage included for AngularJS v1.3.
v1.1.8 | v1.3+ | [v3.15+](https://developers.arcgis.com/javascript/3/) | Due to a breaking change in controllers at AngularJS v1.6, e2e test coverage has been performed with v1.3, but will only continue with v1.6. See [CHANGELOG](/~https://github.com/Esri/angular-esri-map/blob/v1.x/CHANGELOG.md#v118).
v2.x | v1.3+ | [v4.0+](https://developers.arcgis.com/javascript/) | Test coverage included for AngularJS v1.3.
v2.0.2 | v1.3+ | [v4.0+](https://developers.arcgis.com/javascript/) | Due to a breaking change in controllers at AngularJS v1.6, e2e test coverage has been performed with v1.3, but will only continue with v1.6. See [CHANGELOG](/~https://github.com/Esri/angular-esri-map/blob/master/CHANGELOG.md#v202).

You will need [Node](http://nodejs.org/) and [Gulp](/~https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md#getting-started) to do local development.

Expand All @@ -137,7 +142,7 @@ You will need [Node](http://nodejs.org/) and [Gulp](/~https://github.com/gulpjs/gu

## What about Angular 2?

While **angular-esri-map** currently focuses on providing well tested directives and patterns to help you use Esri maps with Angular v1.x, the ArcGIS API for JavaScript can also be used with [Angular 2](https://angular.io/). In addition to the [Angular 2 specific information](http://jwasilgeo.github.io/esri-jsapi-and-angular-whats-next-dev-summit-2016/#/34) discussed in the [2016 "What's New, What's Next" presentation](http://jwasilgeo.github.io/esri-jsapi-and-angular-whats-next-dev-summit-2016) provided above, there are several resources available to inspire you to try out Esri+Angular 2.
While **angular-esri-map** focuses on providing well tested directives and patterns to help you use Esri maps with AngularJS v1.x, the ArcGIS API for JavaScript can also be used with [Angular 2](https://angular.io/). In addition to the [Angular 2 specific information](http://jwasilgeo.github.io/esri-jsapi-and-angular-whats-next-dev-summit-2016/#/34) discussed in the [2016 "What's New, What's Next" presentation](http://jwasilgeo.github.io/esri-jsapi-and-angular-whats-next-dev-summit-2016) provided above, there are several resources available to inspire you to try out Esri+Angular 2.

* [Esri/esri-system-js](/~https://github.com/Esri/esri-system-js): Load ArcGIS API for JavaScript modules using SystemJS
* [jwasilgeo/angular2-esri-playground](/~https://github.com/jwasilgeo/angular2-esri-playground): Example app using the ArcGIS API for JavaScript v4 with Angular 2 loaded via esri-system-js
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": "angular-esri-map",
"version": "2.0.1",
"version": "2.0.2",
"description": "A collection of directives to help you use Esri maps and services in your Angular applications",
"main": "dist/angular-esri-map.js",
"dependencies": {
Expand Down

0 comments on commit 10cedc7

Please sign in to comment.