VMDParserService

open class VMDParserService

Service for helper methods used for parsing vmds

Since

2.0

Initializers

  • Declaration

    Swift

    public init()

Public Methods

  • Merges amenities and fixture waypoints that are meant to be for the same destination in wayfinding.

    Declaration

    Swift

    public func associateAmentiesWithFixturesForVMD(_ vmd: VMVenue)

    Parameters

    vmd

    The vmd to check

  • This is a hook for subclasses to be able to execute specific code when units are merged in the associateAmentiesWithFixturesForVMD function

    Declaration

    Swift

    open func onUnitMerged(_ unit: VMMapUnit, _ subUnit: VMMapUnit)
  • This method goes through all units in the VMD and will delete any fixtures that have empty names At this point, if fixtures still have empty names, they unlabeled and meant to designate something like an obstruction in the venue, rather than a destination

    Declaration

    Swift

    public func removeEmptyFixtures(_ vmd: VMVenue)