@situm/cordova 3.0.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.
Files changed (313) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/CHANGELOG_UNRELEASED.md +28 -0
  3. package/Jenkinsfile +84 -0
  4. package/LICENSE +21 -0
  5. package/README.md +472 -0
  6. package/azure/common-steps.yaml +5 -0
  7. package/azure-pipelines.yml +336 -0
  8. package/docs/JSDoc/MapView.html +300 -0
  9. package/docs/JSDoc/MapViewControllerImpl.html +299 -0
  10. package/docs/JSDoc/Situm.html +5257 -0
  11. package/docs/JSDoc/android_Interfaces.js.html +825 -0
  12. package/docs/JSDoc/android_situm.js.html +380 -0
  13. package/docs/JSDoc/fonts/glyphicons-halflings-regular.eot +0 -0
  14. package/docs/JSDoc/fonts/glyphicons-halflings-regular.svg +288 -0
  15. package/docs/JSDoc/fonts/glyphicons-halflings-regular.ttf +0 -0
  16. package/docs/JSDoc/fonts/glyphicons-halflings-regular.woff +0 -0
  17. package/docs/JSDoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
  18. package/docs/JSDoc/global.html +7538 -0
  19. package/docs/JSDoc/img/toast-ui.png +0 -0
  20. package/docs/JSDoc/index.html +90 -0
  21. package/docs/JSDoc/map-view-controller.js.html +307 -0
  22. package/docs/JSDoc/map-view.js.html +172 -0
  23. package/docs/JSDoc/scripts/jquery.min.js +2 -0
  24. package/docs/JSDoc/scripts/linenumber.js +30 -0
  25. package/docs/JSDoc/scripts/prettify/Apache-License-2.0.txt +202 -0
  26. package/docs/JSDoc/scripts/prettify/lang-css.js +2 -0
  27. package/docs/JSDoc/scripts/prettify/prettify.js +28 -0
  28. package/docs/JSDoc/scripts/tui-doc.js +200 -0
  29. package/docs/JSDoc/styles/bootstrap.min.css +6 -0
  30. package/docs/JSDoc/styles/custom.css +23 -0
  31. package/docs/JSDoc/styles/prettify-jsdoc.css +111 -0
  32. package/docs/JSDoc/styles/prettify-tomorrow.css +132 -0
  33. package/docs/JSDoc/styles/tui-doc.css +485 -0
  34. package/docs/conf.json +28 -0
  35. package/docs/getting-started.md +298 -0
  36. package/docs/imagotype-SITUM-transparent-90.png +0 -0
  37. package/docs/static/styles/custom.css +23 -0
  38. package/package.json +60 -0
  39. package/plugin.xml +102 -0
  40. package/scripts/update_changelog.sh +22 -0
  41. package/src/android/app/build.gradle +51 -0
  42. package/src/android/app/proguard-rules.pro +21 -0
  43. package/src/android/app/src/main/AndroidManifest.xml +11 -0
  44. package/src/android/app/src/main/java/es/situm/plugin/DateUtils.java +15 -0
  45. package/src/android/app/src/main/java/es/situm/plugin/PluginHelper.java +919 -0
  46. package/src/android/app/src/main/java/es/situm/plugin/SitumMapper.java +968 -0
  47. package/src/android/app/src/main/java/es/situm/plugin/SitumPlugin.java +109 -0
  48. package/src/android/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
  49. package/src/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
  50. package/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
  51. package/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
  52. package/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  53. package/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  54. package/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  55. package/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  56. package/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  57. package/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  58. package/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  59. package/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  60. package/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  61. package/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  62. package/src/android/app/src/main/res/values/colors.xml +6 -0
  63. package/src/android/app/src/main/res/values/strings.xml +3 -0
  64. package/src/android/app/src/main/res/values/styles.xml +11 -0
  65. package/src/android/app/src/test/java/es/situm/plugin/PluginHelperTest.java +27 -0
  66. package/src/android/app/src/test/java/es/situm/plugin/SitumMapperTest.java +1485 -0
  67. package/src/android/app/src/test/java/es/situm/plugin/angle/AngleCreator.java +46 -0
  68. package/src/android/app/src/test/java/es/situm/plugin/bounds/BoundsCreator.java +50 -0
  69. package/src/android/app/src/test/java/es/situm/plugin/building/BuildingCreator.java +76 -0
  70. package/src/android/app/src/test/java/es/situm/plugin/cartesianCoordinate/CartesianCoordinateCreator.java +31 -0
  71. package/src/android/app/src/test/java/es/situm/plugin/circle/CircleCreator.java +41 -0
  72. package/src/android/app/src/test/java/es/situm/plugin/coordinate/CoordinateCreator.java +32 -0
  73. package/src/android/app/src/test/java/es/situm/plugin/dimensions/DimensionsCreator.java +31 -0
  74. package/src/android/app/src/test/java/es/situm/plugin/directionsRequest/DirectionsRequestCreator.java +105 -0
  75. package/src/android/app/src/test/java/es/situm/plugin/event/EventCreator.java +108 -0
  76. package/src/android/app/src/test/java/es/situm/plugin/floor/FloorCreator.java +58 -0
  77. package/src/android/app/src/test/java/es/situm/plugin/indication/IndicationCreator.java +40 -0
  78. package/src/android/app/src/test/java/es/situm/plugin/location/LocationCreator.java +197 -0
  79. package/src/android/app/src/test/java/es/situm/plugin/locationRequest/LocationRequestCreator.java +45 -0
  80. package/src/android/app/src/test/java/es/situm/plugin/locationStatus/LocationStatusCreator.java +211 -0
  81. package/src/android/app/src/test/java/es/situm/plugin/navigationProgress/NavigationProgressCreator.java +154 -0
  82. package/src/android/app/src/test/java/es/situm/plugin/poi/PoiCreator.java +126 -0
  83. package/src/android/app/src/test/java/es/situm/plugin/poiCategory/PoiCategoryCreator.java +38 -0
  84. package/src/android/app/src/test/java/es/situm/plugin/point/PointCreator.java +200 -0
  85. package/src/android/app/src/test/java/es/situm/plugin/route/RouteCreator.java +142 -0
  86. package/src/android/app/src/test/java/es/situm/plugin/routeStep/RouteStepCreator.java +173 -0
  87. package/src/android/app/src/test/java/es/situm/plugin/situmConversionArea/SitumConversionAreaCreator.java +35 -0
  88. package/src/android/build.gradle +31 -0
  89. package/src/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  90. package/src/android/gradle/wrapper/gradle-wrapper.properties +6 -0
  91. package/src/android/gradle.properties +16 -0
  92. package/src/android/gradlew +172 -0
  93. package/src/android/gradlew.bat +84 -0
  94. package/src/android/settings.gradle +3 -0
  95. package/src/android/situm.gradle +19 -0
  96. package/src/ios/Classes/Private/CDVDebug.h +25 -0
  97. package/src/ios/Classes/Private/CDVJSON_private.h +31 -0
  98. package/src/ios/Classes/Private/CDVJSON_private.m +99 -0
  99. package/src/ios/Classes/Private/CDVPlugin+Private.h +24 -0
  100. package/src/ios/Classes/Private/CDVPlugins/CDVGestureHandler/CDVGestureHandler.h +26 -0
  101. package/src/ios/Classes/Private/CDVPlugins/CDVGestureHandler/CDVGestureHandler.m +70 -0
  102. package/src/ios/Classes/Private/CDVPlugins/CDVHandleOpenURL/CDVHandleOpenURL.h +27 -0
  103. package/src/ios/Classes/Private/CDVPlugins/CDVHandleOpenURL/CDVHandleOpenURL.m +86 -0
  104. package/src/ios/Classes/Private/CDVPlugins/CDVIntentAndNavigationFilter/CDVIntentAndNavigationFilter.h +34 -0
  105. package/src/ios/Classes/Private/CDVPlugins/CDVIntentAndNavigationFilter/CDVIntentAndNavigationFilter.m +153 -0
  106. package/src/ios/Classes/Private/CDVPlugins/CDVLocalStorage/CDVLocalStorage.h +50 -0
  107. package/src/ios/Classes/Private/CDVPlugins/CDVLocalStorage/CDVLocalStorage.m +487 -0
  108. package/src/ios/Classes/Private/CDVPlugins/CDVLogger/CDVLogger.h +26 -0
  109. package/src/ios/Classes/Private/CDVPlugins/CDVLogger/CDVLogger.m +37 -0
  110. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewDelegate.h +41 -0
  111. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewDelegate.m +399 -0
  112. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewEngine.h +27 -0
  113. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m +202 -0
  114. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.h +29 -0
  115. package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.m +153 -0
  116. package/src/ios/Classes/Public/CDV.h +32 -0
  117. package/src/ios/Classes/Public/CDVAppDelegate.h +28 -0
  118. package/src/ios/Classes/Public/CDVAppDelegate.m +118 -0
  119. package/src/ios/Classes/Public/CDVAvailability.h +111 -0
  120. package/src/ios/Classes/Public/CDVAvailabilityDeprecated.h +26 -0
  121. package/src/ios/Classes/Public/CDVCommandDelegate.h +51 -0
  122. package/src/ios/Classes/Public/CDVCommandDelegateImpl.h +36 -0
  123. package/src/ios/Classes/Public/CDVCommandDelegateImpl.m +186 -0
  124. package/src/ios/Classes/Public/CDVCommandQueue.h +39 -0
  125. package/src/ios/Classes/Public/CDVCommandQueue.m +194 -0
  126. package/src/ios/Classes/Public/CDVConfigParser.h +30 -0
  127. package/src/ios/Classes/Public/CDVConfigParser.m +81 -0
  128. package/src/ios/Classes/Public/CDVInvokedUrlCommand.h +52 -0
  129. package/src/ios/Classes/Public/CDVInvokedUrlCommand.m +116 -0
  130. package/src/ios/Classes/Public/CDVPlugin+Resources.h +39 -0
  131. package/src/ios/Classes/Public/CDVPlugin+Resources.m +38 -0
  132. package/src/ios/Classes/Public/CDVPlugin.h +85 -0
  133. package/src/ios/Classes/Public/CDVPlugin.m +202 -0
  134. package/src/ios/Classes/Public/CDVPluginResult.h +66 -0
  135. package/src/ios/Classes/Public/CDVPluginResult.m +186 -0
  136. package/src/ios/Classes/Public/CDVScreenOrientationDelegate.h +33 -0
  137. package/src/ios/Classes/Public/CDVTimer.h +27 -0
  138. package/src/ios/Classes/Public/CDVTimer.m +123 -0
  139. package/src/ios/Classes/Public/CDVURLProtocol.h +27 -0
  140. package/src/ios/Classes/Public/CDVURLProtocol.m +113 -0
  141. package/src/ios/Classes/Public/CDVUserAgentUtil.h +27 -0
  142. package/src/ios/Classes/Public/CDVUserAgentUtil.m +124 -0
  143. package/src/ios/Classes/Public/CDVViewController.h +92 -0
  144. package/src/ios/Classes/Public/CDVViewController.m +821 -0
  145. package/src/ios/Classes/Public/CDVWebViewEngineProtocol.h +42 -0
  146. package/src/ios/Classes/Public/CDVWhitelist.h +34 -0
  147. package/src/ios/Classes/Public/CDVWhitelist.m +285 -0
  148. package/src/ios/Classes/Public/NSDictionary+CordovaPreferences.h +35 -0
  149. package/src/ios/Classes/Public/NSDictionary+CordovaPreferences.m +63 -0
  150. package/src/ios/Classes/Public/NSMutableArray+QueueAdditions.h +29 -0
  151. package/src/ios/Classes/Public/NSMutableArray+QueueAdditions.m +58 -0
  152. package/src/ios/Cordova/Cordova.h +51 -0
  153. package/src/ios/Cordova/Info.plist +24 -0
  154. package/src/ios/Podfile +5 -0
  155. package/src/ios/SitumCordovaPlugin.xcodeproj/project.pbxproj +1324 -0
  156. package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  157. package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  158. package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
  159. package/src/ios/SitumCordovaPlugin.xcodeproj/xcshareddata/xcschemes/CordovaLib.xcscheme +100 -0
  160. package/src/ios/SitumCordovaPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  161. package/src/ios/SitumCordovaPlugin_Prefix.pch +22 -0
  162. package/src/ios/VERSION +1 -0
  163. package/src/ios/cordova.js +2432 -0
  164. package/src/ios/situmcordovaplugin/AppDelegate.h +22 -0
  165. package/src/ios/situmcordovaplugin/AppDelegate.m +98 -0
  166. package/src/ios/situmcordovaplugin/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
  167. package/src/ios/situmcordovaplugin/Base.lproj/LaunchScreen.storyboard +25 -0
  168. package/src/ios/situmcordovaplugin/Base.lproj/Main.storyboard +24 -0
  169. package/src/ios/situmcordovaplugin/Constants.h +14 -0
  170. package/src/ios/situmcordovaplugin/Constants.m +14 -0
  171. package/src/ios/situmcordovaplugin/Info.plist +45 -0
  172. package/src/ios/situmcordovaplugin/SITUtils.h +7 -0
  173. package/src/ios/situmcordovaplugin/SITUtils.m +13 -0
  174. package/src/ios/situmcordovaplugin/SitumLocationWrapper.h +109 -0
  175. package/src/ios/situmcordovaplugin/SitumLocationWrapper.m +983 -0
  176. package/src/ios/situmcordovaplugin/SitumPlugin.h +41 -0
  177. package/src/ios/situmcordovaplugin/SitumPlugin.m +752 -0
  178. package/src/ios/situmcordovaplugin/ViewController.h +15 -0
  179. package/src/ios/situmcordovaplugin/ViewController.m +29 -0
  180. package/src/ios/situmcordovaplugin/main.m +16 -0
  181. package/src/ios/situmcordovaplugin/situmcordovaplugin.xcdatamodeld/.xccurrentversion +8 -0
  182. package/src/ios/situmcordovaplugin/situmcordovaplugin.xcdatamodeld/situmcordovaplugin.xcdatamodel/contents +4 -0
  183. package/src/ios/situmcordovaplugintests/AngleTests.m +53 -0
  184. package/src/ios/situmcordovaplugintests/BoundTests.m +51 -0
  185. package/src/ios/situmcordovaplugintests/BuildingTests.m +41 -0
  186. package/src/ios/situmcordovaplugintests/CartesianCoordinateTests.m +42 -0
  187. package/src/ios/situmcordovaplugintests/ConversionAreaTests.m +43 -0
  188. package/src/ios/situmcordovaplugintests/CoordinateTests.m +42 -0
  189. package/src/ios/situmcordovaplugintests/DimensionTests.m +43 -0
  190. package/src/ios/situmcordovaplugintests/EventTests.m +42 -0
  191. package/src/ios/situmcordovaplugintests/FloorTests.m +52 -0
  192. package/src/ios/situmcordovaplugintests/Info.plist +38 -0
  193. package/src/ios/situmcordovaplugintests/InputTests/DirectionsRequestTest.m +108 -0
  194. package/src/ios/situmcordovaplugintests/InputTests/InputCartesianCoordinateTests.m +45 -0
  195. package/src/ios/situmcordovaplugintests/InputTests/InputCoordinateTests.m +45 -0
  196. package/src/ios/situmcordovaplugintests/InputTests/InputFloorTests.m +59 -0
  197. package/src/ios/situmcordovaplugintests/InputTests/InputIndicationTests.m +45 -0
  198. package/src/ios/situmcordovaplugintests/InputTests/InputLocationTests.m +163 -0
  199. package/src/ios/situmcordovaplugintests/InputTests/InputPoiCategoryTests.m +46 -0
  200. package/src/ios/situmcordovaplugintests/InputTests/InputPointTests.m +137 -0
  201. package/src/ios/situmcordovaplugintests/InputTests/LocationRequestTest.m +79 -0
  202. package/src/ios/situmcordovaplugintests/LocationStatusTests.m +60 -0
  203. package/src/ios/situmcordovaplugintests/LocationTests.m +114 -0
  204. package/src/ios/situmcordovaplugintests/NavigationProgressTests.m +50 -0
  205. package/src/ios/situmcordovaplugintests/PoiCategoryIconTests.m +43 -0
  206. package/src/ios/situmcordovaplugintests/PoiCategoryTests.m +42 -0
  207. package/src/ios/situmcordovaplugintests/PoiTests.m +83 -0
  208. package/src/ios/situmcordovaplugintests/PointTests.m +107 -0
  209. package/src/ios/situmcordovaplugintests/RouteStepTests.m +78 -0
  210. package/src/ios/situmcordovaplugintests/RouteTests.m +42 -0
  211. package/src/ios/situmcordovaplugintests/SitumCreatorTests.h +91 -0
  212. package/src/ios/situmcordovaplugintests/SitumCreatorTests.m +928 -0
  213. package/src/ios/situmcordovaplugintests/TestingHelper.h +48 -0
  214. package/src/ios/situmcordovaplugintests/TestingHelper.m +342 -0
  215. package/src/ios/situmcordovaplugintests/indicationTests.m +43 -0
  216. package/tests/common-resources/angle/angle1.json +6 -0
  217. package/tests/common-resources/angle/angle2.json +6 -0
  218. package/tests/common-resources/bounds/bounds1.json +18 -0
  219. package/tests/common-resources/bounds/bounds2.json +18 -0
  220. package/tests/common-resources/building/building1.json +64 -0
  221. package/tests/common-resources/cartesianCoordinate/cartesianCoordinate1.json +4 -0
  222. package/tests/common-resources/circle/circle1.json +17 -0
  223. package/tests/common-resources/coordinate/coordinate1.json +4 -0
  224. package/tests/common-resources/dimensions/dimensions1.json +4 -0
  225. package/tests/common-resources/directionsRequest/directionsRequest1.json +166 -0
  226. package/tests/common-resources/directionsRequest/directionsRequest2.json +167 -0
  227. package/tests/common-resources/directionsRequest/directionsRequest3.json +166 -0
  228. package/tests/common-resources/directionsRequest/directionsRequest4.json +166 -0
  229. package/tests/common-resources/directionsRequest/directionsRequest5.json +167 -0
  230. package/tests/common-resources/directionsRequest/directionsRequest6.json +153 -0
  231. package/tests/common-resources/events/event1.json +66 -0
  232. package/tests/common-resources/floor/floor1.json +13 -0
  233. package/tests/common-resources/floor/floor2.json +13 -0
  234. package/tests/common-resources/indication/indication1.json +10 -0
  235. package/tests/common-resources/location/location1.json +48 -0
  236. package/tests/common-resources/location/location10.json +48 -0
  237. package/tests/common-resources/location/location2.json +48 -0
  238. package/tests/common-resources/location/location3.json +48 -0
  239. package/tests/common-resources/location/location4.json +48 -0
  240. package/tests/common-resources/location/location5.json +48 -0
  241. package/tests/common-resources/location/location6.json +48 -0
  242. package/tests/common-resources/location/location7.json +48 -0
  243. package/tests/common-resources/location/location8.json +48 -0
  244. package/tests/common-resources/location/location9.json +48 -0
  245. package/tests/common-resources/locationRequest/locationRequest1.json +6 -0
  246. package/tests/common-resources/locationRequest/locationRequest2.json +32 -0
  247. package/tests/common-resources/locationRequest/locationRequest3.json +33 -0
  248. package/tests/common-resources/locationRequest/locationRequest4.json +31 -0
  249. package/tests/common-resources/locationStatus/locationStatus1.json +4 -0
  250. package/tests/common-resources/locationStatus/locationStatus10.json +4 -0
  251. package/tests/common-resources/locationStatus/locationStatus11.json +4 -0
  252. package/tests/common-resources/locationStatus/locationStatus12.json +4 -0
  253. package/tests/common-resources/locationStatus/locationStatus13.json +4 -0
  254. package/tests/common-resources/locationStatus/locationStatus2.json +4 -0
  255. package/tests/common-resources/locationStatus/locationStatus3.json +4 -0
  256. package/tests/common-resources/locationStatus/locationStatus4.json +4 -0
  257. package/tests/common-resources/locationStatus/locationStatus5.json +4 -0
  258. package/tests/common-resources/locationStatus/locationStatus6.json +4 -0
  259. package/tests/common-resources/locationStatus/locationStatus7.json +4 -0
  260. package/tests/common-resources/locationStatus/locationStatus8.json +4 -0
  261. package/tests/common-resources/locationStatus/locationStatus9.json +4 -0
  262. package/tests/common-resources/navigationProgress/navigationProgress1.json +77 -0
  263. package/tests/common-resources/navigationProgress/navigationProgress2.json +77 -0
  264. package/tests/common-resources/poi/poi1.json +35 -0
  265. package/tests/common-resources/poi/poi2.json +35 -0
  266. package/tests/common-resources/poi/poi3.json +35 -0
  267. package/tests/common-resources/poi/poi4.json +38 -0
  268. package/tests/common-resources/poi/poi5.json +35 -0
  269. package/tests/common-resources/poiCategory/poiCategory1.json +7 -0
  270. package/tests/common-resources/poiCategoryIcon/poiCategoryIcon1.json +1 -0
  271. package/tests/common-resources/poiCategoryIcon/poiCategoryIcon1.png +0 -0
  272. package/tests/common-resources/point/point1.json +14 -0
  273. package/tests/common-resources/point/point2.json +14 -0
  274. package/tests/common-resources/point/point3.json +14 -0
  275. package/tests/common-resources/point/point4.json +14 -0
  276. package/tests/common-resources/point/point5.json +14 -0
  277. package/tests/common-resources/point/point6.json +14 -0
  278. package/tests/common-resources/point/point7.json +14 -0
  279. package/tests/common-resources/point/point8.json +14 -0
  280. package/tests/common-resources/route/route1.json +530 -0
  281. package/tests/common-resources/routeStep/routeStep1.json +35 -0
  282. package/tests/common-resources/routeStep/routeStep2.json +35 -0
  283. package/tests/common-resources/routeStep/routeStep3.json +35 -0
  284. package/tests/common-resources/routeStep/routeStep4.json +35 -0
  285. package/tests/common-resources/routeStep/routeStep5.json +35 -0
  286. package/tests/common-resources/situmConversionArea/situmConversionArea1.json +19 -0
  287. package/tests/js/resources/fetchBuildings.json +176 -0
  288. package/tests/js/resources/fetchEventsFromBuilding.json +201 -0
  289. package/tests/js/resources/fetchFloorsFromBuilding.json +34 -0
  290. package/tests/js/resources/fetchIndoorPOIsFromBuilding.json +574 -0
  291. package/tests/js/resources/fetchMapFromFloor.json +3 -0
  292. package/tests/js/resources/fetchOutdoorPOIsFromBuilding.json +68 -0
  293. package/tests/js/resources/fetchPoiCategories.json +72 -0
  294. package/tests/js/resources/fetchPoiCategoryIconNormal.json +3 -0
  295. package/tests/js/resources/fetchPoiCategoryIconSelected.json +3 -0
  296. package/tests/js/resources/requestDirections.json +1167 -0
  297. package/tests/js/resources/startPositioning/0_starting.json +4 -0
  298. package/tests/js/resources/startPositioning/1_preparingPositioningModel.json +4 -0
  299. package/tests/js/resources/startPositioning/2_startingPositioning.json +4 -0
  300. package/tests/js/resources/startPositioning/3_calculating.json +4 -0
  301. package/tests/js/resources/startPositioning/4_position.json +48 -0
  302. package/tests/js/resources/startPositioning/5_position.json +48 -0
  303. package/tests/js/test.js +416 -0
  304. package/tests/scripts/clean_android_resources.sh +3 -0
  305. package/tests/scripts/clean_ios_resources.sh +3 -0
  306. package/tests/scripts/copy_android_resources.sh +3 -0
  307. package/tests/scripts/copy_ios_resources.sh +3 -0
  308. package/tests/scripts/self-destruct.sh +1 -0
  309. package/www/android/Interfaces.js +742 -0
  310. package/www/android/situm.js +296 -0
  311. package/www/ios/situm.js +99 -0
  312. package/www/map-view-controller.js +223 -0
  313. package/www/map-view.js +88 -0
