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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

A GeoFence question

cdai-3
1-Visitor

A GeoFence question

 

The ThingWorx has “createCircuilarGeoFence” snippet. And now I want to do the polygon or arbitrary area.  I find a 3rd JS library which support polygon GeoFence.

Can I import the 3rd JS library to the ThingWorx? How to do it?

 

2 REPLIES 2
AdamR
14-Alexandrite
(To:cdai-3)

You would need to create an extension (that creates a resource to use the library), and import that into Thingworx if you want to use this library.  You can also manually create any shape geofence by creating an infotable with a datashape type of GeoFence (this is an infotable that has two fields, one for a name and another infotable that holds all fence location points).  For each region define a name and add location points for the fence to the sub-infotable.

cdai-3
1-Visitor
(To:AdamR)

wow... perfect answer! Thanks a lot.

But how to create an extension? Can you teach me? or can you give me some guide?

Announcements


Top Tags