isIn

fun isIn(longitude: Double, latitude: Double, id: String): Boolean

Return

whether the given position is in the country with the given id

Parameters

longitude

longitude of geo position (-180...180)

latitude

latitude of geo position (-90...90)

id

id of the country to look for

Throws

if any parameter is not finite (NaN or Infinite) or latitude is not between -90.0 and +90.0