Skip to content

This is package used to check if point on map is located within Polish borders.

License

Notifications You must be signed in to change notification settings

123mieto/point-is-polish

Repository files navigation

#point-is-polish This is package used to check if point on map is located within Polish borders. Build Status

##Installation Using npm:

$ npm i --save point-is-polish

Importing:

import isInPoland from 'point-is-polish';

Example:

//When user click on map
let _onMapClick = (e) => {
  if (isInPoland(e.lat, e.lng) {
    console.log('Point is within Polish borders');
  } else {
    console.log('Point is outside Polish borders');
  }
}

About

This is package used to check if point on map is located within Polish borders.

Resources

License

Stars

Watchers

Forks

Packages

No packages published