Skip to main content
1-Visitor
November 23, 2016
Solved

Navigate to another mashups by clicking on markers on Google Map widget.

  • November 23, 2016
  • 4 replies
  • 5322 views

Hello all,

I am trying to work with the Google map widget. I have 20 locations(say Loc_1- Loc_20). Out of 20locations I am pointing 10 in my map to showcase some emergency alerts. I have 20 mashups (mashup1-mashup20) as well for the corresponding locations data. I am able to redirect to the mashup by clicking on the marker on the map.

So, I am facing an issue here. When i am clicking on any marker its redirecting to the same mashup. I am wondering How we can actually bind the location to respective mashup(example: Loc_1 to Mashup1, Loc2 to Mashup2................etc). so that if i click on loc1 it should redirect to mashup1 & if i click on loc2 it should redirect to mashup2.

Please advice.

Thanks and Regards,

Babu Yogesh,

Dell.

Best answer by ankigupta

Hi babu yogesh kanipakam​,

I have written following article for this scenario. Please check the same if it helps:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS249997&lang=en_US

Thanks,

Ankit Gupta

4 replies

1-Visitor
November 24, 2016

Adding image for more detailed description

TW community.png

ankigupta5-Regular MemberAnswer
5-Regular Member
November 28, 2016

Hi babu yogesh kanipakam​,

I have written following article for this scenario. Please check the same if it helps:

https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS249997&lang=en_US

Thanks,

Ankit Gupta

5-Regular Member
November 28, 2016
1-Visitor
November 28, 2016

Hello Ankit,

Thanks for your reply. Your have made my job much easier. But can you please tell me from where we can get the QueryDataTableEntries. ​I am not able to find the service you have mentioned.

Best Regards,

Babu Yogesh

5-Regular Member
November 28, 2016

Babu,QueryDataTableEntries is a default service for the Data Table entities. You should find it in any entity created inheriting the Data Table Thing Template.

1-Visitor
December 15, 2016

Hello All,

I have done the mashup that will redirect to the other links(to other web pages as well like www.google.com/facebook.com/thingworx.com) with your help.

Now, Is it possible to add a search bar to the Mashup? Like If I want to highlight all red pointers in a map by entering text red in the text widget(or any other widget is also fine), and yellow pointers highlighted When i enter the yellow in the search bar.

And If I enter any one of my field value mentioned above in the service output, it should highlight the pointer. For example, if I enter 1008 it should highlight the pointer in that corresponding location.

Best Regards,

Yogesh,

Dell