WRLDIndoorGeoreferencer Class Reference
A type to provide conversion between floor plans map coordinates and world coordinate types. Given three points with both their latlong coordinates and their points in the indoor floor map coordinate system, other floor map points can be converted to latlongs.
– init:point1mapX:point1mapY:point2LatLong:point2mapX:point2mapY:point3LatLong:point3mapX:point3mapY:mapView:
Instantiate a converter for a set of reference coordinates
Returns:A WrldIndoorGeoreferencer instance
Argument | Description |
---|---|
point1LatLong | LatLong (in degrees) for 1st point in world space |
point1mapX | X coordinate for 1st point in map space |
point1mapY | Y coordinate for 1st point in map space |
point2LatLong | LatLong (in degrees) for 2nd point in world space |
point2mapX | X coordinate for 2nd point in map space |
point2mapY | Y coordinate for 2nd point in map space |
point3LatLong | LatLong (in degrees) for 3rd point in world space |
point3mapX | X coordinate for 3rd point in map space |
point3mapY | Y coordinate for 3rd point in map space |
mapView | WRLD map view |
– mapPointToLatLong:mapY:
Convert a coordinate in floor space to world space latlng.
Returns:CLLocationCoordinate2D of position in world space latlng.
Argument | Description |
---|---|
mapX | X coordinate in map space |
mapY | Y coordinate in map space |