🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

ember-data-arcgis-opendata

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-data-arcgis-opendata

Ember Data model and adapters for the ArcGIS OpenData API

latest
npmnpm
Version
0.1.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Ember-Data ArcGIS OpenData

Ember Data model and adapters for the ArcGIS OpenData API

Notes

This is beta software. The intention of this add-on is to enable an application to work with the ArcGIS Open Data api. It is being built incrementally, and does not currently encompass the entire API.

Usage

Create a project using ember-cli. If you have an existing ember-cli project, skip this step.

$ ember new my-new-app

Add Torii, the ArcGIS torii provider and this add-on to the project

$ ember install torii
$ ember install torii-provider-arcgis
$ ember install ember-data-arcgis-opendata

Now edit /config/environment.js to add your Torii provider configuration.

module.exports = function(environment) {
  var ENV = {

   // ... other ENV config stuff here

   torii:{
      sessionServiceName: 'session',
      providers: {
        'arcgis-oauth-bearer': {
          apiKey: 'APP CLIENT ID GOES HERE',
          portalUrl: 'https://someportal.com' //optional - defaults to https://www.arcgis.com
        }
      }
    }
  };

  return ENV;
};

The application will now have access to the following models:

  • Page

The model will automatically be available to the Ember Data store in the consuming application. Please see the Ember Guides for details on how to find records or other operations.

Keywords

ember-addon

FAQs

Package last updated on 04 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts