Signal K
    Preparing search index...

    Function getFlagCountry

    • Return the flag country information for the MID from the supplied MMSI.

      Parameters

      • mmsi: string

        MMSI.

      Returns null | FlagCountry

      Flag country information with ISO codes and name, or null if not found.

      app.getFlagCountry('201456789')

      returns: {
      alpha2: 'AL',
      alpha3: 'ALB',
      name: 'Albania'
      }