Geofence. Check if a point is inside a polygon. JavaScript. Map

2.- Check if a point is inside a polygon. JavaScript. RunJavaScript.

p251_geofenceJavaScript.aia (165.3 KB)

- Designer.

- Blocks.

- Comments.

  • The code returns a String "true" or "false".
  • Be careful with the semicolons;
  • I have used poligono and punto as variable names.