A collection of directives to help you use Esri maps and services in your Angular 1.x applications.
Table of Contents
- Getting Started
- Development Instructions
- What about Angular 2?
Here are examples and guides showing how you can use this module to bring Esri maps into your own Angular 1.x applications.
To use these directives in your own Angular 1.x application, first install the module as a dependency using any of the following methods.
<!-- load angular-esri-map from CDN --> <script src="//unpkg.com/angular-esri-map@2"></script>
# OR install via bower bower install angular-esri-map # OR install via npm npm install angular-esri-map
Alternatively, you can clone or download this repo and copy the desired module file (
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.
See the documentation for examples and guides of how to use the other directives and services.
esriLoader.bootstrap() method. See the Lazy Load Patterns page for an example of how to do this.
- Fork and clone this repo
- Install the dependencies with
gulpfrom the command line. This will run the linting and build commands and then start a local web server hosting the application under the
- Modify the source files (under
src) and test pages (under
test). Test pages are served along with the docs site when you run the
gulptask and are accessible from the root (i.e.
- Make a pull request to contribute your changes
See the compatibility table below for details.
What about Angular 2?
Find a bug or want to request a new feature? Please let us know by submitting an issue. Thank you!
Anyone and everyone is welcome to contribute. Please see our guidelines for contributing.
Copyright 2014 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.