Coder Social home page Coder Social logo

ionic-esri-map's Introduction

ionic-esri-map

An Ionic app demonstrating how to use the Esri ArcGIS API for JavaScript.

This is a work in progress.

Guidance

  • This is intended for use with v3.16+ of the ArcGIS API for JavaScript. v4.0+ is not currently supported.

  • Use Esri/angular-esri-map to enable Esri mapping within an Ionic (AngularJS) app.

    • Esri and angular-esri-map js + css resources have been added to the initial html page. See fullscreen.html or tabbed.html.

    • An <esri-map> directive has been added to the html, either by a template for the tabbed example, or directly in fullscreen.html in the full screen example. Keep in mind that this directive can be given more functionality via a corresponding controller.

  • A Content Security Policy (CSP) has also been established in the initial html page. More info on CSP here.

  • See Esri/quickstart-map-phonegap for additional info and ideas.

Development

  • Do everything described in Step 1 here: Getting Started with Ionic
  • Create a project using ionic start IonicMap blank or use some other project name you feel is appropriate. Blank indicates a blank app.
  • Continue with Step 3 of the Ionic getting started guide. Make sure the default app runs without any errors.
  • Download the contents of this repository and then copy the contents of the www directory into your new project's www directory. Make sure all the files are copied over.
  • If all goes well with Step 3, then in your project's config.xml change <content src="index.html" /> to point to either tabbed.html or fullscreen.html. In Android, this file is under /res/xml/config.xml.

Proof

example-screen

ionic-esri-map's People

Contributors

andygup avatar npmcdn-to-unpkg-bot avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.