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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

How to navigate to different mashups on double click of different google map markers in ThingWorx

No ratings

Steps to to navigate to different mashups on double click of different google map markers in ThingWorx

  1. Create a DataShape with two fields
    1. Location
    2. MashupName
  2. Create a DataTable using the DataShape
  3. Add required Location data and corresponding MashupName to be opened in the DataTable
  4. Create a mashup
  5. Add GoogleMap and Navigate widget to the mashup
  6. Bind All Data from QueryDataTableEntries service of the DataTable in the mashup to the GoogleMap widget by dragging and dropping that item onto the GoogleMap and selecting the Data option
  7. In GoogleMap widget properties select LocationField as Location
  8. Bind MashupName from Selected Row(s) in QueryDataTableEntries service of the DataTable in the mashup to the Navigate widget by dragging and dropping that item onto the Mashup Link and selecting the MashupName option
  9. Bind the DoubleClick event of GoogleMap widget properties in the mashup to Navigate widget by dragging and dropping that item onto the Mashup Link and selecting the Navigate option
  10. Save and view mashup

Copy of my article as blog post: https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS249997&lang=en_US

Version history
Last update:
‎Nov 28, 2016 03:46 AM
Updated by:
Labels (1)