Creating a MetacityGL App
Making a react-based app with MetacityGL
Last updated
Making a react-based app with MetacityGL
Last updated
MetacityGL
is developed with , but you can use whichever react-based toolbox you want. This short tutorial will outline a few recommended ways to build a simple MetacityGL app. You can get your local setup running using.
An empty application could look like this:
The <MetacityGL>
tag takes care of graphics context, canvas, navigation, etc., and passes a reference to the context to its children components. That means you can write layer components that can do anything and make things appear in the visualization using the provided API.
For more info on how to handle your data, see s. If you wish to serve content produced by Metacity, see .