proj4js / mgrs

Utility for converting between WGS84 lat/lng and MGRS coordinates
MIT License
105 stars 45 forks source link

toPoint throws an error if a blank string is passed in #37

Closed DanielJDufour closed 5 years ago

DanielJDufour commented 5 years ago

Added simple validation to the toPoint function, so that it throws a more descriptive error if a user passes in a blank string.