cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Google Maps: tutorial

nkamath-21
1-Visitor

Google Maps: tutorial

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 1
jlittle
12-Amethyst
(To:nkamath-21)

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.

Announcements


Top Tags