You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,17 @@
2
2
3
3
4
4
5
-
This is a webcomponent to use in HTML or more complex web projects.
5
+
Mapping Component Overview:
6
6
7
+
The Mapping component serves as a user-friendly interface to extract metadata from data generated by instruments.Our mappings are designed to align with widely accepted community schemes, custom-tailored for various techniques.
7
8
8
9
## Integration
9
10
10
11
If the dependency is up set properly (instructions will follow), the component can be used like this:
11
12
13
+
Add the Element:
14
+
To integrate the Mapping component into your project, insert the following HTML element into your webpage:
15
+
12
16
```html
13
17
<head>
14
18
...
@@ -20,6 +24,29 @@ If the dependency is up set properly (instructions will follow), the component c
var component = document.getElementById('input-component');
37
+
component.executeMapping(true)">Map document
38
+
</button>
39
+
</div>`
40
+
41
+
```
42
+
43
+
The executeMapping(true) method call triggers both the mapping process and the subsequent download of the result.
44
+
45
+
Adjusting Base URL:
46
+
47
+
The base-url attribute in the <mapping-input> element allows you to specify the base URL for your Mapping Service instance. You can modify this URL as needed to suit your requirements.
48
+
49
+
By following these steps, you can easily integrate the Mapping component into your project and utilize its capabilities for extracting metadata from instrument-generated data.
0 commit comments