How to show multiple things on the same mashup page
Let's say I have a mushup with the following widgets:
- Google map
- grid
- Chart temperature vs time
through those three widget I can see all my 25 things in the same time.
Let's say, then, I want to see only some of those 25 things and have the chance to chose dynamically which ones; so, for instance, now I chose to see only things 5, 11, 18 and 23 and I want google maps only show me those markers and chart only shows me those lines.
Is it possible (and if so, how) to do this?
My clue is
- add a property to the things called "showme" which is a boolean (default set as true).
- Then in my grid I have the chance to change showme value.
- Add a state formatting in Google map which depends on showme. If it is true, show me the marker, otherwise, don't
- (Don't know if I can do the same with the chart)
My problem is:
To see my data into the grid I used the service: getImplementedThingsWithData but this service only allows me to see Data values and not the change them. I don't know what service may I use since all I know (like SetProperties) is referred to the single thing and not to all of them together.
(If you have a better solution is well accepted)