@@ -0,0 +1,1167 @@
1
+ {
2
+ "edges": [
3
+ {
4
+ "distance": 0.8100408930546814,
5
+ "distanceToGoal": 30.550161407861694,
6
+ "from": {
7
+ "buildingIdentifier": "3468",
8
+ "cartesianCoordinate": {
9
+ "x": 58.572593688964844,
10
+ "y": 27.644115447998047
11
+ },
12
+ "coordinate": {
13
+ "latitude": 42.872254566658526,
14
+ "longitude": -8.563516547736889
15
+ },
16
+ "floorIdentifier": "5762",
17
+ "isIndoor": true,
18
+ "isOutdoor": false
19
+ },
20
+ "id": 1,
21
+ "TO": {
22
+ "buildingIdentifier": "3468",
23
+ "cartesianCoordinate": {
24
+ "x": 57.77776333034814,
25
+ "y": 27.800355485895068
26
+ },
27
+ "coordinate": {
28
+ "latitude": 42.8722544436486,
29
+ "longitude": -8.563506635536811
30
+ },
31
+ "floorIdentifier": "5762",
32
+ "isIndoor": true,
33
+ "isOutdoor": false
34
+ },
35
+ "isFirst": true,
36
+ "isLast": false
37
+ },
38
+ {
39
+ "distance": 4.900666732668731,
40
+ "distanceToGoal": 29.740120514807014,
41
+ "from": {
42
+ "buildingIdentifier": "3468",
43
+ "cartesianCoordinate": {
44
+ "x": 57.77776333034814,
45
+ "y": 27.800355485895068
46
+ },
47
+ "coordinate": {
48
+ "latitude": 42.8722544436486,
49
+ "longitude": -8.563506635536811
50
+ },
51
+ "floorIdentifier": "5762",
52
+ "isIndoor": true,
53
+ "isOutdoor": false
54
+ },
55
+ "id": 2,
56
+ "TO": {
57
+ "buildingIdentifier": "3468",
58
+ "cartesianCoordinate": {
59
+ "x": 58.723,
60
+ "y": 32.609
61
+ },
62
+ "coordinate": {
63
+ "latitude": 42.87221033563324,
64
+ "longitude": -8.56350764727068
65
+ },
66
+ "floorIdentifier": "5762",
67
+ "isIndoor": true,
68
+ "isOutdoor": false
69
+ },
70
+ "isFirst": false,
71
+ "isLast": false
72
+ },
73
+ {
74
+ "distance": 14.534193751288717,
75
+ "distanceToGoal": 24.839453782138282,
76
+ "from": {
77
+ "buildingIdentifier": "3468",
78
+ "cartesianCoordinate": {
79
+ "x": 58.723,
80
+ "y": 32.609
81
+ },
82
+ "coordinate": {
83
+ "latitude": 42.87221033563324,
84
+ "longitude": -8.56350764727068
85
+ },
86
+ "floorIdentifier": "5762",
87
+ "isIndoor": true,
88
+ "isOutdoor": false
89
+ },
90
+ "id": 3,
91
+ "TO": {
92
+ "buildingIdentifier": "3468",
93
+ "cartesianCoordinate": {
94
+ "x": 44.555,
95
+ "y": 35.851
96
+ },
97
+ "coordinate": {
98
+ "latitude": 42.87220409371024,
99
+ "longitude": -8.563329973432605
100
+ },
101
+ "floorIdentifier": "5762",
102
+ "isIndoor": true,
103
+ "isOutdoor": false
104
+ },
105
+ "isFirst": false,
106
+ "isLast": false
107
+ },
108
+ {
109
+ "distance": 2.0978450848430144,
110
+ "distanceToGoal": 10.305260030849565,
111
+ "from": {
112
+ "buildingIdentifier": "3468",
113
+ "cartesianCoordinate": {
114
+ "x": 44.555,
115
+ "y": 35.851
116
+ },
117
+ "coordinate": {
118
+ "latitude": 42.87220409371024,
119
+ "longitude": -8.563329973432605
120
+ },
121
+ "floorIdentifier": "5762",
122
+ "isIndoor": true,
123
+ "isOutdoor": false
124
+ },
125
+ "id": 4,
126
+ "TO": {
127
+ "buildingIdentifier": "3468",
128
+ "cartesianCoordinate": {
129
+ "x": 42.478,
130
+ "y": 36.146
131
+ },
132
+ "coordinate": {
133
+ "latitude": 42.872204776025136,
134
+ "longitude": -8.563304315794491
135
+ },
136
+ "floorIdentifier": "5762",
137
+ "isIndoor": true,
138
+ "isOutdoor": false
139
+ },
140
+ "isFirst": false,
141
+ "isLast": false
142
+ },
143
+ {
144
+ "distance": 2.4473046398027396,
145
+ "distanceToGoal": 8.207414946006551,
146
+ "from": {
147
+ "buildingIdentifier": "3468",
148
+ "cartesianCoordinate": {
149
+ "x": 42.478,
150
+ "y": 36.146
151
+ },
152
+ "coordinate": {
153
+ "latitude": 42.872204776025136,
154
+ "longitude": -8.563304315794491
155
+ },
156
+ "floorIdentifier": "5762",
157
+ "isIndoor": true,
158
+ "isOutdoor": false
159
+ },
160
+ "id": 5,
161
+ "TO": {
162
+ "buildingIdentifier": "3468",
163
+ "cartesianCoordinate": {
164
+ "x": 40.916,
165
+ "y": 34.262
166
+ },
167
+ "coordinate": {
168
+ "latitude": 42.87222394844232,
169
+ "longitude": -8.563289563742694
170
+ },
171
+ "floorIdentifier": "5762",
172
+ "isIndoor": true,
173
+ "isOutdoor": false
174
+ },
175
+ "isFirst": false,
176
+ "isLast": false
177
+ },
178
+ {
179
+ "distance": 2.447818824995018,
180
+ "distanceToGoal": 5.760110306203813,
181
+ "from": {
182
+ "buildingIdentifier": "3468",
183
+ "cartesianCoordinate": {
184
+ "x": 40.916,
185
+ "y": 34.262
186
+ },
187
+ "coordinate": {
188
+ "latitude": 42.87222394844232,
189
+ "longitude": -8.563289563742694
190
+ },
191
+ "floorIdentifier": "5762",
192
+ "isIndoor": true,
193
+ "isOutdoor": false
194
+ },
195
+ "id": 6,
196
+ "TO": {
197
+ "buildingIdentifier": "3468",
198
+ "cartesianCoordinate": {
199
+ "x": 38.952,
200
+ "y": 35.723
201
+ },
202
+ "coordinate": {
203
+ "latitude": 42.87221411983018,
204
+ "longitude": -8.563262751558018
205
+ },
206
+ "floorIdentifier": "5762",
207
+ "isIndoor": true,
208
+ "isOutdoor": false
209
+ },
210
+ "isFirst": false,
211
+ "isLast": false
212
+ },
213
+ {
214
+ "distance": 0.3774453602841057,
215
+ "distanceToGoal": 3.3122914812087947,
216
+ "from": {
217
+ "buildingIdentifier": "3468",
218
+ "cartesianCoordinate": {
219
+ "x": 38.952,
220
+ "y": 35.723
221
+ },
222
+ "coordinate": {
223
+ "latitude": 42.87221411983018,
224
+ "longitude": -8.563262751558018
225
+ },
226
+ "floorIdentifier": "5762",
227
+ "isIndoor": true,
228
+ "isOutdoor": false
229
+ },
230
+ "id": 7,
231
+ "TO": {
232
+ "buildingIdentifier": "3468",
233
+ "cartesianCoordinate": {
234
+ "x": 38.919,
235
+ "y": 36.099
236
+ },
237
+ "coordinate": {
238
+ "latitude": 42.872210840588586,
239
+ "longitude": -8.56326154276224
240
+ },
241
+ "floorIdentifier": "5763",
242
+ "isIndoor": true,
243
+ "isOutdoor": false
244
+ },
245
+ "isFirst": false,
246
+ "isLast": false
247
+ },
248
+ {
249
+ "distance": 1.016112690600804,
250
+ "distanceToGoal": 2.934846120924689,
251
+ "from": {
252
+ "buildingIdentifier": "3468",
253
+ "cartesianCoordinate": {
254
+ "x": 38.919,
255
+ "y": 36.099
256
+ },
257
+ "coordinate": {
258
+ "latitude": 42.872210840588586,
259
+ "longitude": -8.56326154276224
260
+ },
261
+ "floorIdentifier": "5763",
262
+ "isIndoor": true,
263
+ "isOutdoor": false
264
+ },
265
+ "id": 8,
266
+ "TO": {
267
+ "buildingIdentifier": "3468",
268
+ "cartesianCoordinate": {
269
+ "x": 38.473,
270
+ "y": 37.012
271
+ },
272
+ "coordinate": {
273
+ "latitude": 42.87220345855959,
274
+ "longitude": -8.563254199930139
275
+ },
276
+ "floorIdentifier": "5764",
277
+ "isIndoor": true,
278
+ "isOutdoor": false
279
+ },
280
+ "isFirst": false,
281
+ "isLast": false
282
+ },
283
+ {
284
+ "distance": 1.9187334303238852,
285
+ "distanceToGoal": 1.9187334303238852,
286
+ "from": {
287
+ "buildingIdentifier": "3468",
288
+ "cartesianCoordinate": {
289
+ "x": 38.473,
290
+ "y": 37.012
291
+ },
292
+ "coordinate": {
293
+ "latitude": 42.87220345855959,
294
+ "longitude": -8.563254199930139
295
+ },
296
+ "floorIdentifier": "5764",
297
+ "isIndoor": true,
298
+ "isOutdoor": false
299
+ },
300
+ "id": 9,
301
+ "TO": {
302
+ "buildingIdentifier": "3468",
303
+ "cartesianCoordinate": {
304
+ "x": 39.996693182751144,
305
+ "y": 35.84585375639239
306
+ },
307
+ "coordinate": {
308
+ "latitude": 42.87221137334114,
309
+ "longitude": -8.563275071638948
310
+ },
311
+ "floorIdentifier": "5764",
312
+ "isIndoor": true,
313
+ "isOutdoor": false
314
+ },
315
+ "isFirst": false,
316
+ "isLast": true
317
+ }
318
+ ],
319
+ "firstStep": {
320
+ "distance": 0.8100408930546814,
321
+ "distanceToGoal": 30.550161407861694,
322
+ "from": {
323
+ "buildingIdentifier": "3468",
324
+ "cartesianCoordinate": {
325
+ "x": 58.572593688964844,
326
+ "y": 27.644115447998047
327
+ },
328
+ "coordinate": {
329
+ "latitude": 42.872254566658526,
330
+ "longitude": -8.563516547736889
331
+ },
332
+ "floorIdentifier": "5762",
333
+ "isIndoor": true,
334
+ "isOutdoor": false
335
+ },
336
+ "id": 1,
337
+ "TO": {
338
+ "buildingIdentifier": "3468",
339
+ "cartesianCoordinate": {
340
+ "x": 57.77776333034814,
341
+ "y": 27.800355485895068
342
+ },
343
+ "coordinate": {
344
+ "latitude": 42.8722544436486,
345
+ "longitude": -8.563506635536811
346
+ },
347
+ "floorIdentifier": "5762",
348
+ "isIndoor": true,
349
+ "isOutdoor": false
350
+ },
351
+ "isFirst": true,
352
+ "isLast": false
353
+ },
354
+ "from": {
355
+ "buildingIdentifier": "3468",
356
+ "cartesianCoordinate": {
357
+ "x": 58.572593688964844,
358
+ "y": 27.644115447998047
359
+ },
360
+ "coordinate": {
361
+ "latitude": 42.872254566658526,
362
+ "longitude": -8.563516547736889
363
+ },
364
+ "floorIdentifier": "5762",
365
+ "isIndoor": true,
366
+ "isOutdoor": false
367
+ },
368
+ "indications": [
369
+ {
370
+ "distance": 0.8100408930546814,
371
+ "distanceToNextLevel": 0,
372
+ "indicationType": "TURN",
373
+ "orientation": 1.721745459105593,
374
+ "orientationType": "LEFT",
375
+ "stepIdxDestination": 1,
376
+ "stepIdxOrigin": 1,
377
+ "neededLevelChange": false,
378
+ "humanReadableMessage": "Gira a la izquierda y avanza 1 metro"
379
+ },
380
+ {
381
+ "distance": 4.900666732668731,
382
+ "distanceToNextLevel": 0,
383
+ "indicationType": "TURN",
384
+ "orientation": -1.5707963267948952,
385
+ "orientationType": "RIGHT",
386
+ "stepIdxDestination": 2,
387
+ "stepIdxOrigin": 2,
388
+ "neededLevelChange": false,
389
+ "humanReadableMessage": "Gira a la derecha y avanza 5 metros"
390
+ },
391
+ {
392
+ "distance": 16.63203883613173,
393
+ "distanceToNextLevel": 0,
394
+ "indicationType": "TURN",
395
+ "orientation": 1.6238038262491077,
396
+ "orientationType": "LEFT",
397
+ "stepIdxDestination": 4,
398
+ "stepIdxOrigin": 3,
399
+ "neededLevelChange": false,
400
+ "humanReadableMessage": "Gira a la izquierda y avanza 17 metros"
401
+ },
402
+ {
403
+ "distance": 2.4473046398027396,
404
+ "distanceToNextLevel": 0,
405
+ "indicationType": "TURN",
406
+ "orientation": 1.0196573959929276,
407
+ "orientationType": "LEFT",
408
+ "stepIdxDestination": 5,
409
+ "stepIdxOrigin": 5,
410
+ "neededLevelChange": false,
411
+ "humanReadableMessage": "Gira a la izquierda y avanza 3 metros"
412
+ },
413
+ {
414
+ "distance": 2.447818824995018,
415
+ "distanceToNextLevel": 0,
416
+ "indicationType": "TURN",
417
+ "orientation": -1.5181485334766163,
418
+ "orientationType": "RIGHT",
419
+ "stepIdxDestination": 6,
420
+ "stepIdxOrigin": 6,
421
+ "neededLevelChange": false,
422
+ "humanReadableMessage": "Gira a la derecha y avanza 3 metros"
423
+ },
424
+ {
425
+ "distance": 0.3774453602841057,
426
+ "distanceToNextLevel": 1,
427
+ "indicationType": "CHANGE_FLOOR",
428
+ "orientation": -0.8436754434076233,
429
+ "orientationType": "RIGHT",
430
+ "stepIdxDestination": 7,
431
+ "stepIdxOrigin": 7,
432
+ "neededLevelChange": true,
433
+ "humanReadableMessage": "Sube al piso 0",
434
+ "nextLevel": 0
435
+ },
436
+ {
437
+ "distance": 2.934846120924689,
438
+ "distanceToNextLevel": 1,
439
+ "indicationType": "CHANGE_FLOOR",
440
+ "orientation": 0,
441
+ "orientationType": "STRAIGHT",
442
+ "stepIdxDestination": 9,
443
+ "stepIdxOrigin": 8,
444
+ "neededLevelChange": true,
445
+ "humanReadableMessage": "Sube al piso 1",
446
+ "nextLevel": 1
447
+ }
448
+ ],
449
+ "lastStep": {
450
+ "distance": 1.9187334303238852,
451
+ "distanceToGoal": 1.9187334303238852,
452
+ "from": {
453
+ "buildingIdentifier": "3468",
454
+ "cartesianCoordinate": {
455
+ "x": 38.473,
456
+ "y": 37.012
457
+ },
458
+ "coordinate": {
459
+ "latitude": 42.87220345855959,
460
+ "longitude": -8.563254199930139
461
+ },
462
+ "floorIdentifier": "5764",
463
+ "isIndoor": true,
464
+ "isOutdoor": false
465
+ },
466
+ "id": 9,
467
+ "TO": {
468
+ "buildingIdentifier": "3468",
469
+ "cartesianCoordinate": {
470
+ "x": 39.996693182751144,
471
+ "y": 35.84585375639239
472
+ },
473
+ "coordinate": {
474
+ "latitude": 42.87221137334114,
475
+ "longitude": -8.563275071638948
476
+ },
477
+ "floorIdentifier": "5764",
478
+ "isIndoor": true,
479
+ "isOutdoor": false
480
+ },
481
+ "isFirst": false,
482
+ "isLast": true
483
+ },
484
+ "nodes": [
485
+ {
486
+ "buildingIdentifier": "3468",
487
+ "cartesianCoordinate": {
488
+ "x": 58.572593688964844,
489
+ "y": 27.644115447998047
490
+ },
491
+ "coordinate": {
492
+ "latitude": 42.872254566658526,
493
+ "longitude": -8.563516547736889
494
+ },
495
+ "floorIdentifier": "5762",
496
+ "isIndoor": true,
497
+ "isOutdoor": false
498
+ },
499
+ {
500
+ "buildingIdentifier": "3468",
501
+ "cartesianCoordinate": {
502
+ "x": 57.77776333034814,
503
+ "y": 27.800355485895068
504
+ },
505
+ "coordinate": {
506
+ "latitude": 42.8722544436486,
507
+ "longitude": -8.563506635536811
508
+ },
509
+ "floorIdentifier": "5762",
510
+ "isIndoor": true,
511
+ "isOutdoor": false
512
+ },
513
+ {
514
+ "buildingIdentifier": "3468",
515
+ "cartesianCoordinate": {
516
+ "x": 58.723,
517
+ "y": 32.609
518
+ },
519
+ "coordinate": {
520
+ "latitude": 42.87221033563324,
521
+ "longitude": -8.56350764727068
522
+ },
523
+ "floorIdentifier": "5762",
524
+ "isIndoor": true,
525
+ "isOutdoor": false
526
+ },
527
+ {
528
+ "buildingIdentifier": "3468",
529
+ "cartesianCoordinate": {
530
+ "x": 44.555,
531
+ "y": 35.851
532
+ },
533
+ "coordinate": {
534
+ "latitude": 42.87220409371024,
535
+ "longitude": -8.563329973432605
536
+ },
537
+ "floorIdentifier": "5762",
538
+ "isIndoor": true,
539
+ "isOutdoor": false
540
+ },
541
+ {
542
+ "buildingIdentifier": "3468",
543
+ "cartesianCoordinate": {
544
+ "x": 42.478,
545
+ "y": 36.146
546
+ },
547
+ "coordinate": {
548
+ "latitude": 42.872204776025136,
549
+ "longitude": -8.563304315794491
550
+ },
551
+ "floorIdentifier": "5762",
552
+ "isIndoor": true,
553
+ "isOutdoor": false
554
+ },
555
+ {
556
+ "buildingIdentifier": "3468",
557
+ "cartesianCoordinate": {
558
+ "x": 40.916,
559
+ "y": 34.262
560
+ },
561
+ "coordinate": {
562
+ "latitude": 42.87222394844232,
563
+ "longitude": -8.563289563742694
564
+ },
565
+ "floorIdentifier": "5762",
566
+ "isIndoor": true,
567
+ "isOutdoor": false
568
+ },
569
+ {
570
+ "buildingIdentifier": "3468",
571
+ "cartesianCoordinate": {
572
+ "x": 38.952,
573
+ "y": 35.723
574
+ },
575
+ "coordinate": {
576
+ "latitude": 42.87221411983018,
577
+ "longitude": -8.563262751558018
578
+ },
579
+ "floorIdentifier": "5762",
580
+ "isIndoor": true,
581
+ "isOutdoor": false
582
+ },
583
+ {
584
+ "buildingIdentifier": "3468",
585
+ "cartesianCoordinate": {
586
+ "x": 38.919,
587
+ "y": 36.099
588
+ },
589
+ "coordinate": {
590
+ "latitude": 42.872210840588586,
591
+ "longitude": -8.56326154276224
592
+ },
593
+ "floorIdentifier": "5763",
594
+ "isIndoor": true,
595
+ "isOutdoor": false
596
+ },
597
+ {
598
+ "buildingIdentifier": "3468",
599
+ "cartesianCoordinate": {
600
+ "x": 38.473,
601
+ "y": 37.012
602
+ },
603
+ "coordinate": {
604
+ "latitude": 42.87220345855959,
605
+ "longitude": -8.563254199930139
606
+ },
607
+ "floorIdentifier": "5764",
608
+ "isIndoor": true,
609
+ "isOutdoor": false
610
+ },
611
+ {
612
+ "buildingIdentifier": "3468",
613
+ "cartesianCoordinate": {
614
+ "x": 39.996693182751144,
615
+ "y": 35.84585375639239
616
+ },
617
+ "coordinate": {
618
+ "latitude": 42.87221137334114,
619
+ "longitude": -8.563275071638948
620
+ },
621
+ "floorIdentifier": "5764",
622
+ "isIndoor": true,
623
+ "isOutdoor": false
624
+ }
625
+ ],
626
+ "points": [
627
+ {
628
+ "buildingIdentifier": "3468",
629
+ "cartesianCoordinate": {
630
+ "x": 58.572593688964844,
631
+ "y": 27.644115447998047
632
+ },
633
+ "coordinate": {
634
+ "latitude": 42.872254566658526,
635
+ "longitude": -8.563516547736889
636
+ },
637
+ "floorIdentifier": "5762",
638
+ "isIndoor": true,
639
+ "isOutdoor": false
640
+ },
641
+ {
642
+ "buildingIdentifier": "3468",
643
+ "cartesianCoordinate": {
644
+ "x": 57.77776333034814,
645
+ "y": 27.800355485895068
646
+ },
647
+ "coordinate": {
648
+ "latitude": 42.8722544436486,
649
+ "longitude": -8.563506635536811
650
+ },
651
+ "floorIdentifier": "5762",
652
+ "isIndoor": true,
653
+ "isOutdoor": false
654
+ },
655
+ {
656
+ "buildingIdentifier": "3468",
657
+ "cartesianCoordinate": {
658
+ "x": 58.723,
659
+ "y": 32.609
660
+ },
661
+ "coordinate": {
662
+ "latitude": 42.87221033563324,
663
+ "longitude": -8.56350764727068
664
+ },
665
+ "floorIdentifier": "5762",
666
+ "isIndoor": true,
667
+ "isOutdoor": false
668
+ },
669
+ {
670
+ "buildingIdentifier": "3468",
671
+ "cartesianCoordinate": {
672
+ "x": 44.555,
673
+ "y": 35.851
674
+ },
675
+ "coordinate": {
676
+ "latitude": 42.87220409371024,
677
+ "longitude": -8.563329973432605
678
+ },
679
+ "floorIdentifier": "5762",
680
+ "isIndoor": true,
681
+ "isOutdoor": false
682
+ },
683
+ {
684
+ "buildingIdentifier": "3468",
685
+ "cartesianCoordinate": {
686
+ "x": 42.478,
687
+ "y": 36.146
688
+ },
689
+ "coordinate": {
690
+ "latitude": 42.872204776025136,
691
+ "longitude": -8.563304315794491
692
+ },
693
+ "floorIdentifier": "5762",
694
+ "isIndoor": true,
695
+ "isOutdoor": false
696
+ },
697
+ {
698
+ "buildingIdentifier": "3468",
699
+ "cartesianCoordinate": {
700
+ "x": 40.916,
701
+ "y": 34.262
702
+ },
703
+ "coordinate": {
704
+ "latitude": 42.87222394844232,
705
+ "longitude": -8.563289563742694
706
+ },
707
+ "floorIdentifier": "5762",
708
+ "isIndoor": true,
709
+ "isOutdoor": false
710
+ },
711
+ {
712
+ "buildingIdentifier": "3468",
713
+ "cartesianCoordinate": {
714
+ "x": 38.952,
715
+ "y": 35.723
716
+ },
717
+ "coordinate": {
718
+ "latitude": 42.87221411983018,
719
+ "longitude": -8.563262751558018
720
+ },
721
+ "floorIdentifier": "5762",
722
+ "isIndoor": true,
723
+ "isOutdoor": false
724
+ },
725
+ {
726
+ "buildingIdentifier": "3468",
727
+ "cartesianCoordinate": {
728
+ "x": 38.919,
729
+ "y": 36.099
730
+ },
731
+ "coordinate": {
732
+ "latitude": 42.872210840588586,
733
+ "longitude": -8.56326154276224
734
+ },
735
+ "floorIdentifier": "5763",
736
+ "isIndoor": true,
737
+ "isOutdoor": false
738
+ },
739
+ {
740
+ "buildingIdentifier": "3468",
741
+ "cartesianCoordinate": {
742
+ "x": 38.473,
743
+ "y": 37.012
744
+ },
745
+ "coordinate": {
746
+ "latitude": 42.87220345855959,
747
+ "longitude": -8.563254199930139
748
+ },
749
+ "floorIdentifier": "5764",
750
+ "isIndoor": true,
751
+ "isOutdoor": false
752
+ },
753
+ {
754
+ "buildingIdentifier": "3468",
755
+ "cartesianCoordinate": {
756
+ "x": 39.996693182751144,
757
+ "y": 35.84585375639239
758
+ },
759
+ "coordinate": {
760
+ "latitude": 42.87221137334114,
761
+ "longitude": -8.563275071638948
762
+ },
763
+ "floorIdentifier": "5764",
764
+ "isIndoor": true,
765
+ "isOutdoor": false
766
+ }
767
+ ],
768
+ "TO": {
769
+ "buildingIdentifier": "3468",
770
+ "cartesianCoordinate": {
771
+ "x": 39.7509433959792,
772
+ "y": 35.5247557150279
773
+ },
774
+ "coordinate": {
775
+ "latitude": 42.8722146084972,
776
+ "longitude": -8.56327280402184
777
+ },
778
+ "floorIdentifier": "5764",
779
+ "isIndoor": true,
780
+ "isOutdoor": false
781
+ },
782
+ "steps": [
783
+ {
784
+ "distance": 0.8100408930546814,
785
+ "distanceToGoal": 30.550161407861694,
786
+ "from": {
787
+ "buildingIdentifier": "3468",
788
+ "cartesianCoordinate": {
789
+ "x": 58.572593688964844,
790
+ "y": 27.644115447998047
791
+ },
792
+ "coordinate": {
793
+ "latitude": 42.872254566658526,
794
+ "longitude": -8.563516547736889
795
+ },
796
+ "floorIdentifier": "5762",
797
+ "isIndoor": true,
798
+ "isOutdoor": false
799
+ },
800
+ "id": 1,
801
+ "TO": {
802
+ "buildingIdentifier": "3468",
803
+ "cartesianCoordinate": {
804
+ "x": 57.77776333034814,
805
+ "y": 27.800355485895068
806
+ },
807
+ "coordinate": {
808
+ "latitude": 42.8722544436486,
809
+ "longitude": -8.563506635536811
810
+ },
811
+ "floorIdentifier": "5762",
812
+ "isIndoor": true,
813
+ "isOutdoor": false
814
+ },
815
+ "isFirst": true,
816
+ "isLast": false
817
+ },
818
+ {
819
+ "distance": 4.900666732668731,
820
+ "distanceToGoal": 29.740120514807014,
821
+ "from": {
822
+ "buildingIdentifier": "3468",
823
+ "cartesianCoordinate": {
824
+ "x": 57.77776333034814,
825
+ "y": 27.800355485895068
826
+ },
827
+ "coordinate": {
828
+ "latitude": 42.8722544436486,
829
+ "longitude": -8.563506635536811
830
+ },
831
+ "floorIdentifier": "5762",
832
+ "isIndoor": true,
833
+ "isOutdoor": false
834
+ },
835
+ "id": 2,
836
+ "TO": {
837
+ "buildingIdentifier": "3468",
838
+ "cartesianCoordinate": {
839
+ "x": 58.723,
840
+ "y": 32.609
841
+ },
842
+ "coordinate": {
843
+ "latitude": 42.87221033563324,
844
+ "longitude": -8.56350764727068
845
+ },
846
+ "floorIdentifier": "5762",
847
+ "isIndoor": true,
848
+ "isOutdoor": false
849
+ },
850
+ "isFirst": false,
851
+ "isLast": false
852
+ },
853
+ {
854
+ "distance": 14.534193751288717,
855
+ "distanceToGoal": 24.839453782138282,
856
+ "from": {
857
+ "buildingIdentifier": "3468",
858
+ "cartesianCoordinate": {
859
+ "x": 58.723,
860
+ "y": 32.609
861
+ },
862
+ "coordinate": {
863
+ "latitude": 42.87221033563324,
864
+ "longitude": -8.56350764727068
865
+ },
866
+ "floorIdentifier": "5762",
867
+ "isIndoor": true,
868
+ "isOutdoor": false
869
+ },
870
+ "id": 3,
871
+ "TO": {
872
+ "buildingIdentifier": "3468",
873
+ "cartesianCoordinate": {
874
+ "x": 44.555,
875
+ "y": 35.851
876
+ },
877
+ "coordinate": {
878
+ "latitude": 42.87220409371024,
879
+ "longitude": -8.563329973432605
880
+ },
881
+ "floorIdentifier": "5762",
882
+ "isIndoor": true,
883
+ "isOutdoor": false
884
+ },
885
+ "isFirst": false,
886
+ "isLast": false
887
+ },
888
+ {
889
+ "distance": 2.0978450848430144,
890
+ "distanceToGoal": 10.305260030849565,
891
+ "from": {
892
+ "buildingIdentifier": "3468",
893
+ "cartesianCoordinate": {
894
+ "x": 44.555,
895
+ "y": 35.851
896
+ },
897
+ "coordinate": {
898
+ "latitude": 42.87220409371024,
899
+ "longitude": -8.563329973432605
900
+ },
901
+ "floorIdentifier": "5762",
902
+ "isIndoor": true,
903
+ "isOutdoor": false
904
+ },
905
+ "id": 4,
906
+ "TO": {
907
+ "buildingIdentifier": "3468",
908
+ "cartesianCoordinate": {
909
+ "x": 42.478,
910
+ "y": 36.146
911
+ },
912
+ "coordinate": {
913
+ "latitude": 42.872204776025136,
914
+ "longitude": -8.563304315794491
915
+ },
916
+ "floorIdentifier": "5762",
917
+ "isIndoor": true,
918
+ "isOutdoor": false
919
+ },
920
+ "isFirst": false,
921
+ "isLast": false
922
+ },
923
+ {
924
+ "distance": 2.4473046398027396,
925
+ "distanceToGoal": 8.207414946006551,
926
+ "from": {
927
+ "buildingIdentifier": "3468",
928
+ "cartesianCoordinate": {
929
+ "x": 42.478,
930
+ "y": 36.146
931
+ },
932
+ "coordinate": {
933
+ "latitude": 42.872204776025136,
934
+ "longitude": -8.563304315794491
935
+ },
936
+ "floorIdentifier": "5762",
937
+ "isIndoor": true,
938
+ "isOutdoor": false
939
+ },
940
+ "id": 5,
941
+ "TO": {
942
+ "buildingIdentifier": "3468",
943
+ "cartesianCoordinate": {
944
+ "x": 40.916,
945
+ "y": 34.262
946
+ },
947
+ "coordinate": {
948
+ "latitude": 42.87222394844232,
949
+ "longitude": -8.563289563742694
950
+ },
951
+ "floorIdentifier": "5762",
952
+ "isIndoor": true,
953
+ "isOutdoor": false
954
+ },
955
+ "isFirst": false,
956
+ "isLast": false
957
+ },
958
+ {
959
+ "distance": 2.447818824995018,
960
+ "distanceToGoal": 5.760110306203813,
961
+ "from": {
962
+ "buildingIdentifier": "3468",
963
+ "cartesianCoordinate": {
964
+ "x": 40.916,
965
+ "y": 34.262
966
+ },
967
+ "coordinate": {
968
+ "latitude": 42.87222394844232,
969
+ "longitude": -8.563289563742694
970
+ },
971
+ "floorIdentifier": "5762",
972
+ "isIndoor": true,
973
+ "isOutdoor": false
974
+ },
975
+ "id": 6,
976
+ "TO": {
977
+ "buildingIdentifier": "3468",
978
+ "cartesianCoordinate": {
979
+ "x": 38.952,
980
+ "y": 35.723
981
+ },
982
+ "coordinate": {
983
+ "latitude": 42.87221411983018,
984
+ "longitude": -8.563262751558018
985
+ },
986
+ "floorIdentifier": "5762",
987
+ "isIndoor": true,
988
+ "isOutdoor": false
989
+ },
990
+ "isFirst": false,
991
+ "isLast": false
992
+ },
993
+ {
994
+ "distance": 0.3774453602841057,
995
+ "distanceToGoal": 3.3122914812087947,
996
+ "from": {
997
+ "buildingIdentifier": "3468",
998
+ "cartesianCoordinate": {
999
+ "x": 38.952,
1000
+ "y": 35.723
1001
+ },
1002
+ "coordinate": {
1003
+ "latitude": 42.87221411983018,
1004
+ "longitude": -8.563262751558018
1005
+ },
1006
+ "floorIdentifier": "5762",
1007
+ "isIndoor": true,
1008
+ "isOutdoor": false
1009
+ },
1010
+ "id": 7,
1011
+ "TO": {
1012
+ "buildingIdentifier": "3468",
1013
+ "cartesianCoordinate": {
1014
+ "x": 38.919,
1015
+ "y": 36.099
1016
+ },
1017
+ "coordinate": {
1018
+ "latitude": 42.872210840588586,
1019
+ "longitude": -8.56326154276224
1020
+ },
1021
+ "floorIdentifier": "5763",
1022
+ "isIndoor": true,
1023
+ "isOutdoor": false
1024
+ },
1025
+ "isFirst": false,
1026
+ "isLast": false
1027
+ },
1028
+ {
1029
+ "distance": 1.016112690600804,
1030
+ "distanceToGoal": 2.934846120924689,
1031
+ "from": {
1032
+ "buildingIdentifier": "3468",
1033
+ "cartesianCoordinate": {
1034
+ "x": 38.919,
1035
+ "y": 36.099
1036
+ },
1037
+ "coordinate": {
1038
+ "latitude": 42.872210840588586,
1039
+ "longitude": -8.56326154276224
1040
+ },
1041
+ "floorIdentifier": "5763",
1042
+ "isIndoor": true,
1043
+ "isOutdoor": false
1044
+ },
1045
+ "id": 8,
1046
+ "TO": {
1047
+ "buildingIdentifier": "3468",
1048
+ "cartesianCoordinate": {
1049
+ "x": 38.473,
1050
+ "y": 37.012
1051
+ },
1052
+ "coordinate": {
1053
+ "latitude": 42.87220345855959,
1054
+ "longitude": -8.563254199930139
1055
+ },
1056
+ "floorIdentifier": "5764",
1057
+ "isIndoor": true,
1058
+ "isOutdoor": false
1059
+ },
1060
+ "isFirst": false,
1061
+ "isLast": false
1062
+ },
1063
+ {
1064
+ "distance": 1.9187334303238852,
1065
+ "distanceToGoal": 1.9187334303238852,
1066
+ "from": {
1067
+ "buildingIdentifier": "3468",
1068
+ "cartesianCoordinate": {
1069
+ "x": 38.473,
1070
+ "y": 37.012
1071
+ },
1072
+ "coordinate": {
1073
+ "latitude": 42.87220345855959,
1074
+ "longitude": -8.563254199930139
1075
+ },
1076
+ "floorIdentifier": "5764",
1077
+ "isIndoor": true,
1078
+ "isOutdoor": false
1079
+ },
1080
+ "id": 9,
1081
+ "TO": {
1082
+ "buildingIdentifier": "3468",
1083
+ "cartesianCoordinate": {
1084
+ "x": 39.996693182751144,
1085
+ "y": 35.84585375639239
1086
+ },
1087
+ "coordinate": {
1088
+ "latitude": 42.87221137334114,
1089
+ "longitude": -8.563275071638948
1090
+ },
1091
+ "floorIdentifier": "5764",
1092
+ "isIndoor": true,
1093
+ "isOutdoor": false
1094
+ },
1095
+ "isFirst": false,
1096
+ "isLast": true
1097
+ }
1098
+ ],
1099
+ "segments": [
1100
+ {
1101
+ "floorIdentifier": "5764",
1102
+ "points": [
1103
+ {
1104
+ "buildingIdentifier": "3468",
1105
+ "cartesianCoordinate": {
1106
+ "x": 39.56327507163894,
1107
+ "y": 35.097845084843014
1108
+ },
1109
+ "coordinate": {
1110
+ "latitude": 42.6238038262491077,
1111
+ "longitude": -8.9187334303238852
1112
+ },
1113
+ "floorIdentifier": "5764",
1114
+ "isIndoor": true,
1115
+ "isOutdoor": false
1116
+ },
1117
+ {
1118
+ "buildingIdentifier": "3468",
1119
+ "cartesianCoordinate": {
1120
+ "x": 39.996693182751144,
1121
+ "y": 35.84585375639239
1122
+ },
1123
+ "coordinate": {
1124
+ "latitude": 42.87221137334114,
1125
+ "longitude": -8.563275071638948
1126
+ },
1127
+ "floorIdentifier": "5764",
1128
+ "isIndoor": true,
1129
+ "isOutdoor": false
1130
+ }
1131
+ ]
1132
+ },
1133
+ {
1134
+ "floorIdentifier": "5765",
1135
+ "points": [
1136
+ {
1137
+ "buildingIdentifier": "3468",
1138
+ "cartesianCoordinate": {
1139
+ "x": 39.56327507163894,
1140
+ "y": 35.097845084843014
1141
+ },
1142
+ "coordinate": {
1143
+ "latitude": 42.6238038262491077,
1144
+ "longitude": -8.9187334303238852
1145
+ },
1146
+ "floorIdentifier": "5765",
1147
+ "isIndoor": true,
1148
+ "isOutdoor": false
1149
+ },
1150
+ {
1151
+ "buildingIdentifier": "3468",
1152
+ "cartesianCoordinate": {
1153
+ "x": 39.996693182751144,
1154
+ "y": 35.84585375639239
1155
+ },
1156
+ "coordinate": {
1157
+ "latitude": 42.87221137334114,
1158
+ "longitude": -8.563275071638948
1159
+ },
1160
+ "floorIdentifier": "5765",
1161
+ "isIndoor": true,
1162
+ "isOutdoor": false
1163
+ }
1164
+ ]
1165
+ }
1166
+ ]
1167
+ }