Check whether a geographic coordinate is in the sea or not on the earth.
npm install is-sea> Click on the map for a live preview.
bash
$ npm install --save is-sea
`Usage
You can query any (lat,lng) pair on the earth.`javascript
const isSea = require('is-sea');// Query a point in Italy.
isSea.get(41.9028, 12.4964);
// => false
// Query a point somewhere in Atlantic Ocean.
isSea.get(40, -40);
// => true
``Array.<string>Returns: Array.<string> - True if the point is in the sea, false otherwise.
| Param | Type | Description |
| --- | --- | --- |
| lat | number | The latitude of the point. |
| lng | number | The longitude of the point. |
See also the list of contributors who participated in this project.