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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Google Maps: tutorial

nkamath-21
1-Newbie

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

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.

Top Tags