Coder Social home page Coder Social logo

dougrchamberlain / configurableviewerjsapidavid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmv/cmv-app

0.0 1.0 0.0 2.13 MB

A configurable viewer for the ESRI JS API

Home Page: http://davidspriggs.github.com/ConfigurableViewerJSAPI

License: MIT License

CSS 9.30% JavaScript 77.15% ASP 13.55%

configurableviewerjsapidavid's Introduction

Configurable Map Viewer (CMV)

Build Status

This JS web app can be easily configured or used as a boilerplate/starting point for basic viewers. It also demonstrates best practices for modular design and OOP via classes in JS using dojo's great declare system.

screen shot 2014-08-20 at 9 59 48 pm

Demo Site

http://cmv.github.io/cmv-app/viewer/

Installation:

  • Download the latest release here.
  • 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 and desired widgets.
  • Enjoy!

Customize:

  • Use the ConfigurableViewerJSAPI\js\config\viewer.js file to customize your own map layers, task urls and widgets.
  • Use the wiki documentation for guidance on configuring individual widgets.

Widgets Included:

  • Base Maps
  • Bookmarks
  • Directions
  • Draw
  • Editor
  • Find
  • Geocoder
  • Growler
  • Help
  • Home
  • Identify
  • Legend
  • Locate Button (Geolocation)
  • Measure
  • Overview Map
  • Print
  • Scalebar
  • StreetView
  • Table of contents
  • Find
  • Map Right click menu with various widget functions.
  • Highly configurable UI, right or left sidebars with widgets in both, top and bottom regions for other content.

User contributed widgets

Users can submit widgets to the cmv-contrib-widgets repo. These widgets are created and submitted by users. Head on over and read the details.

Proposing Features

If there is a feature you would like to request, add it to the issues list for consideration.

Change log:

See releases for change logs.

Community

We have an IRC channel: #cmv on freenode for the project. If you have questions, stop on by. I recommend HexChat as an IRC client or you can use freenode's webchat client.

Contributing to the project

There are many ways to contribute:

  1. Contribute code as widgets (see below).
  2. Created documentation in the wiki.
  3. Submit issues you find in the issues log.

Grunt tasks

This project uses grunt to automate tasks like minifying css and js as well as js linting and css prefixing.

To get started setup you dev machine:

  • 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.

Get the code and install dev dependencies:

  • Fork the repo into your own github account.
  • Clone your fork and in cloned directory:
  • Install the local dev 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 launch a mini dev server and lint your js as you code.
  • Run grunt from the repo with: grunt build this will create a dist folder with minified code ready for deployment.
  • There are other grunt tasks, use: grunt -h to see a list.

License

MIT

configurableviewerjsapidavid's People

Contributors

davidspriggs avatar tmcgee avatar cherylcoley avatar green3g avatar friendde avatar btfou avatar dougrchamberlain avatar sivetic avatar msereda avatar

Watchers

 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.