Skip to content

Releases: jumpinjackie/mapguide-react-layout

v0.14.10

15 Jan 12:37

Choose a tag to compare

Release v0.14.10 (0.14.10.4727)

Changelog

  • #1534: Replaced epsg.io with spatialreference.org for projection lookups by EPSG code
  • #1486: Update stamen tile layer URLs to point to Stadia Maps using a XYZ tile source. A Stadia Maps API key is now required for such layers. This API key is expected to be defined in a top-level StadiaMaps extension 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:
    • colorbrewer
    • dompurify
    • papaparse
    • proj4
    • qs
    • react-redux
    • react-rnd
    • tslib

v0.14.9

19 Jul 10:18

Choose a tag to compare

Release v0.14.9 (0.14.7.4540)

Changelog

  • #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 urlPropsIgnore not considered when updating URL state
  • #1468: Fix 0 display DPI when browser zoom is below 100%

v0.14.8

02 Jun 12:36

Choose a tag to compare

Release v0.14.8 (0.14.8.4500)

Changelog

  • 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_CURSORS app setting (1 to enable, 0 to 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

03 Mar 13:55

Choose a tag to compare

Release v0.14.7 (0.14.7.4266)

Changelog

  • 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 shortid dependency by replacing existing usages with a simple sequential numerical id generator

v0.14.5

29 Dec 09:25

Choose a tag to compare

Release v0.14.5 (0.14.5.4208)

Changelog

  • Update to OL 6.10.0
  • #1368: Fix Firefox instability by debouncing history API access on url state update
  • #1369: Fix e.declutterTree is null errors on vector feature hovering
  • #1370: Allow appdef vector layers to opt-out of automatic hover highlight processing

v0.14.4

12 Nov 12:19

Choose a tag to compare

Release v0.14.4 (0.14.4.4180)

Changelog

  • #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

29 Oct 14:58

Choose a tag to compare

Release v0.14.3 (0.14.2.4162)

Changelog

  • #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 template query 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

14 Oct 14:07

Choose a tag to compare

Release v0.14.2 (0.14.2.4136)

Changelog

  • OpenLayers updated to 6.9.0
  • #1343: New flag to control whether the select tool can pan via mouse drag
  • #1340: Do not try to rebuild (non-existent) MapGuide runtime map layer/group structure in stateless mode
  • #1341: Add XYZ tile debug layer

v0.14.1

07 Oct 08:24

Choose a tag to compare

Release v0.14.1 (0.14.1.4117)

Changelog

New Features

  • #1175: New powerful declarative styles for vector layers
  • External Layer Manager enhancements:
    • New options to add a file-based vector layer as:
      • #1175: A themed layer with optional labeling
      • For point-based layers:
        • #1184: A clustered layer with optional labeling
        • #1324: A heatmap layer
    • Styles of vector layers are previewable and editable via new powerful style editor components
  • #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/MAPNAME pair to operate are disabled in all toolbars and menus where the command is referenced. Examples of such commands include:
      • Buffer
      • Theme
      • Query
      • QuickPlot
      • FeatureInfo
      • Redline
      • SelectWithin
    • 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 Layers root folder
      • #1156 Selection Panel: Can now show attributes of selected client-side vector features
  • 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/MAPNAME pair to operate are disabled in all toolbars and menus where the command is referenced.
    • No CREATERUNTIMEMAP request is made to build the layer/group structure for display in the Legend component. Instead, an anonymous GETRESOURCECONTENT request 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:
    • #1298: Support for retina scaling
    • #1197: Support for attributions
  • The resource query 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.json at the same root as the viewer html files
  • #543: When zooming in or out, if an active feature highlight is shown, it will now properly refresh

Breaking changes:

  • The WmsQuery command has been removed and consolidated into the Select command/widget. Update your Application Definitions accordingly.

  • The viewer bundle is now split into 2 files:

    • vendor.js
    • viewer.js

    If you are using a custom template, you now must load vendor.js before viewer.js and also make sure to include vendor.css alongisde the viewer.css stylesheet.

  • 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

07 Oct 08:21

Choose a tag to compare

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.