Skip to main content
1-Visitor
October 2, 2015
Question

Google Maps: tutorial

  • October 2, 2015
  • 1 reply
  • 3445 views

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

1 reply

12-Amethyst
October 15, 2015

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.