About point 1 I got myself the answer:
- Create a Datashape
- Create a Stream
- Into thing Shape add a submission which add Stream Entries
- Into the mashup add the stream in Data
- Bind all data to the widget
It works but I have a question from this:
Sometimes my locations changes; what I want on my mashup is only the current location and not all the history.
I explain myself better:
I have Thing_1 located in Milan; after one hour Thing_1 will be in London. Into my stream I'll have both Milan and London locations, that means I will see two markers on my widget but I only want to see London and no longer Milan.
Fabio, different Marker colors for different locations is not possible at the moment. With the existing styling options, you can change the default Marker style, the style when you select a Marker, start and end Markers. Regarding the 3rd part, you can use tooltips to display a box/ area to display whatever content you require.
You can use State formatting to show different icons in Google Map.
Check this article that I wrote on PTC.com for more information https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS235093&lang=en_US
I hope it helps.