This is a reearth plugin project, structure refrenced https://github.com/eukarya-inc/reearth-plateauview.
Main content is on branch starter
.
Every plugin has its on branch base on starter
.
- Clone the
starter
branch. - Make a new branch base on
starter
. - Run
yarn
. - Run
yarn createwidget ${newWidgetId}
. - Develop Web:
- Run
yarn start:${newWidgetId}
- Working with
web/components/pages/${newWidgetId}/*
.
- Run
- Develop Plugin:
- Working with
src/widgets/${newWidgetId}.ts
.
- Working with
- Package:
- Run
yarn package
.
- Run
- Test:
- Install and test your plugin with packaged .zip file.
https://github.com/airslice/reearth-plugin-tag-cloud
https://github.com/airslice/reearth-plugin-tag-filter
https://github.com/airslice/reearth-plugin-distance-measurement
https://github.com/airslice/reearth-plugin-layer-exporter
https://github.com/airslice/reearth-plugin-pedestrian
- Sometimes on published (and preview) page marker renders without an update.
- Build with cdn import is disabled now.
- Multiple instance of tag cloud / tag filter may not working well with each other.
- Mobile UI is not supported for now.