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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

A GeoFence question

cdai-3
1-Newbie

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
12-Amethyst
(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-Newbie
(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?

Top Tags