[maps,tests][xs]: add default export to OpenLayers component
This commit is contained in:
parent
188706e02d
commit
5f1d8151f5
@ -16,6 +16,16 @@ the education slice has grown noticeably over the years, indicating Frankfurt's
|
||||
The city's commitment to education is abundantly clear.
|
||||
|
||||
<Map data="https://openlayers.org/data/vector/ecoregions.json" />
|
||||
|
||||
<OpenLayers
|
||||
layers={[
|
||||
{
|
||||
url: 'https://openlayers.org/data/vector/ecoregions.json',
|
||||
name: 'Teste',
|
||||
},
|
||||
]}
|
||||
/>
|
||||
|
||||
<VegaLite
|
||||
spec={{
|
||||
$schema: 'https://vega.github.io/schema/vega-lite/v5.json',
|
||||
|
||||
6
examples/openspending/package-lock.json
generated
6
examples/openspending/package-lock.json
generated
@ -14,7 +14,7 @@
|
||||
"@heroicons/react": "^2.0.18",
|
||||
"@octokit/plugin-throttling": "^5.2.2",
|
||||
"@portaljs/ckan": "^0.0.2",
|
||||
"@portaljs/components": "file:portaljs-components-0.1.12.tgz",
|
||||
"@portaljs/components": "file:../../packages/components/portaljs-components-0.1.12.tgz",
|
||||
"@portaljs/core": "^1.0.5",
|
||||
"@portaljs/remark-callouts": "^1.0.5",
|
||||
"@portaljs/remark-embed": "^1.0.4",
|
||||
@ -2749,8 +2749,8 @@
|
||||
},
|
||||
"node_modules/@portaljs/components": {
|
||||
"version": "0.1.12",
|
||||
"resolved": "file:portaljs-components-0.1.12.tgz",
|
||||
"integrity": "sha512-lyK8IIhatAJpYFXiOOiTMvQkkj5FziLwepSD9cyN7gfiW7/VI0HhqapVaGulHk5TFJ9hD+mrTGE1EowoqpoCYQ==",
|
||||
"resolved": "file:../../packages/components/portaljs-components-0.1.12.tgz",
|
||||
"integrity": "sha512-Cr+RQ7tkbIqtBNq5D8zeZEB2dOejxD0V78l/I4AbdjYI8jvQ4Evx6APEfhPs3im6LDEGrT28LslVTZJ6luslnw==",
|
||||
"dependencies": {
|
||||
"@githubocto/flat-ui": "^0.14.1",
|
||||
"@heroicons/react": "^2.0.17",
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
"@heroicons/react": "^2.0.18",
|
||||
"@octokit/plugin-throttling": "^5.2.2",
|
||||
"@portaljs/ckan": "^0.0.2",
|
||||
"@portaljs/components": "file:portaljs-components-0.1.12.tgz",
|
||||
"@portaljs/components": "file:../../packages/components/portaljs-components-0.1.12.tgz",
|
||||
"@portaljs/core": "^1.0.5",
|
||||
"@portaljs/remark-callouts": "^1.0.5",
|
||||
"@portaljs/remark-embed": "^1.0.4",
|
||||
|
||||
909
package-lock.json
generated
909
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
BIN
packages/components/portaljs-components-0.1.12.tgz
Normal file
BIN
packages/components/portaljs-components-0.1.12.tgz
Normal file
Binary file not shown.
@ -34,7 +34,7 @@ interface OpenLayersProps {
|
||||
popup?: (selected: any) => JSX.Element;
|
||||
}
|
||||
|
||||
export function OpenLayers({
|
||||
export default function OpenLayers({
|
||||
layers,
|
||||
center = [0, 0],
|
||||
zoom = 1,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user