Skip to content

Commit

Permalink
Update IndoorAtlas SDK to version 3.3
Browse files Browse the repository at this point in the history
and bump the Cordova plugin version to 3.3.0
  • Loading branch information
oseiskar authored Aug 27, 2020
1 parent 500dde4 commit 5f37052
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 242 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Version 3.3.0 - March 2020
----------------
* Add geofence and POI support
* Update IndoorAtlas SDKs to 3.3.3

Version 3.2.1 - March 2020
----------------
* Add geofence and POI support
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-indooratlas",
"version": "3.2.1",
"version": "3.3.0",
"description": "Cordova plugin using IndoorAtlas SDK.",
"cordova": {
"id": "cordova-plugin-indooratlas",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-indooratlas"
version="3.2.1">
version="3.3.0">

<name>IndoorAtlas</name>
<description>IndoorAtlas Cordova Plugin.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef double IACertainty;
* It is a replacement for CoreLocation's CLFloor as the interface for that is not open.
*/
INDOORATLAS_API
@interface IAFloor : NSObject <NSCoding>
@interface IAFloor : NSObject

/**
* Initializes and returns a floor object with the specified level information.
Expand Down
31 changes: 3 additions & 28 deletions src/ios/IndoorAtlas/IndoorAtlas.framework/Headers/IAFloorPlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* IAFloorPlan represents floor plan data received from service.
*/
INDOORATLAS_API
@interface IAFloorPlan : NSObject <NSCoding>
@interface IAFloorPlan : NSObject

/**
* @name Floor plan information
Expand Down Expand Up @@ -110,40 +110,15 @@ INDOORATLAS_API
* @param coord WGS84 coordinate
* @return corresponding pixel point on floor plan bitmap
*/
- (CGPoint) coordinateToPoint:(CLLocationCoordinate2D) coord;
- (CGPoint)coordinateToPoint:(CLLocationCoordinate2D)coord;

/**
* Converts point to corresponding coordinate.
*
* @param point pixel point of floor plan bitmap
* @return corresponding WGS84 coordinate
*/
- (CLLocationCoordinate2D) pointToCoordinate:(CGPoint) point;

/**
* Initializes <IAFloorPlan>
* @param floorPlanId is the identifier of floor plan
* @param width is the width of the floor plan image in pixels
* @param height is the height of the floor plan image in pixels
* @param wgsToPixel is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping
* @param pixelToWgs is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping
*/
- (nullable id)initWithId:(nullable NSString *)floorPlanId width:(NSUInteger)width height:(NSUInteger)height wgs2pix:(nullable NSArray*)wgsToPixel pix2wgs:(nullable NSArray*)pixelToWgs;

/**
* Initializes <IAFloorPlan>
* @param floorPlanId is the identifier of floor plan
* @param width is the width of the floor plan image in pixels
* @param height is the height of the floor plan image in pixels
* @param wgsToPixel is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping
* @param pixelToWgs is an NSArray of 6 double values in row major order used for creating an affine transform for point mapping
* @param url is a NSURL object containing the url address of the floor plan image
* @param name is the name of the floor plan
* @param floor is a IAFloor object containing the floor number and floor certainty of the floor plan
*/
- (nullable id)initWithId:(nullable NSString *)floorPlanId width:(NSUInteger)width height:(NSUInteger)height wgs2pix:(nullable NSArray*)wgsToPixel pix2wgs:(nullable NSArray*)pixelToWgs
imageUrl:(nullable NSURL*)url name:(nullable NSString*)name
floor:(nullable IAFloor*) floor;
- (CLLocationCoordinate2D)pointToCoordinate:(CGPoint)point;

@end

Expand Down
Loading

0 comments on commit 5f37052

Please sign in to comment.