Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
Is there a tutorial showing the use of Google Maps widget in Thingworx Composer?
I have used the Maps javascript API before and am currently struggling to reproduce some of the core functionality: for example,
1. How can I generate a heat-map overlay on top of Google Maps? This is easy to do using the Javascript API, but I can't figure out how to accomplish this in Thingworx?
2. How can I display multiple markers - can I pass in an array for the "Data" field?
Some examples would be really useful.
Thanks,
Narsimh
Analog Devices
I can answer the second question for you:
You can attach an infotable-generating service to the Data source on the Google Map, and then specify the LocationField to the corresponding infotable field containing location data.
As long as you have multiple rows being returned by the service/in the InfoTable provided as the Data Source, you should see multiple markers on your map, corresponding to each of your data rows.