Awesome
CMV-Widgets
Widgets for CMV, the Configurable Map Viewer created by Tim McGee of MoosePoint Technology
Widgets Available in this Repo
- Attributes Tables
- Disclaimer
- Elevation Profile
- Export
- Export Graphics
- Full Screen
- Geoprocessor
- Heatmap
- IdentifyPanel
- Introduction
- Layer Labels
- Layer Toggle
- Locator Control
- Map Loading
- Mapillary
- Maptiks
- MessageBox
- Open External Map
- Print Plus
- QR Code
- Report
- Search
- Share
- Toggle StreeView Tiles
- What3Words
- Zoom to Feature
Example Configurations
Each widget in this repo has at least one configuration example in the config folder. This folder also contains additional examples for including ESRI widgets, other widgets and functionality.
Widgets
Attributes Table(s)
A highly configurable widget to display the results of one or more Query, Find or Geoprocessor Tasks.
Documentation
Demo
Disclaimer
A simple yet configurable disclaimer widget.
Documentation
Demo
Elevation Profile
An updated Elevation Profile widget based on previously contributed widgets by goriliukasbuxton and ERS-Long.
Demo
Widget
Export
Export features from the Attributes Tables widget or other widgets that have a dgrid. Features can be exported in tabular and spatial formats.
Documentation
Demo
Export Graphics
The Export Graphics widget works with the Export widget to allow the user to export graphic features from one or more Graphic or Feature layers.
Documentation
Demo
FullScreen
A simple widget containing a button to toggle the CMV map to a maximized full screen view and restore it to the original dimensions.
Documentation
Demo
Geoprocessor
An example widget demonstrating the display of results from a Geoprocessing Task in the Attributes Tables widget.
Demo
Heatmap
The Heatmap widget uses a HeatmapRenderer to render feature layer data into a raster visualization that emphasizes areas of higher density or weighted values. The blur radius, maximum value and minimum value for the renderer can be adjusted. All features from the layer can be included or use draw tools to select a subset of features.
Documentation
Demo
IdentifyPanel
A widget to replace the map's infoWindow including integration with the Export widget. You can include your own buttons as well. This widget is an updated and enhanced version of one originally created by Doug Chamberlain.
Documentation - in the works
Demo
Introduction
The Introduction Widget provides a product tour or tutorial for your application using IntroJS.
Documentation
Demo
Layer Labels
A simple widget to add labels for one or more Feature Layers.
Documentation - in the works
Widget
Layer Toggle
A simple widget to toggle the visibility of a set of layers. Only a single layer in the set can be visible at any time. All others are turned off when the target layer's visibility is set.
Documentation - in the works
Widget
Locator Control
A widget to allow the user to change the properties of the CMV Locate Button widget in real-time.
Demo
Widget
Map Loading
A widget to add a Loading
indicator in the center of the map.
Demo
Widget
Mapillary
A replacement for the CMV Google StreetView widget that display street level imagery from Mapillary using MapillaryJS.
Documentation
Demo
Maptiks
A widget to add detailed map analytics to any CMV application using Maptiks. Maptiks provides in-depth user insights by tracking how visitors click, pan and zoom on your maps.
Widget
MessageBox
Show an Alert or Confirmation modal dialog box. Intended to be called from other widgets.
Documentation
Demo
Multi-Field Geocoder
Coming Soon
Open External Map
Open maps in an external window for Google Hybrid, Google StreetView, Bing Hybrid, Bing Bird's Eye, Bing Streetside, MapQuest and OpenStreetMap. The map is centered on the coordinates based on a map click or Latitude and Longitude values provided by the user. Can be combined with the Toggle StreetView Tiles widget to show the availability of Google StreetView while clicking on the map.
Documentation
Demo
Print Plus
An updated version of the PrintPlus widget originally created by @LarryStout in early 2014. Larry's original source code can be found in here with a few of his other widgets.
Documentation
Demo
QR Code
Shows a QR code for the current map to open mobile applications on your phone/tablet.
Documentation
Demo
Report
Highly configurable widget used to create a multi-page PDF report from a single feature or multiple features.
Documentation
Demo
Search
Used in conjunction with the Attributes Tables to provide a user interface for querying feature layers, dynamic layers, tables and related records using QueryTask and FindTask.
Documentation
Demo
Share
Share your map by using Facebook, Twitter, Google+, E-Mail, Link, or embedded iFrame code.
Documentation
Demo
Toggle StreetView Tiles
Used in conjunction with the CMV StreetView widget or the Open External Map widget. Shows a StreetView tiles layer when waiting for a map click to get coordinates for the respective widgets.
Demo
What3Words
A simple widget to send a 3 word address or lat/lng to what3words and zoom the map to the resulting location. The lat/lng and 3 word address for the location are displayed from the search result.
Documentation
Zoom to Feature
A simple widget to provide a drop-down list of features to zoom to on the map. Similar to bookmarks but driven by actual data in a Map Service.