Parse the supplied MMSI value into object containing mid, msi, type and flagCountry.
MMSI.
app.parseMmsi('201456789')returns: { mid: 201, msi: 456789, type: 'ship', flagCountry: { alpha2: 'AL', alpha3: 'ALB', name: 'Albania' }} Copy
app.parseMmsi('201456789')returns: { mid: 201, msi: 456789, type: 'ship', flagCountry: { alpha2: 'AL', alpha3: 'ALB', name: 'Albania' }}
Parse the supplied MMSI value into object containing mid, msi, type and flagCountry.