-
Notifications
You must be signed in to change notification settings - Fork 11
Description
The mapguide-react-layout viewer is a bit of a heavyweight beast, needing an appdef, redux store, and a bunch of bootstrapping boilerplate to enable a whole bunch of map features and functionality.
But this is by design as it is afterall a modern drop-in replacement for our AJAX and Fusion viewers that are "batteries included" affairs and are both behaviorally driven by configuration documents.
But what if we have the need for a simple react component to just display a basic map viewer that shows a vector layer on a OSM/XYZ backdrop without needing all of this baggage? Our current viewer would be overkill for this purpose.
But at the same time, our library shouldn't turn away such potential usage scenarios. We are using OpenLayers under the hood after all, so it stands to reason that we should be able offer an alternative lightweight map viewer component that just wraps OpenLayers, doesn't require redux, doesn't need to be driven by an appdef document, etc. Just a no-frills, low to the ground series of React components that wraps key OpenLayers clases under the hood.