Skip to content

1.2.0

Compare
Choose a tag to compare
@tmcgee tmcgee released this 19 Sep 18:18
· 699 commits to master since this release

Fixes

  1. Geocoder widget:
    • Restrict address search to current extents
    • Geocoder options not being passed correctly in config
  2. StreetView widget:
    • Resize panorama when side pane is resized
    • Fixed proj4CustomURL typo
    • Fixed missing loading image
  3. 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
  4. 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

  1. New Reverse Geocoding capability:
    • Right click map menu for Reverse Geocoding
  2. 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
  3. New Geocoder widget:
    • Replaced ESRI Geocoder widget with CMV-version so it can be collapsible and mobile-friendly

Enhancements

  1. Use the compact build of ESRI JavaScript API for quicker load of api
  2. 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
  3. Move map right click menu to controller. This adds ability to include menu options from multiple widgets
  4. Directions widget:
    • Use current location for directions
    • Moved menu for directions to new right click menu
  5. 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's fields 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
  6. StreetView widget:
    • Right click map menu for StreetView
  7. Added support for the png32 image format for dynamic operational layers.
  8. 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)