@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,336 @@
1
+
2
+ trigger:
3
+ - develop
4
+ - release/*
5
+ - feature/*
6
+
7
+ pr: none
8
+
9
+ variables:
10
+ - group: Passwords
11
+ - group: SoftwareVersions
12
+ - group: ConfluencePages
13
+ - group: ChangelogIds
14
+
15
+ parameters:
16
+ - name: CordovaVersion
17
+ displayName: Plugin version (Only required for Release)
18
+ default: "0.0.0"
19
+
20
+ resources:
21
+ repositories:
22
+ - repository: sys_kubernetes_templates
23
+ type: bitbucket
24
+ endpoint: Bitbucket - sistemas
25
+ name: situm/sys-kubernetes-templates.git
26
+ ref: master
27
+ - repository: web_developers
28
+ type: bitbucket
29
+ endpoint: Bitbucket - sistemas
30
+ name: situm/web-developers.git
31
+ ref: master
32
+ - repository: cordova_sdk_validation
33
+ type: bitbucket
34
+ endpoint: Bitbucket - sistemas
35
+ name: situm/cordova-sdk-validation.git
36
+ ref: master
37
+
38
+ jobs:
39
+ - ${{ if or(contains(variables['Build.SourceBranch'], 'feature/'), contains(variables['Build.SourceBranch'],'develop'), ne(variables['Build.Reason'],'Manual')) }}:
40
+ - job: Test_iOS
41
+ pool:
42
+ vmImage: $(macOSVersion)
43
+
44
+ steps:
45
+ - template: azure/common-steps.yaml
46
+
47
+ - bash: |
48
+ echo -e "\n[+] Set xcode version to $(xcodeVersion)"
49
+ sudo xcode-select -switch $(xcodeVersion)
50
+
51
+ echo -e "\n[+] Copy JSON test files \n"
52
+ tests/scripts/copy_ios_resources.sh
53
+
54
+ echo -e "\n[+] Pod install \n"
55
+ cd src/ios
56
+ pod install
57
+
58
+ echo -e "\n[+] Execute xcode tests \n"
59
+
60
+ xcodebuild test -workspace SitumCordovaPlugin.xcworkspace -scheme CordovaLib -destination $(iosSimulator)
61
+
62
+ if [ $? -ne 0 ];then
63
+ echo -e "\n [!] Error with tests....... \n"
64
+ exit 1
65
+ fi
66
+
67
+ displayName: Execute Tests
68
+
69
+
70
+ - job: Test_Android
71
+ pool:
72
+ vmImage: $(ubuntuVersion)
73
+
74
+ steps:
75
+ - template: azure/common-steps.yaml
76
+ - bash: |
77
+ echo -e "\n[+] Copy JSON test files \n"
78
+ tests/scripts/copy_android_resources.sh
79
+
80
+ echo -e "\n[+] Execute gradle tests \n"
81
+ cd src/android
82
+ ./gradlew test --continue --info
83
+
84
+ if [ $? -ne 0 ];then
85
+ echo -e "\n [!] Error with tests....... \n"
86
+ exit 1
87
+ fi
88
+
89
+ displayName: Execute Test
90
+
91
+ - task: PublishTestResults@2
92
+ inputs:
93
+ testResultsFormat: 'JUnit'
94
+ testResultsFiles: 'src/android/app/build/test-results/*/*.xml'
95
+ displayName: Publish test
96
+ condition: always()
97
+
98
+ - job: Test_JS
99
+ pool:
100
+ vmImage: $(ubuntuVersion)
101
+
102
+ steps:
103
+ - bash: |
104
+ cd situm-cordova-plugin
105
+
106
+ echo -e "\n[+] Install npm dependencies \n"
107
+ npm install
108
+
109
+ echo -e "\n[+] Execute npm tests \n"
110
+ npm test
111
+ displayName: JS Test
112
+
113
+
114
+ - ${{ if contains(variables['Build.SourceBranch'], 'release/') }}:
115
+ - job: Generate_Release
116
+ pool:
117
+ vmImage: $(ubuntuVersion)
118
+ steps:
119
+ - template: azure/common-steps.yaml
120
+
121
+ - task: NodeTool@0
122
+ inputs:
123
+ versionSource: 'spec'
124
+ versionSpec: $(nodeVersion)
125
+
126
+ - ${{ if eq(variables['Build.Reason'],'manual') }}:
127
+ - bash: |
128
+ if [[ "${{ parameters.CordovaVersion }}" == "0.0.0" ]];then
129
+ echo -e "\n[!] IMPORTANT: You don't set the plugin version when you run the release branch and I'm not fortune teller\n"
130
+ exit 1
131
+ else
132
+ echo "##vso[task.setvariable variable=version]$(echo ${{ parameters.CordovaVersion }})"
133
+ echo -e "\n[+] I'm a shy step so I don't tell you anything\n"
134
+ fi
135
+
136
+ displayName: Set Cordova Version Manual
137
+
138
+ - ${{ if ne(variables['Build.Reason'],'manual') }}:
139
+ - bash: |
140
+ CordovaVersion=$(echo $(Build.SourceBranch) | cut -d "/" -f 4)
141
+ echo "##vso[task.setvariable variable=version]$(echo $CordovaVersion)"
142
+ echo -e "\n[+] I'm a shy step that only executes where this pipeline run automatic\n"
143
+ displayName: Set Cordova Version Automatic
144
+
145
+ - bash: |
146
+
147
+ echo -e "\n[+] Installing NPM version $(npmVersion)\n"
148
+ npm install -g $(npmVersion)
149
+
150
+ currentBranch=$(echo $(Build.SourceBranch) | cut -d "/" -f 3,4)
151
+ echo "##vso[task.setvariable variable=currentBranch]$(echo $currentBranch)"
152
+
153
+ echo -e "\n[+] Variables:"
154
+ echo -e "\t[+] Plugin version: $(version)"
155
+ echo -e "\t[+] NPM CLI version: $(npm --version)"
156
+ echo -e "\t[+] Current branch: $currentBranch"
157
+
158
+ echo -e "\n[+] Setting git remote credentials\n"
159
+ if [ -d "situm-cordova-plugin" ];then
160
+ cd situm-cordova-plugin
161
+ fi
162
+ git remote set-url origin https://situmops:$(github_token)@github.com/$(Build.Repository.Name).git
163
+ cat .git/config
164
+
165
+ displayName: Initial Vars & Configs
166
+
167
+ - bash: |
168
+
169
+ cd situm-cordova-plugin
170
+ echo -e "\n[+] Setting NPM version to $(version)"
171
+ npm version $(version) --no-git-tag-version
172
+
173
+ echo -e "\n[+] Change plugin version in plugin.xml"
174
+ sed -i "s/version=\".*\">/version=\"$(version)\">/g" plugin.xml
175
+
176
+ echo -e "\n[+] Setting git to push NPM version\n"
177
+ git config --global user.email "sistemas@situm.es"
178
+ git config --global user.name "Situmops"
179
+
180
+ echo -e "\n[+] Fetch branches \n"
181
+ git fetch
182
+
183
+ echo -e "\n[+] Changing to $(currentBranch)"
184
+ git checkout $(currentBranch)
185
+
186
+ echo -e "\n[+] Add,Commit and Push to $(currentBranch)"
187
+ git commit -am "[skip ci] Setting the Cordova version to $(version)"
188
+ git push --set-upstream origin $(currentBranch)
189
+ git push
190
+ displayName: Make changes
191
+
192
+
193
+ - template: azure-templates/publish_release.yml@sys_kubernetes_templates
194
+ parameters:
195
+ bitbucket:
196
+ bitbucket_user: situmops
197
+ system: "N/A"
198
+ server: "github"
199
+ repoFolder: "situm-cordova-plugin"
200
+ mergeBranches:
201
+ - "master"
202
+ - "develop"
203
+
204
+ - bash: |
205
+ cd situm-cordova-plugin
206
+ echo -e "\n[+] Fetch all branches\n"
207
+ git fetch
208
+
209
+ echo -e "\n[+] Checkout and Pull to master branch\n"
210
+ git checkout master
211
+ git pull origin master
212
+
213
+ echo -e "\n[+] Configure NPM login"
214
+ echo "//registry.npmjs.org/:_authToken=$(NPM_TOKEN)" > ~/.npmrc
215
+
216
+ echo -e "\n[+] Publish NPM packages"
217
+ npm publish --access=public
218
+
219
+ displayName: NPM publish
220
+
221
+
222
+ - bash: |
223
+ cd situm-cordova-plugin
224
+
225
+ echo -e "\n[+] Install dependencies"
226
+ npm install
227
+
228
+ echo -e "\n[+] Generate Documentation\n"
229
+ npm run jsdoc
230
+
231
+ displayName: Generate JSDoc
232
+
233
+ - template: azure-templates/commit-doc.yaml@sys_kubernetes_templates
234
+ parameters:
235
+ version: $(version)
236
+ docPath: situm-cordova-plugin/docs/JSDoc
237
+ system: cordova
238
+ bitbucket:
239
+ bitbucket_user: $(bitbucket_user)
240
+ bitbucket_pass: $(bitbucket_pass)
241
+ release: "situm-cordova-plugin"
242
+
243
+ - checkout: cordova_sdk_validation
244
+ fetchTags: false
245
+ fetchDepth: 1
246
+ displayName: Checkout Cordova app example
247
+
248
+ - bash: |
249
+ cd cordova-sdk-validation
250
+ echo -e "\n[+] Setting git remote credentials\n"
251
+ git remote set-url origin https://$(bitbucket_user):$(bitbucket_pass)@bitbucket.org/situm/cordova-sdk-validation.git
252
+
253
+ cat .git/config
254
+
255
+ echo -e "\n[+] Fetch branches"
256
+ git fetch origin master
257
+ echo -e "\n[+] Checkout to master branch\n"
258
+ git checkout master
259
+
260
+ echo -e "\n[+] Commit empty change to run examples repo\n"
261
+ git commit -m "Publish Cordova SDK plugin release $(version)" --allow-empty
262
+ echo -e "\n[+] Push empty change \n"
263
+ git push origin master
264
+
265
+ displayName: Execute example app
266
+
267
+ - bash: |
268
+ if [ -d "situm-cordova-plugin" ]; then
269
+ cd situm-cordova-plugin
270
+ fi
271
+
272
+ echo -e "\n[+] Pull master changes and change to master branch \n"
273
+ git fetch
274
+ git checkout master
275
+ git pull origin master
276
+
277
+ iossdk=$(grep -oE '\s<framework src="SitumSDK" type="podspec" spec="[0-9]+\.[0-9]+\.[0-9]+" />' plugin.xml | awk -F'"' '{print $6}')
278
+ androidsdk=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
279
+
280
+
281
+ echo -e "\n[+] Checkout to previous commit\n"
282
+ git checkout HEAD~1
283
+
284
+ iossdk_old=$(grep -oE '\s<framework src="SitumSDK" type="podspec" spec="[0-9]+\.[0-9]+\.[0-9]+" />' plugin.xml | awk -F'"' '{print $6}')
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
+
287
+ echo -e "\n[+] Return repository to master branch\n"
288
+ git checkout master
289
+
290
+ echo -e "\n[+] Versions:"
291
+ echo -e "\t[+] Cordova SDK: $(version)"
292
+ echo -e "\t[+] ANDROID SDK: $androidsdk"
293
+ echo -e "\t[+] IOS SDK: $iossdk"
294
+ echo -e "\t[+] ANDROID SDK (OLD VERSION): $androidsdk_old"
295
+ echo -e "\t[+] IOS SDK (OLD IOS): $iossdk_old"
296
+
297
+ versions="| *VERSIÓN* | *FECHA* | *ANDROID SDK* | *IOS SDK* |\n|$(version)|$(date +"%d/%m/%Y")|"
298
+
299
+ if [ "$androidsdk" != "$androidsdk_old" ];then
300
+ versions="$versions *$androidsdk* |"
301
+ android_changelog_version=$androidsdk
302
+ else
303
+ android_changelog_version="0.0.0"
304
+ versions="$versions $androidsdk|"
305
+ fi
306
+
307
+ if [ "$iossdk" != "$iossdk_old" ];then
308
+ versions="$versions *$iossdk*|"
309
+ ios_changelog_version=$iossdk
310
+ else
311
+ ios_changelog_version="0.0.0"
312
+ versions="$versions $iossdk|"
313
+ fi
314
+
315
+ echo "##vso[task.setvariable variable=versions]$(echo $versions)"
316
+ echo "##vso[task.setvariable variable=android_changelog_version]$(echo $android_changelog_version)"
317
+ echo "##vso[task.setvariable variable=ios_changelog_version]$(echo $ios_changelog_version)"
318
+
319
+ displayName: Get Versions
320
+
321
+ - template: azure-templates/publish-changelog.yaml@sys_kubernetes_templates
322
+ parameters:
323
+ changelogId: $(Cordova_Changelog_id)
324
+ android_changelog_version: $(android_changelog_version)
325
+ ios_changelog_version: $(ios_changelog_version)
326
+
327
+ - template: azure-templates/release-table.yaml@sys_kubernetes_templates
328
+ parameters:
329
+ versions: $(versions)
330
+ releaseTable: CORDOVA_SDK_TABLE
331
+ confluence_release_page: $(CORDOVA_SDK_TABLE)
332
+ confluence_release_page_title: "SDK Automatic Release Table - Cordova Plugin"
333
+ bitbucket:
334
+ bitbucket_user: $(bitbucket_user)
335
+ bitbucket_pass: $(bitbucket_pass)
336
+
@@ -0,0 +1,300 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Namespace: MapView | Situm</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"> </script>
8
+ <script src="scripts/prettify/lang-css.js"> </script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/prettify-jsdoc.css">
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/tui-doc.css">
16
+
17
+
18
+
19
+ <link type="text/css" rel="stylesheet" href="styles/custom.css">
20
+
21
+
22
+ </head>
23
+ <body>
24
+ <nav class="lnb" id="lnb">
25
+ <div class="logo" style="width: 90px; height: 90px">
26
+
27
+ <a href="https://github.com/situmtech/situm-cordova-plugin" rel="noopener noreferrer" target="_blank">
28
+ <img src="https://situm.com/wp-content/uploads/2023/04/situm_logo_blanco_300_sq.png" width="100%" height="100%">
29
+ </a>
30
+
31
+ </div>
32
+ <div class="title">
33
+ <h1><a href="index.html" class="link">Situm</a></h1>
34
+
35
+ </div>
36
+ <div class="search-container" id="search-container">
37
+ <input type="text" placeholder="Search">
38
+ <ul></ul>
39
+ </div>
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>
42
+ </nav>
43
+ <div id="resizer"></div>
44
+
45
+ <div class="main" id="main">
46
+
47
+
48
+
49
+
50
+
51
+ <section>
52
+
53
+ <header>
54
+
55
+ <h2>MapView</h2>
56
+
57
+
58
+ </header>
59
+
60
+ <article>
61
+
62
+ <div class="container-overview">
63
+
64
+
65
+
66
+
67
+
68
+
69
+ <dl class="details">
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ </dl>
101
+
102
+
103
+
104
+
105
+ </div>
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <h3 class="subsection-title">Methods</h3>
124
+
125
+ <dl>
126
+
127
+
128
+ <dt>
129
+
130
+ <h4 class="name" id=".onLoad">
131
+
132
+ <span class="type-signature"><span class="icon green">static</span> </span>onLoad<span class="signature">(cb)</span><span class="type-signature"></span>
133
+
134
+
135
+ <div class="container-source members">
136
+ <code><a href="map-view.js.html">map-view.js</a></code>,
137
+ <code><a href="map-view.js.html#line79">line 79</a></code>
138
+ </div>
139
+
140
+ </h4>
141
+
142
+
143
+
144
+ </dt>
145
+ <dd>
146
+
147
+
148
+ <div class="description">
149
+ MapView was loaded.
150
+ The <a href="MapViewControllerImpl.html">MapViewControllerImpl</a> will be sent by the callback.
151
+ </div>
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+
161
+ <div class="container-params">
162
+ <h5>Parameters:</h5>
163
+
164
+ <table class="params">
165
+ <thead>
166
+ <tr>
167
+
168
+ <th>Name</th>
169
+
170
+
171
+ <th>Type</th>
172
+
173
+
174
+
175
+
176
+
177
+ <th class="last">Description</th>
178
+ </tr>
179
+ </thead>
180
+
181
+ <tbody>
182
+
183
+
184
+ <tr>
185
+
186
+ <td class="name"><code>cb</code></td>
187
+
188
+
189
+ <td class="type">
190
+
191
+
192
+ <span class="param-type">function</span>
193
+
194
+
195
+
196
+ </td>
197
+
198
+
199
+
200
+
201
+
202
+ <td class="description last">The callback that gives back the controller of this visual component.</td>
203
+ </tr>
204
+
205
+
206
+ </tbody>
207
+ </table>
208
+
209
+ </div>
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+ <dl class="details">
228
+
229
+
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+ </dl>
259
+
260
+
261
+
262
+
263
+ </dd>
264
+
265
+ </dl>
266
+
267
+
268
+
269
+
270
+
271
+ </article>
272
+
273
+ </section>
274
+
275
+
276
+
277
+
278
+ </div>
279
+
280
+ <footer>
281
+ <img class="logo" src="https://situm.com/wp-content/uploads/2023/04/situm_logo_blanco_300_sq.png" style="width: 90px; height: 90px">
282
+ <div class="footer-text">COPYRIGHT © SITUM TECHNOLOGIES 2014 - 2018</div>
283
+ </footer>
284
+ <script>prettyPrint();</script>
285
+ <script src="scripts/jquery.min.js"></script>
286
+ <script src="scripts/tui-doc.js"></script>
287
+ <script src="scripts/linenumber.js"></script>
288
+
289
+ <script>
290
+ var id = 'MapView_sub'.replace(/"/g, '_');
291
+ var selectedApi = document.getElementById(id); // do not use jquery selector
292
+ var $selectedApi = $(selectedApi);
293
+
294
+ $selectedApi.removeClass('hidden');
295
+ $selectedApi.parent().find('.glyphicon').removeClass('glyphicon-plus').addClass('glyphicon-minus');
296
+ showLnbApi();
297
+ </script>
298
+
299
+ </body>
300
+ </html>