CMV Widgets

Widgets for CMV, the configurable map viewer.
Created by Tim McGee of MoosePoint Technology.



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.



Attributes Table(s)

A highly configurable widget to display the results of one or more Query, Find or Geoprocessor Tasks.

Demo

Screenshot



Disclaimer

A simple yet configurable disclaimer widget.

Demo

Screenshot

Screenshot



Elevation Profile

An updated Elevation Profile widget based on previously contributed widgets bygoriliukasbuxton and ERS-Long.

Demo



Export

Export features from the Attribute Table widget or other widgets that have a dgrid. Features can be exported in tabular and spatial formats.

Demo

Screenshot



Export Graphics

The Export Graphics widget works with the widget to allow the user to export graphic features from one or more Graphic or Feature layers.

Demo

Screenshot



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.

Demo

Screenshot



Geoprocessor

An example widget demonstrating the display of results from a Geoprocessing Task in the Attributes Tables widget.

Demo

Screenshot



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.

Demo

Screenshot



Identify Panel

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.

Demo

Screenshot



Introduction

The Introduction Widget provides a product tour or tutorial for your application using [IntroJS](https://introjs.com/).

Demo

Screenshot

Screenshot



Layer Labels

A simple widget to add labels for one or more Feature Layers.





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.





Locator Control

A widget to allow the user to change the properties of the CMV Locate Button widget in real-time.

Demo



Map Loading

A widget to add a "Loading" indicator in the center of the map.

Demo



Mapillary

A replacement for the CMV Google StreetView widget that display street level imagery from Mapillary using MapillaryJS.

Demo

Screenshot



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.





MessageBox

Show an Alert or Confirmation modal dialog box. Intended to be called from other widgets.

Demo

Screenshot



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.

Demo

Screenshot



An updated version of the PrintPlus widget originally created by Larry Stout

Demo

Screenshot



QR Code

Shows a QR code for the current map to open mobile applications on your phone/tablet.

Demo

Screenshot



Report

Highly configurable widget used to create a mult-page PDF report from a single feature or multiple features.

Demo

Screenshot

Screenshot



Used in conjunction with the Attribute Table widget to provide a user interface for querying feature layers, dynamic layers, tables and related records using QueryTask and FindTask.

Demo

Screenshot

Screenshot



Share

Share your map by using Facebook, Twitter, Google+, E-Mail, Link, or embedded iFrame code.

Demo

Screenshot



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

Screenshot



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.

Screenshot



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.

Demo

Screenshot