1.2.0
Fixes
- Geocoder widget:
- Restrict address search to current extents
- Geocoder options not being passed correctly in config
- StreetView widget:
- Resize panorama when side pane is resized
- Fixed
proj4CustomURL
typo - Fixed missing loading image
- Editor widget:
- infoTemplates for feature layers were interfering with Editor mouse clicks
- Removed infoTemplates from all feature layers when editing starts and re-add them again when editing is completed
- CSS added to correct the instance where Sidepane would disappear when using iOS and the StreeView or Find widgets were opened in the side pane.
New Features
- New Reverse Geocoding capability:
- Right click map menu for Reverse Geocoding
- New MapInfo widget:
- Simple widget for displaying coordinates of mouse location and optionally map scale and/or zoom level
- Supports grid, decimal lat/lng and DMS lat/lng. Can project grid to decimal or DMS lat/lng
- New Geocoder widget:
- Replaced ESRI Geocoder widget with CMV-version so it can be collapsible and mobile-friendly
Enhancements
- Use the compact build of ESRI JavaScript API for quicker load of api
- Improved Mobile Experience:
- viewport and other relevant meta tags added to index.html
- detect
touch
devices and use PopupMobile class for infoWindow - CSS classes for more responsive design when device has dimensions of a tablet or phone
- Move map right click menu to controller. This adds ability to include menu options from multiple widgets
- Directions widget:
- Use current location for directions
- Moved menu for directions to new right click menu
- Identify Widget:
- Right click map menu for Identify
- Optional UI for Identify widget to select single dynamic layer or all layers. Can be in a side pane with drop-down to select single layer/sublayer for identify
- InfoTemplates for Feature Layers can now be configured within the identify config:
- Support for feature layers from MapService using IdentifyTask
- Support for feature layers from FeatureService (graphics)
- Create default infoTemplate for feature layer graphics if not explicitly defined. Uses the layer's
outFields
array if provided otherwise uses the layer'sfields
array - Support for
showAttachments
in default template (feature layers) - Store the PopupTemplate for layer/sublayer once created so it doesn't need to be recreated continuously
- Optional
Identify Here
to right-click map menu - Replaced description in PopupTemplate JSON with fieldInfos array for identified layers that do not have a template defined in the config
- Add formatting for attribute table in Identify Popup to it more attractive and closer match the dbootstrap styling
- Close popup if IdentifyTask returns an error
- Layers can be excluded from identify using
identifyLayerInfos
in config - Specific Sublayers can now be specifically included from identify using
identifyLayerInfos
in config. This allows you to exclude sublayers from identify
- StreetView widget:
- Right click map menu for StreetView
- Added support for the png32 image format for dynamic operational layers.
- Side Panes:
- Added collapse buttons programmatically to handle the new multiple panes around the map.
- Side panes can be configured as collapsible or fixed position.
- Side panes can have a splitter to dynamically resize them.
Demo Site
http://davidspriggs.github.io/ConfigurableViewerJSAPI/viewer (some features do not work when hosted on github due to unavailable proxy)