Functions

The following functions are available globally.

  • Convert geographic coordinate to density area and density information

    Declaration

    Swift

    public func geoToAreaDensity(_ coordinate: CLLocationCoordinate2D, _ floorLevel: Int) -> IAGSVenueDensity.IAGSAreaDensity?

    Parameters

    coordinate

    targeted location coordinate

    floorLevel

    targeted floor

    Return Value

    Return null if currently there is no valid crowd density result or the geographic coordinate is not in any GroundSage area. Otherwise, return GroundSage area density info.