8000 GitHub - cmv/cmv-app at v1.1.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ cmv-app Public template

CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit

License

Notifications You must be signed in to change notification settings

cmv/cmv-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configurable ESRI JS API Viewer

This JS web app can be easily configured or used as a boilerplate/starting point for basic viewers. It also demonstrates best practices for OO and classes in JS. demo

Installation:

  • Clone or download the repo
  • Move to your web server
  • configure the proper proxy page. Should work out of the box if using IIS.
  • Edit the config.js file to include your services.
  • Enjoy!

Customize:

  • Use the ConfigurableViewerJSAPI\js\viewer\config.js file to customize your own map layers and task url's.

Notes:

  • This is the begining of a viewer, it in no way represents a complete solution and is intended for well versed JS developers as a starting point.
  • This app demonstrates best practices of OO programing in dojo and JS, using modular design and classes.

Widgets Included:

  • Base Maps
  • Bookmarks
  • Directions
  • Draw
  • Editor
  • Find
  • Geocoder
  • Growler
  • Help Button
  • Home
  • Identify (for dynamic layers)
  • Legend
  • Locate Button (Geolocation)
  • Measure
  • Overview Map
  • Print (Advanced)
  • Scalebar
  • StreetView
  • Table of contents

Change log:

See releases for change logs.

Grunt tasks

This project uses grunt to automate tasks like minifying css and js as well as js linting and css prefixing. A minified version of the app will be created in a dist folder.

To get started:

  • Install node.
  • Install the grunt cli (command line interface) globally from the command line with : npm install -g grunt-cli this only needs to be done once per dev machine.
  • Install jshint globally from the command line with : npm install -g jshint this only needs to be done once per dev machine.
  • Install the local dependencies for the project in the repo from the command line: npm install This only needs to be done once per dev machine.
  • Run grunt from the repo with: grunt this will create a dist folder with minified code ready for deployment.
  • There are other grunt tasks such as grunt watch that will lint your js as you code.

License

MIT

About

CMV - The Configurable Map Viewer - A community supported open source mapping framework built with the Esri JavaScript API and the Dojo Toolkit

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published

Contributors 18

0