Waze Map Editor JavaScript SDK
    Preparing search index...

    Class SegmentSuggestions

    Methods for dealing with SegmentSuggestions.

    Index

    Methods

    • Parameters

      • args: { segmentSuggestionId: number }
        • segmentSuggestionId: number

          An id of the segment suggestion to find.

      Returns null | SegmentSuggestion

      segment suggestion with id, or null if not found in the WME data model

    • Rejects segment suggestions with the specified reason.

      Parameters

      Returns void

      DataModelNotFoundError if any segment suggestion with the specified ID is not found in the data model.

      InvalidStateError if no IDs are provided or if failed to reject the segment suggestions.