Releases: jumpinjackie/mapguide-react-layout
v0.14.10
Release v0.14.10 (0.14.10.4727)
- #1534: Replaced
epsg.iowithspatialreference.orgfor projection lookups by EPSG code - #1486: Update stamen tile layer URLs to point to Stadia Maps using a
XYZtile source. A Stadia Maps API key is now required for such layers. This API key is expected to be defined in a top-levelStadiaMapsextension property of the Flexible Layout. Sign-up for an API key at https://stadiamaps.com/- As part of this work, support is now also available for Stadia Maps
- Updated the following dependencies:
colorbrewerdompurifypapaparseproj4qsreact-reduxreact-rndtslib
v0.14.9
Release v0.14.9 (0.14.7.4540)
- #1418: Internet Explorer is no longer supported. All polyfills to support this browser have been removed.
- #1441: New viewer mount option to add extra HTML content alongside a layer or group legend item.
- #1467: Heavy component refactoring to avoid excessive updates and re-renders.
- #1465: Fix
urlPropsIgnorenot considered when updating URL state - #1468: Fix 0 display DPI when browser zoom is below 100%
v0.14.8
Release v0.14.8 (0.14.8.4500)
- OpenLayers updated to
6.15.1 - #1411: Support pre-registering custom projections from appdef
- #1463: Support reading app settings from appdef
- #1461: Support loading Map Definitions that link to a XYZ tileset
- #1447: Support disabling custom cursors through a new
DISABLE_CURSORSapp setting (1to enable,0to disable) - #1258: Modal dialog size and positioning is now persisted
- #1458: Fix potential stale legend state from dispatched update action
- #1411: Fix epsg.io lookup
- #1416: Support Coordinate Tracker with only one projection specified
- #1426: Add separate opacity control for MapGuide Base Layers
- #1412: Un-break viewer API drawing example
- #1444: Restore selection appending while holding down SHIFT key
- #1452: Fix viewer state not pushing to url
v0.14.7
Release v0.14.7 (0.14.7.4266)
- Update to OL 6.13.0
- #1385: Use DOMPurify to sanitize all cases where raw HTML content is being assembled.
- DOMPurify is now also the default HTML cleaning function for the selection panel component if no custom HTML cleaning function is provided.
- #1374: Un-break support for Web Layouts
- Remove
shortiddependency by replacing existing usages with a simple sequential numerical id generator
v0.14.5
v0.14.4
Release v0.14.4 (0.14.4.4180)
- #1363: Hover highlighting now only happens if the active map tool is
Select - #1362: Un-break static image layers in appdef
- #1361: Fix inability to load a Map Definition with an arbitrary coordinate system not based in meters.
- #1360: Fix inability to add some GeoJSON-based WFS layers
- #1358: GeoJSON appdef layers can now source their data from a browser global variable
- #1357: Added support for WFS (GeoJSON format) in appdef external layers
v0.14.3
Release v0.14.3 (0.14.2.4162)
- #1354: Support for static images as subject layers
- #1350: Fix opacity not applying to subject layers
- #1348: Basic support for MapGuide Map Definitions that use arbitrary (non-geographic) coordinate systems. Refer to Known Issues for caveats to using the viewer with such maps.
- #1349: Restore display of viewer init warnings on startup
- #1344: Template-specific CSS now embedded alongside its respective layout component. All template HTML files are now virtually identical except for the template to init with. A new PHP version of the template is included that can now also parameterize the template name via a
templatequery string parameter. - #1346: External layer instances can now carry arbitrary JSON metadata to support persistence and restoration of such layers (the viewer will not be doing this, that aspect is left to you, the consuming application to handle)
v0.14.2
v0.14.1
Release v0.14.1 (0.14.1.4117)
New Features
- #1175: New powerful declarative styles for vector layers
- External Layer Manager enhancements:
- #398: Viewer can now be used in a non-MapGuide context (no MapGuide Server required!)
- To use this viewer in a general purpose context, you must have a
<Map>element that refers to a "subject layer" instead of a Map Definition. A "subject layer" can be:- A WMS layer
- A vector layer
- In a non-MapGuide context, commands that require a
SESSION/MAPNAMEpair to operate are disabled in all toolbars and menus where the command is referenced. Examples of such commands include:BufferThemeQueryQuickPlotFeatureInfoRedlineSelectWithin
- Refer to this example appdef for an example of a general-purpose Application Definiion
- All viewer templates have been refactored to work in a non-MapGuide context
- Various components have been refactored to be useful in a non-MapGuide context
- Legend: Shows external layers in a separate top-level
External Layersroot folder - #1156 Selection Panel: Can now show attributes of selected client-side vector features
- Legend: Shows external layers in a separate top-level
- To use this viewer in a general purpose context, you must have a
- New "generic" viewer template. This is an opinionated viewer template geared for use in a general purpose context.
- #1288: New "stateless" mode for MapGuide
- In this mode, no session id is created
- Just like the general purpose context, commands that require a
SESSION/MAPNAMEpair to operate are disabled in all toolbars and menus where the command is referenced. - No
CREATERUNTIMEMAPrequest is made to build the layer/group structure for display in the Legend component. Instead, an anonymousGETRESOURCECONTENTrequest for the required Map Definition and the layer/group structure is built from that.
- #1289 New support for UTFGrid layers
- #1187: Client-side vector layers are hover-able
- #1329: Added support for the Fusion print command/widget
- XYZ tileset improvements:
- The
resourcequery string parameter can now refer to either a MapGuide WebLayout/ApplicationDefinition resource ID or a URL to an Application Definition JSON document- If this parameter is not specified, the viewer will now try to load from an Application Definition JSON document named
appdef.jsonat the same root as the viewer html files
- If this parameter is not specified, the viewer will now try to load from an Application Definition JSON document named
- #543: When zooming in or out, if an active feature highlight is shown, it will now properly refresh
Breaking changes:
-
The
WmsQuerycommand has been removed and consolidated into theSelectcommand/widget. Update your Application Definitions accordingly. -
The viewer bundle is now split into 2 files:
vendor.jsviewer.js
If you are using a custom template, you now must load
vendor.jsbeforeviewer.jsand also make sure to includevendor.cssalongisde theviewer.cssstylesheet. -
Due to the introduction of stateless mode and general-purpose usage context, your usage of the current viewer APIs can no longer assume that you will always have a session id to work with.
v0.14.0
Release v0.14.0 (0.14.0.4111)
A 0.14.1 release has been made which fixes the npm module. Full release notes have been relocated to the 0.14.1 release.