Polygon Contains Cartographic

There isn’t a built-in way to do this as far as I’m aware, but detecting if a point is inside a polygon is a common graphics operation (you’ll find a few different algorithms if you google that).

You could use a library like TurfJS and give it the coordinates of your polygons/points: https://turfjs.org/docs/#pointsWithinPolygon

What kind of application are you working on?