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
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?
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.
wow... perfect answer! Thanks a lot.
But how to create an extension? Can you teach me? or can you give me some guide?