How to plot different ObservedProperties in the same graphic #1331
Unanswered
PedroSolino
asked this question in
Q&A
Replies: 1 comment
-
The STA-Map library does not have this functionality out of the box, you'll need to code that yourself. The WebGenesis content management system at the example URL you mentioned doesn't use STA-Map, but a lot of non open source javascript to handle the graphs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I am using FROST to measure some different parameters in the same place. And for analyse these parameters is good to be able to see them in the same graphic.
For the html page, I am using the same code from the documentation site, but with the address of my local database ( localhost:8080/FROST-Server/v1.1 ). And in that, I can only plot 1 ObserverdProperty in each graphic.
I know from this example : https://api4inspire.k8s.ilt-dmz.iosb.fraunhofer.de/servlet/is/127/ that is possible to plot different ObservedProperties in the same graphic. But I do not know how to do it. Someone can help me with the html code?
`
Demo Map
<script type="text/javascript"> var mymap = L.map('mymap').setView([49.0, 8.4], 5); mymap.addControl(new L.Control.Fullscreen()); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors', maxZoom: 18 }).addTo(mymap); L.stam({ baseUrl: "https://localhost:8080/FROST-Server/v1.1", cluster: true, clusterMin: 10, queryObject: { entityType: 'Things' } }).addTo(mymap); </script> `Beta Was this translation helpful? Give feedback.
All reactions