TypeScript HTML CSS Other
Switch branches/tags
Clone or download
Permalink
Failed to load latest commit information.
docker/demo Update docker container to reflect latest mapguide base image Sep 2, 2017
docs_dev Changelog update Apr 26, 2018
e2e #643: Capture all common template actions to adopt a parameterized a… Jul 11, 2018
mocks Fix broken unit tests by mocking out asset require() calls Jul 17, 2017
src Fix de-arrayify error when encountering an empty widget container. Ad… Jul 17, 2018
stdassets Implement share link to current view Feb 16, 2018
test-data Fix de-arrayify error when encountering an empty widget container. Ad… Jul 17, 2018
test Fix de-arrayify error when encountering an empty widget container. Ad… Jul 17, 2018
tools #332: Code changes to make the NPM module easier to work with: Aug 29, 2017
viewer Add copy link button to ShareLinkToView widget. Uses react-copy-to-cl… May 11, 2018
webpack Experimental migration to webpack 4 Mar 16, 2018
.gitignore #643: Add testcafe and initial e2e tests (just load the template and… Jul 11, 2018
.travis.yml #99: Bump up node version again Feb 19, 2017
.yarnclean Package updates Apr 26, 2018
LICENSE Initial commit Jan 22, 2016
README.md Flesh out various documentation in light of upcoming 0.11 release Feb 20, 2018
appveyor.yml Flush appveyor cache Jun 7, 2018
couscous.yml Documentation updates for upcoming release Sep 7, 2017
demo.sh Map directly to port 80 for demo container Sep 6, 2017
jest-setup-framework.js Finally take the plunge and upgrade to React 16 and to the latest enz… Oct 10, 2017
package.json Merge branch 'master' of https://github.com/jumpinjackie/mapguide-rea… Jul 17, 2018
tsconfig.base.json #643: Add testcafe and initial e2e tests (just load the template and… Jul 11, 2018
tsconfig.json #643: Add testcafe and initial e2e tests (just load the template and… Jul 11, 2018
tsconfig.npm.json #643: Add testcafe and initial e2e tests (just load the template and… Jul 11, 2018
tsconfig.npmdoc.json #643: Add testcafe and initial e2e tests (just load the template and… Jul 11, 2018
tslint.json Add empty tslint.json Jul 20, 2016
webpack.config.js Update TypeScript and React Typings. Also restore source map capabili… Jun 7, 2018
yarn.lock #643: Capture all common template actions to adopt a parameterized a… Jul 11, 2018

README.md

mapguide-react-layout

npm version Build status Build status Coverage Status Greenkeeper badge

mapguide-react-layout is a modern map viewer for MapGuide.

It is built from the ground up with modern web technologies (React, OpenLayers, TypeScript) to be the definitive map viewer for MapGuide Open Source or Autodesk Infrastructure Map Server

It aims for major compatibility with the existing Web Layout (AJAX Viewer) and Flexible Layout (Fusion) configuration documents that drive the existing AJAX and Fusion map viewers, ensuring an authoring and development experience similar to MapGuide's existing viewer offerings.

This project is not affiliated with Autodesk or OSGeo.

Requirements

  • MapGuide Open Source 3.0 or equivalent version of Autodesk Infrastructure Map Server (and newer versions)
  • A modern web browser. Practically speaking, this means any of the following:
    • Google Chrome (stable channel)
    • Mozilla Firefox (stable channel)
    • Internet Explorer 11. Older versions (intentionally) not supported.
    • Microsoft Edge
    • For mobile devices:
      • iOS: Mobile Safari
      • Android: Google Chrome or Mozilla Firefox
  • For development: node.js 6.x or newer
    • Make sure yarn is installed npm install -g yarn

Installation - From Source

  1. Clone this repository
  2. Run from the command-line: yarn install (note: If this fails for you on Windows, just run it again - Related issue)
  3. Either:
    • Copy the viewer directory to MapGuide's physical wwwroot directory
    • Map the viewer directory as a child virtual directory under the MapGuide's wwwroot in your web server of choice (IIS or Apache)
  4. Launch the viewer using a pre-defined template (see Templates below)

Installation - From release package

  1. Download the viewer.zip from the Releases section
  2. Extract the archive to MapGuide's physical wwwroot directory
  3. Launch the viewer using a pre-defined template (see Templates below)

Demo

See DEMO.md to find out how to use play-with-docker easily set up a mapguide-react-layout demo site

Templates

See TEMPLATES.md for more information ahout the templates provided with this viewer and how to launch the viewer with a given template

Known Issues

See KNOWN_ISSUES.md

Release Notes

See RELEASE_NOTES.md

Credits

mapguide-react-layout could not be possible without the following tools and libraries:

mapguide-react-layout uses icons from the Fugue icons set, by Yusuke Kamiyamane

License

mapguide-react-layout is licensed under the MIT license.