@situm/cordova 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG_UNRELEASED.md +5 -26
- package/azure-pipelines.yml +13 -13
- package/docs/JSDoc/MapView.html +2 -2
- package/docs/JSDoc/MapViewControllerImpl.html +458 -2
- package/docs/JSDoc/Situm.html +1 -1
- package/docs/JSDoc/android_Interfaces.js.html +38 -2
- package/docs/JSDoc/android_situm.js.html +1 -1
- package/docs/JSDoc/global.html +289 -1
- package/docs/JSDoc/index.html +1 -1
- package/docs/JSDoc/map-view-controller.js.html +128 -29
- package/docs/JSDoc/map-view.js.html +1 -2
- package/docs/JSDoc/styles/custom.css +4 -0
- package/docs/static/styles/custom.css +4 -0
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/app/build.gradle +1 -1
- package/src/android/situm.gradle +1 -1
- package/src/ios/Podfile +1 -1
- package/www/android/Interfaces.js +37 -1
- package/www/map-view-controller.js +129 -28
- package/www/map-view.js +1 -2
package/CHANGELOG_UNRELEASED.md
CHANGED
|
@@ -1,28 +1,7 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
Introducing the new [@situm/cordova](https://www.npmjs.com/package/@situm/cordova) 3.0.0!.
|
|
4
|
-
|
|
5
|
-
We are thrilled to announce the release of [@situm/cordova](https://www.npmjs.com/package/@situm/cordova), a remarkable evolution and improvement upon our previous versions. With this update, we are taking a leap forward to provide you with a future-ready solution.
|
|
6
|
-
|
|
7
|
-
We’ve been listening to our customers’ feedback, and we have incorporated a wide range of enhancements based on your valuable input. Checkout the [Situm page](https://situm.com/en/blog-eng/situm-indoor-positioning-product-news/situm-wyf-3-0-revolutionizing-indoor-navigation-maps-2/) for further details.
|
|
8
|
-
|
|
9
|
-
As this library includes significant changes, we have prepared comprehensive documentation guide on how to create a app with our new visual component, [<map-view>](https://situm.com/docs/a-basic-cordova-app/). You might found the following links helpful:
|
|
10
|
-
|
|
11
|
-
- [API reference](https://developers.situm.com/sdk_documentation/cordova/jsdoc/latest/situm). Learn how to communicate with our API.
|
|
12
|
-
- [Capacitor example application](https://github.com/situmtech/cordova/tree/master/example). Try our plugin with just a few steps in our sample app!
|
|
13
|
-
|
|
14
|
-
We are incredibly grateful for your continued support and trust in our library. [@situm/cordova](https://www.npmjs.com/package/@situm/cordova) represents our commitment to empowering developers with the most advanced tools and ensuring a brighter future for your software development endeavors.
|
|
15
|
-
|
|
16
|
-
Thank you for being part of this exciting journey with us!
|
|
1
|
+
# Unreleased
|
|
17
2
|
|
|
18
3
|
**Added**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
- “What’s Nearby” Exploration Made Easy with Category & Subcategory Filtering, and POI search.
|
|
24
|
-
- POI information visualization.
|
|
25
|
-
- Tailored User Experience with High Configurability.
|
|
26
|
-
- Out of the box support for raster floorplans, raster tiles and GeoJSON/IMDF floorplans.
|
|
27
|
-
- Multilingual Interface.
|
|
28
|
-
- This new version lays the foundation for future improvements, specifically enabling full 3D maps and even augmented reality capabilities.
|
|
4
|
+
- Added new actions and events for MapViewController:
|
|
5
|
+
- navigateToPoi
|
|
6
|
+
- onPoiSelected
|
|
7
|
+
- onPoiDeselected
|
package/azure-pipelines.yml
CHANGED
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
101
101
|
|
|
102
102
|
steps:
|
|
103
103
|
- bash: |
|
|
104
|
-
cd
|
|
104
|
+
cd cordova
|
|
105
105
|
|
|
106
106
|
echo -e "\n[+] Install npm dependencies \n"
|
|
107
107
|
npm install
|
|
@@ -156,8 +156,8 @@ jobs:
|
|
|
156
156
|
echo -e "\t[+] Current branch: $currentBranch"
|
|
157
157
|
|
|
158
158
|
echo -e "\n[+] Setting git remote credentials\n"
|
|
159
|
-
if [ -d "
|
|
160
|
-
cd
|
|
159
|
+
if [ -d "cordova" ];then
|
|
160
|
+
cd cordova
|
|
161
161
|
fi
|
|
162
162
|
git remote set-url origin https://situmops:$(github_token)@github.com/$(Build.Repository.Name).git
|
|
163
163
|
cat .git/config
|
|
@@ -166,7 +166,7 @@ jobs:
|
|
|
166
166
|
|
|
167
167
|
- bash: |
|
|
168
168
|
|
|
169
|
-
cd
|
|
169
|
+
cd cordova
|
|
170
170
|
echo -e "\n[+] Setting NPM version to $(version)"
|
|
171
171
|
npm version $(version) --no-git-tag-version
|
|
172
172
|
|
|
@@ -196,13 +196,13 @@ jobs:
|
|
|
196
196
|
bitbucket_user: situmops
|
|
197
197
|
system: "N/A"
|
|
198
198
|
server: "github"
|
|
199
|
-
repoFolder: "
|
|
199
|
+
repoFolder: "cordova"
|
|
200
200
|
mergeBranches:
|
|
201
201
|
- "master"
|
|
202
202
|
- "develop"
|
|
203
203
|
|
|
204
204
|
- bash: |
|
|
205
|
-
cd
|
|
205
|
+
cd cordova
|
|
206
206
|
echo -e "\n[+] Fetch all branches\n"
|
|
207
207
|
git fetch
|
|
208
208
|
|
|
@@ -220,7 +220,7 @@ jobs:
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
- bash: |
|
|
223
|
-
cd
|
|
223
|
+
cd cordova
|
|
224
224
|
|
|
225
225
|
echo -e "\n[+] Install dependencies"
|
|
226
226
|
npm install
|
|
@@ -233,12 +233,12 @@ jobs:
|
|
|
233
233
|
- template: azure-templates/commit-doc.yaml@sys_kubernetes_templates
|
|
234
234
|
parameters:
|
|
235
235
|
version: $(version)
|
|
236
|
-
docPath:
|
|
236
|
+
docPath: cordova/docs/JSDoc
|
|
237
237
|
system: cordova
|
|
238
238
|
bitbucket:
|
|
239
239
|
bitbucket_user: $(bitbucket_user)
|
|
240
240
|
bitbucket_pass: $(bitbucket_pass)
|
|
241
|
-
release: "
|
|
241
|
+
release: "cordova"
|
|
242
242
|
|
|
243
243
|
- checkout: cordova_sdk_validation
|
|
244
244
|
fetchTags: false
|
|
@@ -265,8 +265,8 @@ jobs:
|
|
|
265
265
|
displayName: Execute example app
|
|
266
266
|
|
|
267
267
|
- bash: |
|
|
268
|
-
if [ -d "
|
|
269
|
-
cd
|
|
268
|
+
if [ -d "cordova" ]; then
|
|
269
|
+
cd cordova
|
|
270
270
|
fi
|
|
271
271
|
|
|
272
272
|
echo -e "\n[+] Pull master changes and change to master branch \n"
|
|
@@ -274,14 +274,14 @@ jobs:
|
|
|
274
274
|
git checkout master
|
|
275
275
|
git pull origin master
|
|
276
276
|
|
|
277
|
-
iossdk=$(grep -
|
|
277
|
+
iossdk=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
|
|
278
278
|
androidsdk=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
echo -e "\n[+] Checkout to previous commit\n"
|
|
282
282
|
git checkout HEAD~1
|
|
283
283
|
|
|
284
|
-
iossdk_old=$(grep -
|
|
284
|
+
iossdk_old=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
|
|
285
285
|
androidsdk_old=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
|
|
286
286
|
|
|
287
287
|
echo -e "\n[+] Return repository to master branch\n"
|
package/docs/JSDoc/MapView.html
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<ul></ul>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewControllerImpl.html">MapViewControllerImpl</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewControllerImpl_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewControllerImpl.html#selectPoi">selectPoi</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li></ul></div>
|
|
41
|
+
<div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewControllerImpl.html">MapViewControllerImpl</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewControllerImpl_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewControllerImpl.html#navigateToPoi">navigateToPoi</a></li><li><a href="MapViewControllerImpl.html#onPoiDeselected">onPoiDeselected</a></li><li><a href="MapViewControllerImpl.html#onPoiSelected">onPoiSelected</a></li><li><a href="MapViewControllerImpl.html#selectPoi">selectPoi</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#PoiDeselectedResult">PoiDeselectedResult</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#PoiSelectedResult">PoiSelectedResult</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li></ul></div>
|
|
42
42
|
</nav>
|
|
43
43
|
<div id="resizer"></div>
|
|
44
44
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
|
|
135
135
|
<div class="container-source members">
|
|
136
136
|
<code><a href="map-view.js.html">map-view.js</a></code>,
|
|
137
|
-
<code><a href="map-view.js.html#
|
|
137
|
+
<code><a href="map-view.js.html#line78">line 78</a></code>
|
|
138
138
|
</div>
|
|
139
139
|
|
|
140
140
|
</h4>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<ul></ul>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
41
|
-
<div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewControllerImpl.html">MapViewControllerImpl</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewControllerImpl_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewControllerImpl.html#selectPoi">selectPoi</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li></ul></div>
|
|
41
|
+
<div class="lnb-api hidden"><h3>Namespaces</h3><ul><li><a href="MapView.html">MapView</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapView_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapView.html#.onLoad">onLoad</a></li></ul></div></li><li><a href="MapViewControllerImpl.html">MapViewControllerImpl</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="MapViewControllerImpl_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="MapViewControllerImpl.html#navigateToPoi">navigateToPoi</a></li><li><a href="MapViewControllerImpl.html#onPoiDeselected">onPoiDeselected</a></li><li><a href="MapViewControllerImpl.html#onPoiSelected">onPoiSelected</a></li><li><a href="MapViewControllerImpl.html#selectPoi">selectPoi</a></li></ul></div></li><li><a href="Situm.html">Situm</a><button type="button" class="hidden toggle-subnav btn btn-link"> <span class="glyphicon glyphicon-plus"></span></button><div class="hidden" id="Situm_sub"><div class="member-type">Methods</div><ul class="inner"><li><a href="Situm.html#.fetchBuildingInfo">fetchBuildingInfo</a></li><li><a href="Situm.html#.fetchBuildings">fetchBuildings</a></li><li><a href="Situm.html#.fetchEventsFromBuilding">fetchEventsFromBuilding</a></li><li><a href="Situm.html#.fetchFloorsFromBuilding">fetchFloorsFromBuilding</a></li><li><a href="Situm.html#.fetchGeofencesFromBuilding">fetchGeofencesFromBuilding</a></li><li><a href="Situm.html#.fetchIndoorPOIsFromBuilding">fetchIndoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchMapFromFloor">fetchMapFromFloor</a></li><li><a href="Situm.html#.fetchOutdoorPOIsFromBuilding">fetchOutdoorPOIsFromBuilding</a></li><li><a href="Situm.html#.fetchPoiCategories">fetchPoiCategories</a></li><li><a href="Situm.html#.fetchPoiCategoryIconNormal">fetchPoiCategoryIconNormal</a></li><li><a href="Situm.html#.fetchPoiCategoryIconSelected">fetchPoiCategoryIconSelected</a></li><li><a href="Situm.html#.internalSetEventDelegate">internalSetEventDelegate</a></li><li><a href="Situm.html#.invalidateCache">invalidateCache</a></li><li><a href="Situm.html#.onEnterGeofences">onEnterGeofences</a></li><li><a href="Situm.html#.onExitGeofences">onExitGeofences</a></li><li><a href="Situm.html#.removeNavigationUpdates">removeNavigationUpdates</a></li><li><a href="Situm.html#.removeRealTimeUpdates">removeRealTimeUpdates</a></li><li><a href="Situm.html#.requestDirections">requestDirections</a></li><li><a href="Situm.html#.requestNavigationUpdates">requestNavigationUpdates</a></li><li><a href="Situm.html#.requestRealTimeUpdates">requestRealTimeUpdates</a></li><li><a href="Situm.html#.setApiKey">setApiKey</a></li><li><a href="Situm.html#.setCacheMaxAge">setCacheMaxAge</a></li><li><a href="Situm.html#.setUserPass">setUserPass</a></li><li><a href="Situm.html#.startPositioning">startPositioning</a></li><li><a href="Situm.html#.stopPositioning">stopPositioning</a></li><li><a href="Situm.html#.updateNavigationWithLocation">updateNavigationWithLocation</a></li></ul></div></li></ul></div><div class="lnb-api hidden"><h3>Global</h3><ul><li><a href="global.html#Angle">Angle</a></li><li><a href="global.html#BeaconFilter">BeaconFilter</a></li><li><a href="global.html#Bounds">Bounds</a></li><li><a href="global.html#Building">Building</a></li><li><a href="global.html#BuildingInfo">BuildingInfo</a></li><li><a href="global.html#CartesianCoordinate">CartesianCoordinate</a></li><li><a href="global.html#Circle">Circle</a></li><li><a href="global.html#Coordinate">Coordinate</a></li><li><a href="global.html#Dimensions">Dimensions</a></li><li><a href="global.html#DirectionsOptions">DirectionsOptions</a></li><li><a href="global.html#DirectionsRequest">DirectionsRequest</a></li><li><a href="global.html#Floor">Floor</a></li><li><a href="global.html#Geofence">Geofence</a></li><li><a href="global.html#Indication">Indication</a></li><li><a href="global.html#Location">Location</a></li><li><a href="global.html#LocationOptions">LocationOptions</a></li><li><a href="global.html#LocationRequest">LocationRequest</a></li><li><a href="global.html#LocationStatus">LocationStatus</a></li><li><a href="global.html#NavigationProgress">NavigationProgress</a></li><li><a href="global.html#NavigationRequest">NavigationRequest</a></li><li><a href="global.html#OutdoorLocationOptions">OutdoorLocationOptions</a></li><li><a href="global.html#POI">POI</a></li><li><a href="global.html#PoiCategory">PoiCategory</a></li><li><a href="global.html#PoiDeselectedResult">PoiDeselectedResult</a></li><li><a href="global.html#Point">Point</a></li><li><a href="global.html#PoiSelectedResult">PoiSelectedResult</a></li><li><a href="global.html#RealTimeData">RealTimeData</a></li><li><a href="global.html#RealTimeRequest">RealTimeRequest</a></li><li><a href="global.html#Route">Route</a></li><li><a href="global.html#RouteSegment">RouteSegment</a></li><li><a href="global.html#RouteStep">RouteStep</a></li><li><a href="global.html#SitumConversionArea">SitumConversionArea</a></li><li><a href="global.html#SitumEvent">SitumEvent</a></li></ul></div>
|
|
42
42
|
</nav>
|
|
43
43
|
<div id="resizer"></div>
|
|
44
44
|
|
|
@@ -125,6 +125,462 @@
|
|
|
125
125
|
<dl>
|
|
126
126
|
|
|
127
127
|
|
|
128
|
+
<dt>
|
|
129
|
+
|
|
130
|
+
<h4 class="name" id="navigateToPoi">
|
|
131
|
+
|
|
132
|
+
<span class="type-signature"></span>navigateToPoi<span class="signature">(identifier, accessibilityMode)</span><span class="type-signature"></span>
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<div class="container-source members">
|
|
136
|
+
<code><a href="map-view-controller.js.html">map-view-controller.js</a></code>,
|
|
137
|
+
<code><a href="map-view-controller.js.html#line293">line 293</a></code>
|
|
138
|
+
</div>
|
|
139
|
+
|
|
140
|
+
</h4>
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
</dt>
|
|
145
|
+
<dd>
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
<div class="description">
|
|
149
|
+
Navigate to a POI of a building.
|
|
150
|
+
|
|
151
|
+
The types of accessibilityMode you can use are:
|
|
152
|
+
- 'CHOOSE_SHORTEST' : Calculates the shortest route to the destination <a href="global.html#POI">POI</a>.
|
|
153
|
+
- 'ONLY_ACCESSIBLE' : Calculates the shortest route to the destination <a href="global.html#POI">POI</a> but avoiding stairs and prioritizing accessible floor changes such as lifts.
|
|
154
|
+
- 'ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES' : Calculates the shortest route to the destination <a href="global.html#POI">POI</a> but avoiding lifts and prioritizing non-accessible floor changes such as stairs.
|
|
155
|
+
|
|
156
|
+
accessibilityMode defaults to CHOOSE_SHORTEST.
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
<div class="container-params">
|
|
168
|
+
<h5>Parameters:</h5>
|
|
169
|
+
|
|
170
|
+
<table class="params">
|
|
171
|
+
<thead>
|
|
172
|
+
<tr>
|
|
173
|
+
|
|
174
|
+
<th>Name</th>
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
<th>Type</th>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
<th class="last">Description</th>
|
|
184
|
+
</tr>
|
|
185
|
+
</thead>
|
|
186
|
+
|
|
187
|
+
<tbody>
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
<tr>
|
|
191
|
+
|
|
192
|
+
<td class="name"><code>identifier</code></td>
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
<td class="type">
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<span class="param-type">number</span>
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
</td>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<td class="description last">The identifier of the poi.</td>
|
|
209
|
+
</tr>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
<tr>
|
|
214
|
+
|
|
215
|
+
<td class="name"><code>accessibilityMode</code></td>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
<td class="type">
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
<span class="param-type">'CHOOSE_SHORTEST'</span>
|
|
222
|
+
|
|
|
223
|
+
|
|
224
|
+
<span class="param-type">'ONLY_ACCESSIBLE'</span>
|
|
225
|
+
|
|
|
226
|
+
|
|
227
|
+
<span class="param-type">'ONLY_NOT_ACCESSIBLE_FLOOR_CHANGES'</span>
|
|
228
|
+
|
|
|
229
|
+
|
|
230
|
+
<span class="param-type">undefined</span>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
</td>
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
<td class="description last">Choose the route type to calculate.</td>
|
|
241
|
+
</tr>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
</tbody>
|
|
245
|
+
</table>
|
|
246
|
+
|
|
247
|
+
</div>
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
<dl class="details">
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
</dl>
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
</dd>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
<dt>
|
|
307
|
+
|
|
308
|
+
<h4 class="name" id="onPoiDeselected">
|
|
309
|
+
|
|
310
|
+
<span class="type-signature"></span>onPoiDeselected<span class="signature">(cb)</span><span class="type-signature"></span>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
<div class="container-source members">
|
|
314
|
+
<code><a href="map-view-controller.js.html">map-view-controller.js</a></code>,
|
|
315
|
+
<code><a href="map-view-controller.js.html#line316">line 316</a></code>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
</h4>
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
</dt>
|
|
323
|
+
<dd>
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
<div class="description">
|
|
327
|
+
A POI was deselected in your building.
|
|
328
|
+
</div>
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
<div class="container-params">
|
|
339
|
+
<h5>Parameters:</h5>
|
|
340
|
+
|
|
341
|
+
<table class="params">
|
|
342
|
+
<thead>
|
|
343
|
+
<tr>
|
|
344
|
+
|
|
345
|
+
<th>Name</th>
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
<th>Type</th>
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
<th class="last">Description</th>
|
|
355
|
+
</tr>
|
|
356
|
+
</thead>
|
|
357
|
+
|
|
358
|
+
<tbody>
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
<tr>
|
|
362
|
+
|
|
363
|
+
<td class="name"><code>cb</code></td>
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
<td class="type">
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
<span class="param-type">function</span>
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
</td>
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
<td class="description last">A callback that returns a <a href="global.html#PoiDeselectedResult">PoiDeselectedResult</a> by its parameters.</td>
|
|
380
|
+
</tr>
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
</tbody>
|
|
384
|
+
</table>
|
|
385
|
+
|
|
386
|
+
</div>
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
<dl class="details">
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
</dl>
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
</dd>
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
<dt>
|
|
446
|
+
|
|
447
|
+
<h4 class="name" id="onPoiSelected">
|
|
448
|
+
|
|
449
|
+
<span class="type-signature"></span>onPoiSelected<span class="signature">(cb)</span><span class="type-signature"></span>
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
<div class="container-source members">
|
|
453
|
+
<code><a href="map-view-controller.js.html">map-view-controller.js</a></code>,
|
|
454
|
+
<code><a href="map-view-controller.js.html#line308">line 308</a></code>
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
</h4>
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
</dt>
|
|
462
|
+
<dd>
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<div class="description">
|
|
466
|
+
A POI was selected in your building.
|
|
467
|
+
</div>
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
<div class="container-params">
|
|
478
|
+
<h5>Parameters:</h5>
|
|
479
|
+
|
|
480
|
+
<table class="params">
|
|
481
|
+
<thead>
|
|
482
|
+
<tr>
|
|
483
|
+
|
|
484
|
+
<th>Name</th>
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
<th>Type</th>
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
<th class="last">Description</th>
|
|
494
|
+
</tr>
|
|
495
|
+
</thead>
|
|
496
|
+
|
|
497
|
+
<tbody>
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
<tr>
|
|
501
|
+
|
|
502
|
+
<td class="name"><code>cb</code></td>
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
<td class="type">
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
<span class="param-type">function</span>
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
</td>
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
<td class="description last">A callback that returns a <a href="global.html#PoiSelectedResult">PoiSelectedResult</a> by its parameters.</td>
|
|
519
|
+
</tr>
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
</tbody>
|
|
523
|
+
</table>
|
|
524
|
+
|
|
525
|
+
</div>
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
<dl class="details">
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
</dl>
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
</dd>
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
128
584
|
<dt>
|
|
129
585
|
|
|
130
586
|
<h4 class="name" id="selectPoi">
|
|
@@ -134,7 +590,7 @@
|
|
|
134
590
|
|
|
135
591
|
<div class="container-source members">
|
|
136
592
|
<code><a href="map-view-controller.js.html">map-view-controller.js</a></code>,
|
|
137
|
-
<code><a href="map-view-controller.js.html#
|
|
593
|
+
<code><a href="map-view-controller.js.html#line274">line 274</a></code>
|
|
138
594
|
</div>
|
|
139
595
|
|
|
140
596
|
</h4>
|