@mapcomponents/deck-gl 1.5.4-0 → 1.5.5-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/MlHexagonMap/MlHexagonMap.d.ts +1 -6
- package/dist/components/MlHexagonMap/MlHexagonMap.d.ts.map +1 -1
- package/dist/index-BitQicV5.mjs +88045 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/{index.es-BeEeYeZX.mjs → index.es-DM25_KJ-.mjs} +1 -1
- package/dist/index.mjs +5 -4
- package/dist/package.json +1 -1
- package/package.json +2 -2
- package/src/components/MlHexagonMap/MlHexagonMap.tsx +0 -3
- package/src/index.ts +1 -0
- package/.babelrc +0 -22
- package/.prettierignore +0 -11
- package/.storybook/main.ts +0 -36
- package/.storybook/manager.js +0 -6
- package/.storybook/mapcomponents_logo.png +0 -0
- package/.storybook/preview.ts +0 -27
- package/.storybook/style.css +0 -20
- package/.storybook/wheregroupTheme.js +0 -9
- package/cypress/support/commands.ts +0 -39
- package/cypress/support/component-index.html +0 -12
- package/cypress/support/component.ts +0 -31
- package/cypress/tsconfig.json +0 -25
- package/cypress.config.ts +0 -9
- package/dist/index-DfYgDeM4.mjs +0 -75742
- package/public/assets/3D/godzilla_simple.glb +0 -0
- package/public/assets/3D/hexa.json +0 -4
- package/public/assets/3D/laerm_points.json +0 -650205
- package/public/assets/dop.png +0 -0
- package/public/assets/historic.png +0 -0
- package/public/assets/marker.png +0 -0
- package/public/assets/osm.png +0 -0
- package/public/assets/sample.gpx +0 -716
- package/public/assets/sample1.gpx +0 -3003
- package/public/assets/sample2.gpx +0 -1264
- package/public/assets/sample3.gpx +0 -912
- package/public/assets/wg-marker.png +0 -0
- package/public/catalogue/.gitkeep +0 -0
- package/public/catalogue/mc_meta.json +0 -1
- package/public/favicon.ico +0 -0
- package/public/logo.png +0 -0
- package/public/manifest.json +0 -25
- package/public/robots.txt +0 -3
- package/public/thumbnails/MapLibreMap.png +0 -0
- package/public/thumbnails/MlCameraFollowPath.png +0 -0
- package/public/thumbnails/MlCreatePdfButton.png +0 -0
- package/public/thumbnails/MlCreatePdfForm.png +0 -0
- package/public/thumbnails/MlDeckGlLayer.png +0 -0
- package/public/thumbnails/MlDeckGlTerrainLayer.png +0 -0
- package/public/thumbnails/MlDemoDashboard.png +0 -0
- package/public/thumbnails/MlFeatureEditor.png +0 -0
- package/public/thumbnails/MlFillExtrusionLayer.png +0 -0
- package/public/thumbnails/MlFollowGps.png +0 -0
- package/public/thumbnails/MlGeoJsonLayer.png +0 -0
- package/public/thumbnails/MlGpxViewer.png +0 -0
- package/public/thumbnails/MlHillshadeLayer.png +0 -0
- package/public/thumbnails/MlIconLayer.png +0 -0
- package/public/thumbnails/MlLaermkarte.png +0 -0
- package/public/thumbnails/MlLayerMagnify.png +0 -0
- package/public/thumbnails/MlLayerSwipe.png +0 -0
- package/public/thumbnails/MlMapDrawTools.png +0 -0
- package/public/thumbnails/MlMeasureTool.png +0 -0
- package/public/thumbnails/MlMobilerImker.png +0 -0
- package/public/thumbnails/MlNavigationCompass.png +0 -0
- package/public/thumbnails/MlNavigationTools.png +0 -0
- package/public/thumbnails/MlOsmLayer.png +0 -0
- package/public/thumbnails/MlScaleReference.png +0 -0
- package/public/thumbnails/MlSketchTool.png +0 -0
- package/public/thumbnails/MlSpatialElevationProfile.png +0 -0
- package/public/thumbnails/MlThreeJsLayer.png +0 -0
- package/public/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
- package/public/thumbnails/MlVectorTileLayer.png +0 -0
- package/public/thumbnails/MlWanderApp.png +0 -0
- package/public/thumbnails/MlWmsLayer.png +0 -0
- package/public/thumbnails/MlWmsLoader.png +0 -0
- package/public/thumbnails/useCameraFollowPath.png +0 -0
- package/scripts/build-catalogue-markdown-docs.js +0 -31
- package/scripts/build-catalogue-meta.js +0 -45
- package/scripts/create-map-component.sh +0 -36
- package/tsconfig.json +0 -12
|
Binary file
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
package/public/favicon.ico
DELETED
|
Binary file
|
package/public/logo.png
DELETED
|
Binary file
|
package/public/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "React App",
|
|
3
|
-
"name": "Create React App Sample",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "favicon.ico",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/public/robots.txt
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const glob = require('glob');
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
const showdown = require('showdown');
|
|
4
|
-
|
|
5
|
-
const options = {};
|
|
6
|
-
|
|
7
|
-
function getComponentNameFromPath(path) {
|
|
8
|
-
let tmp = path.split('/');
|
|
9
|
-
tmp = tmp[tmp.length - 1];
|
|
10
|
-
tmp = tmp.split('.doc');
|
|
11
|
-
return tmp[0];
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const converter = new showdown.Converter();
|
|
15
|
-
|
|
16
|
-
glob('src/components/**/*.doc.*.md', options, function (er, files) {
|
|
17
|
-
console.log(files);
|
|
18
|
-
|
|
19
|
-
// eslint-disable-next-line prefer-const
|
|
20
|
-
let i = 0,
|
|
21
|
-
len = files.length;
|
|
22
|
-
for (; i < len; i++) {
|
|
23
|
-
const language = files[i].slice(-5, -3);
|
|
24
|
-
const rawdata = fs.readFileSync(files[i]);
|
|
25
|
-
const html = converter.makeHtml(rawdata + '');
|
|
26
|
-
fs.writeFileSync(
|
|
27
|
-
'public/catalogue/' + getComponentNameFromPath(files[i]) + '.' + language + '.html',
|
|
28
|
-
html
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const glob = require('glob');
|
|
2
|
-
const fetch = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
|
3
|
-
const Ajv = require('ajv');
|
|
4
|
-
const ajv = new Ajv();
|
|
5
|
-
const fs = require('fs');
|
|
6
|
-
|
|
7
|
-
const options = {};
|
|
8
|
-
const mc_meta = {};
|
|
9
|
-
|
|
10
|
-
glob('src/**/**/*.meta.json', options, function (er, files) {
|
|
11
|
-
console.log(files);
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line prefer-const
|
|
14
|
-
let i = 0,
|
|
15
|
-
len = files.length;
|
|
16
|
-
for (; i < len; i++) {
|
|
17
|
-
const rawdata = fs.readFileSync(files[i]);
|
|
18
|
-
const metaObj = JSON.parse(rawdata);
|
|
19
|
-
mc_meta[metaObj.name] = metaObj;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
fetch('https://catalogue.mapcomponents.org/schema/metadata.schema.json', {
|
|
23
|
-
method: 'GET',
|
|
24
|
-
headers: {
|
|
25
|
-
Accept: 'application/json',
|
|
26
|
-
'Content-Type': 'application/json',
|
|
27
|
-
},
|
|
28
|
-
})
|
|
29
|
-
.then((res) => {
|
|
30
|
-
if (!res.ok) {
|
|
31
|
-
return false;
|
|
32
|
-
} else {
|
|
33
|
-
return res.json();
|
|
34
|
-
}
|
|
35
|
-
})
|
|
36
|
-
.then((schema) => {
|
|
37
|
-
const validate = ajv.compile(schema);
|
|
38
|
-
const valid = validate(mc_meta);
|
|
39
|
-
if (!valid) throw new Error(JSON.stringify(validate.errors));
|
|
40
|
-
//if (!valid) console.log(validate.errors);
|
|
41
|
-
|
|
42
|
-
const data = JSON.stringify(mc_meta);
|
|
43
|
-
fs.writeFileSync('public/catalogue/mc_meta.json', data);
|
|
44
|
-
});
|
|
45
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
set -x
|
|
4
|
-
|
|
5
|
-
if [ $# -eq 0 ]; then
|
|
6
|
-
echo "Please provide a component name as first argument."
|
|
7
|
-
exit 1
|
|
8
|
-
fi
|
|
9
|
-
|
|
10
|
-
component_name="$1"
|
|
11
|
-
target_path="src/components/"
|
|
12
|
-
template_name="MlComponentTemplate"
|
|
13
|
-
template_path="src/components/"
|
|
14
|
-
|
|
15
|
-
if [ ! -d "$target_path$component_name" ]; then
|
|
16
|
-
|
|
17
|
-
cp -r $template_path$template_name $target_path$component_name
|
|
18
|
-
|
|
19
|
-
mv $target_path$component_name/$template_name.doc.de.md $target_path$component_name/$component_name.doc.de.md
|
|
20
|
-
|
|
21
|
-
mv $target_path$component_name/$template_name.tsx $target_path$component_name/$component_name.tsx
|
|
22
|
-
|
|
23
|
-
mv $target_path$component_name/$template_name.meta_.json $target_path$component_name/$component_name.meta_.json
|
|
24
|
-
|
|
25
|
-
mv $target_path$component_name/$template_name.stories.js $target_path$component_name/$component_name.stories.js
|
|
26
|
-
|
|
27
|
-
sed -i "s/$template_name/$component_name/g" $target_path$component_name/$component_name.doc.de.md
|
|
28
|
-
sed -i "s/$template_name/$component_name/g" $target_path$component_name/$component_name.tsx
|
|
29
|
-
sed -i "s/$template_name/$component_name/g" $target_path$component_name/$component_name.meta_.json
|
|
30
|
-
sed -i "s/$template_name/$component_name/g" $target_path$component_name/$component_name.stories.js
|
|
31
|
-
|
|
32
|
-
else
|
|
33
|
-
|
|
34
|
-
echo "The directory $target_path$component_name already exists. Please use a different name."
|
|
35
|
-
|
|
36
|
-
fi
|