-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Any chance you can provide a user drawn rectangle to GeoJsonCatalogItem example @na9da? I was hoping to do so but was presented with an error when attempting to init GeoJsonCatalogItem after importing from import GeoJsonCatalogItem from "terriajs/lib/Models/Catalog/CatalogItems/GeoJsonCatalogItem".
ERROR in ./packages/terriajs-plugin-markup/node_modules/terriajs/lib/Models/Catalog/CatalogItems/GeoJsonCatalogItem.ts 21:2
Module parse failed: Unexpected token (21:2)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| class GeoJsonCatalogItem
| extends GeoJsonMixin(CreateModel(GeoJsonCatalogItemTraits))
> implements HasLocalData {
| static readonly type = "geojson";
| get type() {
@ ./packages/terriajs-plugin-markup/dist/index.js 1:68-162 1:890-891
@ ./plugins.ts
@ ./index.js
@ ./entry.js
Thanks in advance for the support!
Metadata
Metadata
Assignees
Labels
No labels