@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.
- package/CHANGELOG.md +3 -0
- package/CHANGELOG_UNRELEASED.md +28 -0
- package/Jenkinsfile +84 -0
- package/LICENSE +21 -0
- package/README.md +472 -0
- package/azure/common-steps.yaml +5 -0
- package/azure-pipelines.yml +336 -0
- package/docs/JSDoc/MapView.html +300 -0
- package/docs/JSDoc/MapViewControllerImpl.html +299 -0
- package/docs/JSDoc/Situm.html +5257 -0
- package/docs/JSDoc/android_Interfaces.js.html +825 -0
- package/docs/JSDoc/android_situm.js.html +380 -0
- package/docs/JSDoc/fonts/glyphicons-halflings-regular.eot +0 -0
- package/docs/JSDoc/fonts/glyphicons-halflings-regular.svg +288 -0
- package/docs/JSDoc/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/docs/JSDoc/fonts/glyphicons-halflings-regular.woff +0 -0
- package/docs/JSDoc/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/docs/JSDoc/global.html +7538 -0
- package/docs/JSDoc/img/toast-ui.png +0 -0
- package/docs/JSDoc/index.html +90 -0
- package/docs/JSDoc/map-view-controller.js.html +307 -0
- package/docs/JSDoc/map-view.js.html +172 -0
- package/docs/JSDoc/scripts/jquery.min.js +2 -0
- package/docs/JSDoc/scripts/linenumber.js +30 -0
- package/docs/JSDoc/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/JSDoc/scripts/prettify/lang-css.js +2 -0
- package/docs/JSDoc/scripts/prettify/prettify.js +28 -0
- package/docs/JSDoc/scripts/tui-doc.js +200 -0
- package/docs/JSDoc/styles/bootstrap.min.css +6 -0
- package/docs/JSDoc/styles/custom.css +23 -0
- package/docs/JSDoc/styles/prettify-jsdoc.css +111 -0
- package/docs/JSDoc/styles/prettify-tomorrow.css +132 -0
- package/docs/JSDoc/styles/tui-doc.css +485 -0
- package/docs/conf.json +28 -0
- package/docs/getting-started.md +298 -0
- package/docs/imagotype-SITUM-transparent-90.png +0 -0
- package/docs/static/styles/custom.css +23 -0
- package/package.json +60 -0
- package/plugin.xml +102 -0
- package/scripts/update_changelog.sh +22 -0
- package/src/android/app/build.gradle +51 -0
- package/src/android/app/proguard-rules.pro +21 -0
- package/src/android/app/src/main/AndroidManifest.xml +11 -0
- package/src/android/app/src/main/java/es/situm/plugin/DateUtils.java +15 -0
- package/src/android/app/src/main/java/es/situm/plugin/PluginHelper.java +919 -0
- package/src/android/app/src/main/java/es/situm/plugin/SitumMapper.java +968 -0
- package/src/android/app/src/main/java/es/situm/plugin/SitumPlugin.java +109 -0
- package/src/android/app/src/main/res/drawable/ic_launcher_background.xml +170 -0
- package/src/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +34 -0
- package/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +5 -0
- package/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +5 -0
- package/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/src/android/app/src/main/res/values/colors.xml +6 -0
- package/src/android/app/src/main/res/values/strings.xml +3 -0
- package/src/android/app/src/main/res/values/styles.xml +11 -0
- package/src/android/app/src/test/java/es/situm/plugin/PluginHelperTest.java +27 -0
- package/src/android/app/src/test/java/es/situm/plugin/SitumMapperTest.java +1485 -0
- package/src/android/app/src/test/java/es/situm/plugin/angle/AngleCreator.java +46 -0
- package/src/android/app/src/test/java/es/situm/plugin/bounds/BoundsCreator.java +50 -0
- package/src/android/app/src/test/java/es/situm/plugin/building/BuildingCreator.java +76 -0
- package/src/android/app/src/test/java/es/situm/plugin/cartesianCoordinate/CartesianCoordinateCreator.java +31 -0
- package/src/android/app/src/test/java/es/situm/plugin/circle/CircleCreator.java +41 -0
- package/src/android/app/src/test/java/es/situm/plugin/coordinate/CoordinateCreator.java +32 -0
- package/src/android/app/src/test/java/es/situm/plugin/dimensions/DimensionsCreator.java +31 -0
- package/src/android/app/src/test/java/es/situm/plugin/directionsRequest/DirectionsRequestCreator.java +105 -0
- package/src/android/app/src/test/java/es/situm/plugin/event/EventCreator.java +108 -0
- package/src/android/app/src/test/java/es/situm/plugin/floor/FloorCreator.java +58 -0
- package/src/android/app/src/test/java/es/situm/plugin/indication/IndicationCreator.java +40 -0
- package/src/android/app/src/test/java/es/situm/plugin/location/LocationCreator.java +197 -0
- package/src/android/app/src/test/java/es/situm/plugin/locationRequest/LocationRequestCreator.java +45 -0
- package/src/android/app/src/test/java/es/situm/plugin/locationStatus/LocationStatusCreator.java +211 -0
- package/src/android/app/src/test/java/es/situm/plugin/navigationProgress/NavigationProgressCreator.java +154 -0
- package/src/android/app/src/test/java/es/situm/plugin/poi/PoiCreator.java +126 -0
- package/src/android/app/src/test/java/es/situm/plugin/poiCategory/PoiCategoryCreator.java +38 -0
- package/src/android/app/src/test/java/es/situm/plugin/point/PointCreator.java +200 -0
- package/src/android/app/src/test/java/es/situm/plugin/route/RouteCreator.java +142 -0
- package/src/android/app/src/test/java/es/situm/plugin/routeStep/RouteStepCreator.java +173 -0
- package/src/android/app/src/test/java/es/situm/plugin/situmConversionArea/SitumConversionAreaCreator.java +35 -0
- package/src/android/build.gradle +31 -0
- package/src/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/src/android/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/src/android/gradle.properties +16 -0
- package/src/android/gradlew +172 -0
- package/src/android/gradlew.bat +84 -0
- package/src/android/settings.gradle +3 -0
- package/src/android/situm.gradle +19 -0
- package/src/ios/Classes/Private/CDVDebug.h +25 -0
- package/src/ios/Classes/Private/CDVJSON_private.h +31 -0
- package/src/ios/Classes/Private/CDVJSON_private.m +99 -0
- package/src/ios/Classes/Private/CDVPlugin+Private.h +24 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVGestureHandler/CDVGestureHandler.h +26 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVGestureHandler/CDVGestureHandler.m +70 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVHandleOpenURL/CDVHandleOpenURL.h +27 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVHandleOpenURL/CDVHandleOpenURL.m +86 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVIntentAndNavigationFilter/CDVIntentAndNavigationFilter.h +34 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVIntentAndNavigationFilter/CDVIntentAndNavigationFilter.m +153 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVLocalStorage/CDVLocalStorage.h +50 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVLocalStorage/CDVLocalStorage.m +487 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVLogger/CDVLogger.h +26 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVLogger/CDVLogger.m +37 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewDelegate.h +41 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewDelegate.m +399 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewEngine.h +27 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m +202 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.h +29 -0
- package/src/ios/Classes/Private/CDVPlugins/CDVUIWebViewEngine/CDVUIWebViewNavigationDelegate.m +153 -0
- package/src/ios/Classes/Public/CDV.h +32 -0
- package/src/ios/Classes/Public/CDVAppDelegate.h +28 -0
- package/src/ios/Classes/Public/CDVAppDelegate.m +118 -0
- package/src/ios/Classes/Public/CDVAvailability.h +111 -0
- package/src/ios/Classes/Public/CDVAvailabilityDeprecated.h +26 -0
- package/src/ios/Classes/Public/CDVCommandDelegate.h +51 -0
- package/src/ios/Classes/Public/CDVCommandDelegateImpl.h +36 -0
- package/src/ios/Classes/Public/CDVCommandDelegateImpl.m +186 -0
- package/src/ios/Classes/Public/CDVCommandQueue.h +39 -0
- package/src/ios/Classes/Public/CDVCommandQueue.m +194 -0
- package/src/ios/Classes/Public/CDVConfigParser.h +30 -0
- package/src/ios/Classes/Public/CDVConfigParser.m +81 -0
- package/src/ios/Classes/Public/CDVInvokedUrlCommand.h +52 -0
- package/src/ios/Classes/Public/CDVInvokedUrlCommand.m +116 -0
- package/src/ios/Classes/Public/CDVPlugin+Resources.h +39 -0
- package/src/ios/Classes/Public/CDVPlugin+Resources.m +38 -0
- package/src/ios/Classes/Public/CDVPlugin.h +85 -0
- package/src/ios/Classes/Public/CDVPlugin.m +202 -0
- package/src/ios/Classes/Public/CDVPluginResult.h +66 -0
- package/src/ios/Classes/Public/CDVPluginResult.m +186 -0
- package/src/ios/Classes/Public/CDVScreenOrientationDelegate.h +33 -0
- package/src/ios/Classes/Public/CDVTimer.h +27 -0
- package/src/ios/Classes/Public/CDVTimer.m +123 -0
- package/src/ios/Classes/Public/CDVURLProtocol.h +27 -0
- package/src/ios/Classes/Public/CDVURLProtocol.m +113 -0
- package/src/ios/Classes/Public/CDVUserAgentUtil.h +27 -0
- package/src/ios/Classes/Public/CDVUserAgentUtil.m +124 -0
- package/src/ios/Classes/Public/CDVViewController.h +92 -0
- package/src/ios/Classes/Public/CDVViewController.m +821 -0
- package/src/ios/Classes/Public/CDVWebViewEngineProtocol.h +42 -0
- package/src/ios/Classes/Public/CDVWhitelist.h +34 -0
- package/src/ios/Classes/Public/CDVWhitelist.m +285 -0
- package/src/ios/Classes/Public/NSDictionary+CordovaPreferences.h +35 -0
- package/src/ios/Classes/Public/NSDictionary+CordovaPreferences.m +63 -0
- package/src/ios/Classes/Public/NSMutableArray+QueueAdditions.h +29 -0
- package/src/ios/Classes/Public/NSMutableArray+QueueAdditions.m +58 -0
- package/src/ios/Cordova/Cordova.h +51 -0
- package/src/ios/Cordova/Info.plist +24 -0
- package/src/ios/Podfile +5 -0
- package/src/ios/SitumCordovaPlugin.xcodeproj/project.pbxproj +1324 -0
- package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/src/ios/SitumCordovaPlugin.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +8 -0
- package/src/ios/SitumCordovaPlugin.xcodeproj/xcshareddata/xcschemes/CordovaLib.xcscheme +100 -0
- package/src/ios/SitumCordovaPlugin.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/src/ios/SitumCordovaPlugin_Prefix.pch +22 -0
- package/src/ios/VERSION +1 -0
- package/src/ios/cordova.js +2432 -0
- package/src/ios/situmcordovaplugin/AppDelegate.h +22 -0
- package/src/ios/situmcordovaplugin/AppDelegate.m +98 -0
- package/src/ios/situmcordovaplugin/Assets.xcassets/AppIcon.appiconset/Contents.json +98 -0
- package/src/ios/situmcordovaplugin/Base.lproj/LaunchScreen.storyboard +25 -0
- package/src/ios/situmcordovaplugin/Base.lproj/Main.storyboard +24 -0
- package/src/ios/situmcordovaplugin/Constants.h +14 -0
- package/src/ios/situmcordovaplugin/Constants.m +14 -0
- package/src/ios/situmcordovaplugin/Info.plist +45 -0
- package/src/ios/situmcordovaplugin/SITUtils.h +7 -0
- package/src/ios/situmcordovaplugin/SITUtils.m +13 -0
- package/src/ios/situmcordovaplugin/SitumLocationWrapper.h +109 -0
- package/src/ios/situmcordovaplugin/SitumLocationWrapper.m +983 -0
- package/src/ios/situmcordovaplugin/SitumPlugin.h +41 -0
- package/src/ios/situmcordovaplugin/SitumPlugin.m +752 -0
- package/src/ios/situmcordovaplugin/ViewController.h +15 -0
- package/src/ios/situmcordovaplugin/ViewController.m +29 -0
- package/src/ios/situmcordovaplugin/main.m +16 -0
- package/src/ios/situmcordovaplugin/situmcordovaplugin.xcdatamodeld/.xccurrentversion +8 -0
- package/src/ios/situmcordovaplugin/situmcordovaplugin.xcdatamodeld/situmcordovaplugin.xcdatamodel/contents +4 -0
- package/src/ios/situmcordovaplugintests/AngleTests.m +53 -0
- package/src/ios/situmcordovaplugintests/BoundTests.m +51 -0
- package/src/ios/situmcordovaplugintests/BuildingTests.m +41 -0
- package/src/ios/situmcordovaplugintests/CartesianCoordinateTests.m +42 -0
- package/src/ios/situmcordovaplugintests/ConversionAreaTests.m +43 -0
- package/src/ios/situmcordovaplugintests/CoordinateTests.m +42 -0
- package/src/ios/situmcordovaplugintests/DimensionTests.m +43 -0
- package/src/ios/situmcordovaplugintests/EventTests.m +42 -0
- package/src/ios/situmcordovaplugintests/FloorTests.m +52 -0
- package/src/ios/situmcordovaplugintests/Info.plist +38 -0
- package/src/ios/situmcordovaplugintests/InputTests/DirectionsRequestTest.m +108 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputCartesianCoordinateTests.m +45 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputCoordinateTests.m +45 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputFloorTests.m +59 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputIndicationTests.m +45 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputLocationTests.m +163 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputPoiCategoryTests.m +46 -0
- package/src/ios/situmcordovaplugintests/InputTests/InputPointTests.m +137 -0
- package/src/ios/situmcordovaplugintests/InputTests/LocationRequestTest.m +79 -0
- package/src/ios/situmcordovaplugintests/LocationStatusTests.m +60 -0
- package/src/ios/situmcordovaplugintests/LocationTests.m +114 -0
- package/src/ios/situmcordovaplugintests/NavigationProgressTests.m +50 -0
- package/src/ios/situmcordovaplugintests/PoiCategoryIconTests.m +43 -0
- package/src/ios/situmcordovaplugintests/PoiCategoryTests.m +42 -0
- package/src/ios/situmcordovaplugintests/PoiTests.m +83 -0
- package/src/ios/situmcordovaplugintests/PointTests.m +107 -0
- package/src/ios/situmcordovaplugintests/RouteStepTests.m +78 -0
- package/src/ios/situmcordovaplugintests/RouteTests.m +42 -0
- package/src/ios/situmcordovaplugintests/SitumCreatorTests.h +91 -0
- package/src/ios/situmcordovaplugintests/SitumCreatorTests.m +928 -0
- package/src/ios/situmcordovaplugintests/TestingHelper.h +48 -0
- package/src/ios/situmcordovaplugintests/TestingHelper.m +342 -0
- package/src/ios/situmcordovaplugintests/indicationTests.m +43 -0
- package/tests/common-resources/angle/angle1.json +6 -0
- package/tests/common-resources/angle/angle2.json +6 -0
- package/tests/common-resources/bounds/bounds1.json +18 -0
- package/tests/common-resources/bounds/bounds2.json +18 -0
- package/tests/common-resources/building/building1.json +64 -0
- package/tests/common-resources/cartesianCoordinate/cartesianCoordinate1.json +4 -0
- package/tests/common-resources/circle/circle1.json +17 -0
- package/tests/common-resources/coordinate/coordinate1.json +4 -0
- package/tests/common-resources/dimensions/dimensions1.json +4 -0
- package/tests/common-resources/directionsRequest/directionsRequest1.json +166 -0
- package/tests/common-resources/directionsRequest/directionsRequest2.json +167 -0
- package/tests/common-resources/directionsRequest/directionsRequest3.json +166 -0
- package/tests/common-resources/directionsRequest/directionsRequest4.json +166 -0
- package/tests/common-resources/directionsRequest/directionsRequest5.json +167 -0
- package/tests/common-resources/directionsRequest/directionsRequest6.json +153 -0
- package/tests/common-resources/events/event1.json +66 -0
- package/tests/common-resources/floor/floor1.json +13 -0
- package/tests/common-resources/floor/floor2.json +13 -0
- package/tests/common-resources/indication/indication1.json +10 -0
- package/tests/common-resources/location/location1.json +48 -0
- package/tests/common-resources/location/location10.json +48 -0
- package/tests/common-resources/location/location2.json +48 -0
- package/tests/common-resources/location/location3.json +48 -0
- package/tests/common-resources/location/location4.json +48 -0
- package/tests/common-resources/location/location5.json +48 -0
- package/tests/common-resources/location/location6.json +48 -0
- package/tests/common-resources/location/location7.json +48 -0
- package/tests/common-resources/location/location8.json +48 -0
- package/tests/common-resources/location/location9.json +48 -0
- package/tests/common-resources/locationRequest/locationRequest1.json +6 -0
- package/tests/common-resources/locationRequest/locationRequest2.json +32 -0
- package/tests/common-resources/locationRequest/locationRequest3.json +33 -0
- package/tests/common-resources/locationRequest/locationRequest4.json +31 -0
- package/tests/common-resources/locationStatus/locationStatus1.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus10.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus11.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus12.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus13.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus2.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus3.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus4.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus5.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus6.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus7.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus8.json +4 -0
- package/tests/common-resources/locationStatus/locationStatus9.json +4 -0
- package/tests/common-resources/navigationProgress/navigationProgress1.json +77 -0
- package/tests/common-resources/navigationProgress/navigationProgress2.json +77 -0
- package/tests/common-resources/poi/poi1.json +35 -0
- package/tests/common-resources/poi/poi2.json +35 -0
- package/tests/common-resources/poi/poi3.json +35 -0
- package/tests/common-resources/poi/poi4.json +38 -0
- package/tests/common-resources/poi/poi5.json +35 -0
- package/tests/common-resources/poiCategory/poiCategory1.json +7 -0
- package/tests/common-resources/poiCategoryIcon/poiCategoryIcon1.json +1 -0
- package/tests/common-resources/poiCategoryIcon/poiCategoryIcon1.png +0 -0
- package/tests/common-resources/point/point1.json +14 -0
- package/tests/common-resources/point/point2.json +14 -0
- package/tests/common-resources/point/point3.json +14 -0
- package/tests/common-resources/point/point4.json +14 -0
- package/tests/common-resources/point/point5.json +14 -0
- package/tests/common-resources/point/point6.json +14 -0
- package/tests/common-resources/point/point7.json +14 -0
- package/tests/common-resources/point/point8.json +14 -0
- package/tests/common-resources/route/route1.json +530 -0
- package/tests/common-resources/routeStep/routeStep1.json +35 -0
- package/tests/common-resources/routeStep/routeStep2.json +35 -0
- package/tests/common-resources/routeStep/routeStep3.json +35 -0
- package/tests/common-resources/routeStep/routeStep4.json +35 -0
- package/tests/common-resources/routeStep/routeStep5.json +35 -0
- package/tests/common-resources/situmConversionArea/situmConversionArea1.json +19 -0
- package/tests/js/resources/fetchBuildings.json +176 -0
- package/tests/js/resources/fetchEventsFromBuilding.json +201 -0
- package/tests/js/resources/fetchFloorsFromBuilding.json +34 -0
- package/tests/js/resources/fetchIndoorPOIsFromBuilding.json +574 -0
- package/tests/js/resources/fetchMapFromFloor.json +3 -0
- package/tests/js/resources/fetchOutdoorPOIsFromBuilding.json +68 -0
- package/tests/js/resources/fetchPoiCategories.json +72 -0
- package/tests/js/resources/fetchPoiCategoryIconNormal.json +3 -0
- package/tests/js/resources/fetchPoiCategoryIconSelected.json +3 -0
- package/tests/js/resources/requestDirections.json +1167 -0
- package/tests/js/resources/startPositioning/0_starting.json +4 -0
- package/tests/js/resources/startPositioning/1_preparingPositioningModel.json +4 -0
- package/tests/js/resources/startPositioning/2_startingPositioning.json +4 -0
- package/tests/js/resources/startPositioning/3_calculating.json +4 -0
- package/tests/js/resources/startPositioning/4_position.json +48 -0
- package/tests/js/resources/startPositioning/5_position.json +48 -0
- package/tests/js/test.js +416 -0
- package/tests/scripts/clean_android_resources.sh +3 -0
- package/tests/scripts/clean_ios_resources.sh +3 -0
- package/tests/scripts/copy_android_resources.sh +3 -0
- package/tests/scripts/copy_ios_resources.sh +3 -0
- package/tests/scripts/self-destruct.sh +1 -0
- package/www/android/Interfaces.js +742 -0
- package/www/android/situm.js +296 -0
- package/www/ios/situm.js +99 -0
- package/www/map-view-controller.js +223 -0
- package/www/map-view.js +88 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"address": "",
|
|
4
|
+
"bounds": {
|
|
5
|
+
"northEast": {
|
|
6
|
+
"latitude": 42.88349364300396,
|
|
7
|
+
"longitude": -8.526463131952028
|
|
8
|
+
},
|
|
9
|
+
"northWest": {
|
|
10
|
+
"latitude": 42.88349364300396,
|
|
11
|
+
"longitude": -8.52891542531499
|
|
12
|
+
},
|
|
13
|
+
"southEast": {
|
|
14
|
+
"latitude": 42.881634818248784,
|
|
15
|
+
"longitude": -8.526463131952028
|
|
16
|
+
},
|
|
17
|
+
"southWest": {
|
|
18
|
+
"latitude": 42.881634818248784,
|
|
19
|
+
"longitude": -8.52891542531499
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"boundsRotated": {
|
|
23
|
+
"northEast": {
|
|
24
|
+
"latitude": 42.88305456884705,
|
|
25
|
+
"longitude": -8.52605952534421
|
|
26
|
+
},
|
|
27
|
+
"northWest": {
|
|
28
|
+
"latitude": 42.88377703799093,
|
|
29
|
+
"longitude": -8.528306435391551
|
|
30
|
+
},
|
|
31
|
+
"southEast": {
|
|
32
|
+
"latitude": 42.88135142353652,
|
|
33
|
+
"longitude": -8.527072121688692
|
|
34
|
+
},
|
|
35
|
+
"southWest": {
|
|
36
|
+
"latitude": 42.8820738926804,
|
|
37
|
+
"longitude": -8.529319031736032
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"center": {
|
|
41
|
+
"latitude": 42.8825642306337,
|
|
42
|
+
"longitude": -8.52768927812576
|
|
43
|
+
},
|
|
44
|
+
"dimensions": {
|
|
45
|
+
"width": 200.342693576894,
|
|
46
|
+
"height": 206.497621256452
|
|
47
|
+
},
|
|
48
|
+
"infoHtml": "",
|
|
49
|
+
"name": "C.C. Area Central",
|
|
50
|
+
"pictureThumbUrl": "/uploads/building/3465/e3b0678c-5c55-4845-b5d0-6c3b4c3a0e9c.jpg",
|
|
51
|
+
"pictureUrl": "/uploads/building/3465/e3b0678c-5c55-4845-b5d0-6c3b4c3a0e9c.jpg",
|
|
52
|
+
"rotation": -5.87100198345247,
|
|
53
|
+
"userIdentifier": "-1",
|
|
54
|
+
"buildingIdentifier": "3465",
|
|
55
|
+
"customFields": {
|
|
56
|
+
"beacons_uuids": "d6d6d97d-ab62-4a66-9a9b-e4dcca75869e, a3dca512-5ec3-494b-951e-d65d3a657e9d",
|
|
57
|
+
"pin": "2222"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"address": "Santiago de Compostela",
|
|
62
|
+
"bounds": {
|
|
63
|
+
"northEast": {
|
|
64
|
+
"latitude": 42.889923292071686,
|
|
65
|
+
"longitude": -8.523998596957476
|
|
66
|
+
},
|
|
67
|
+
"northWest": {
|
|
68
|
+
"latitude": 42.889923292071686,
|
|
69
|
+
"longitude": -8.52810741005307
|
|
70
|
+
},
|
|
71
|
+
"southEast": {
|
|
72
|
+
"latitude": 42.88779100762315,
|
|
73
|
+
"longitude": -8.523998596957476
|
|
74
|
+
},
|
|
75
|
+
"southWest": {
|
|
76
|
+
"latitude": 42.88779100762315,
|
|
77
|
+
"longitude": -8.52810741005307
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"boundsRotated": {
|
|
81
|
+
"northEast": {
|
|
82
|
+
"latitude": 42.8893082013157,
|
|
83
|
+
"longitude": -8.52361445753739
|
|
84
|
+
},
|
|
85
|
+
"northWest": {
|
|
86
|
+
"latitude": 42.89039551626007,
|
|
87
|
+
"longitude": -8.52744797253027
|
|
88
|
+
},
|
|
89
|
+
"southEast": {
|
|
90
|
+
"latitude": 42.887318783984185,
|
|
91
|
+
"longitude": -8.524658034246784
|
|
92
|
+
},
|
|
93
|
+
"southWest": {
|
|
94
|
+
"latitude": 42.888406098928556,
|
|
95
|
+
"longitude": -8.528491549239662
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"center": {
|
|
99
|
+
"latitude": 42.8888571498719,
|
|
100
|
+
"longitude": -8.52605300230789
|
|
101
|
+
},
|
|
102
|
+
"dimensions": {
|
|
103
|
+
"width": 335.639714341492,
|
|
104
|
+
"height": 236.876638131426
|
|
105
|
+
},
|
|
106
|
+
"infoHtml": "",
|
|
107
|
+
"name": "C.C. As Cancelas ",
|
|
108
|
+
"pictureThumbUrl": "/uploads/building/3467/01fe5cf4-b423-4859-bd00-52f26b96a833.png",
|
|
109
|
+
"pictureUrl": "/uploads/building/3467/01fe5cf4-b423-4859-bd00-52f26b96a833.png",
|
|
110
|
+
"rotation": -5.91504488059281,
|
|
111
|
+
"userIdentifier": "-1",
|
|
112
|
+
"buildingIdentifier": "3467",
|
|
113
|
+
"customFields": {
|
|
114
|
+
"pin": "2222"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"address": "",
|
|
119
|
+
"bounds": {
|
|
120
|
+
"northEast": {
|
|
121
|
+
"latitude": 42.87253907829066,
|
|
122
|
+
"longitude": -8.562817801731425
|
|
123
|
+
},
|
|
124
|
+
"northWest": {
|
|
125
|
+
"latitude": 42.87253907829066,
|
|
126
|
+
"longitude": -8.563687573151498
|
|
127
|
+
},
|
|
128
|
+
"southEast": {
|
|
129
|
+
"latitude": 42.87215551039662,
|
|
130
|
+
"longitude": -8.562817801731425
|
|
131
|
+
},
|
|
132
|
+
"southWest": {
|
|
133
|
+
"latitude": 42.87215551039662,
|
|
134
|
+
"longitude": -8.563687573151498
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"boundsRotated": {
|
|
138
|
+
"northEast": {
|
|
139
|
+
"latitude": 42.8721021217466,
|
|
140
|
+
"longitude": -8.563634792306093
|
|
141
|
+
},
|
|
142
|
+
"northWest": {
|
|
143
|
+
"latitude": 42.8722149069941,
|
|
144
|
+
"longitude": -8.562778644442083
|
|
145
|
+
},
|
|
146
|
+
"southEast": {
|
|
147
|
+
"latitude": 42.87247968165883,
|
|
148
|
+
"longitude": -8.56372673044084
|
|
149
|
+
},
|
|
150
|
+
"southWest": {
|
|
151
|
+
"latitude": 42.87259246691492,
|
|
152
|
+
"longitude": -8.56287058257683
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"center": {
|
|
156
|
+
"latitude": 42.8723472943445,
|
|
157
|
+
"longitude": -8.56325268745422
|
|
158
|
+
},
|
|
159
|
+
"dimensions": {
|
|
160
|
+
"width": 71.0686153823893,
|
|
161
|
+
"height": 42.6106416714803
|
|
162
|
+
},
|
|
163
|
+
"infoHtml": "<p>http://Prueba/actualizador/recibirAlarmas</p>",
|
|
164
|
+
"name": "Ed. Emprendia - Situm",
|
|
165
|
+
"pictureThumbUrl": "/uploads/building/3468/549e0d3d-31fa-40ec-bc4e-e3120037217a.jpg",
|
|
166
|
+
"pictureUrl": "/uploads/building/3468/549e0d3d-31fa-40ec-bc4e-e3120037217a.jpg",
|
|
167
|
+
"rotation": -3.31881803875501,
|
|
168
|
+
"userIdentifier": "-1",
|
|
169
|
+
"buildingIdentifier": "3468",
|
|
170
|
+
"customFields": {
|
|
171
|
+
"beacons_uuids": "00000000-0000-0000-0000-000000000000, d6d6d97d-ab62-4a66-9a9b-e4dcca75869e, a3dca512-5ec3-494b-951e-d65d3a657e9d",
|
|
172
|
+
"notification_url": "http://81.32.59.137:1026/v2/entities/Turtlebot/attrs",
|
|
173
|
+
"pin": "5555"
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
]
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"buildingIdentifier": 3468,
|
|
4
|
+
"identifier": 2124,
|
|
5
|
+
"name": "Evento de prueba con conversión",
|
|
6
|
+
"floorIdentifier": 5765,
|
|
7
|
+
"infoHtml": "<p>Fuuuu</p>",
|
|
8
|
+
"trigger": {
|
|
9
|
+
"center": {
|
|
10
|
+
"isIndoor": true,
|
|
11
|
+
"buildingIdentifier": "1051",
|
|
12
|
+
"coordinate": {
|
|
13
|
+
"longitude": -8.563611030578613,
|
|
14
|
+
"latitude": 42.872196197509766
|
|
15
|
+
},
|
|
16
|
+
"floorIdentifier": "1571",
|
|
17
|
+
"cartesianCoordinate": {
|
|
18
|
+
"x": 67.97866821289062,
|
|
19
|
+
"y": 32.9793701171875
|
|
20
|
+
},
|
|
21
|
+
"isOutdoor": false
|
|
22
|
+
},
|
|
23
|
+
"radius": 7.65508486729126
|
|
24
|
+
},
|
|
25
|
+
"conversionArea": {
|
|
26
|
+
"floorIdentifier": 5765,
|
|
27
|
+
"topLeft": "Point2f{ x=16.6862409484321, y=29.2273399479374}",
|
|
28
|
+
"topRight": "Point2f{ x=24.2493074510489, y=29.2273399479374}",
|
|
29
|
+
"bottomLeft": "Point2f{ x=16.6862409484321, y=21.6642734453206}",
|
|
30
|
+
"bottomRight": "Point2f{ x=24.2493074510489, y=21.6642734453206}"
|
|
31
|
+
},
|
|
32
|
+
"conversion": {
|
|
33
|
+
"center": {
|
|
34
|
+
"isIndoor": true,
|
|
35
|
+
"buildingIdentifier": "1051",
|
|
36
|
+
"coordinate": {
|
|
37
|
+
"longitude": -8.56306225061417,
|
|
38
|
+
"latitude": 42.8723345172012
|
|
39
|
+
},
|
|
40
|
+
"floorIdentifier": "1571",
|
|
41
|
+
"cartesianCoordinate": {
|
|
42
|
+
"x": 21.1289754744656,
|
|
43
|
+
"y": 25.849879822643
|
|
44
|
+
},
|
|
45
|
+
"isOutdoor": false
|
|
46
|
+
},
|
|
47
|
+
"radius": 3.7815332513084
|
|
48
|
+
},
|
|
49
|
+
"customFields": {},
|
|
50
|
+
"radius": 7.65508508682251,
|
|
51
|
+
"x": 67.2985661869065,
|
|
52
|
+
"y": 32.698399485956
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"buildingIdentifier": 3468,
|
|
56
|
+
"identifier": 2123,
|
|
57
|
+
"name": "Zone_A",
|
|
58
|
+
"floorIdentifier": 5765,
|
|
59
|
+
"infoHtml": "<p> </p>",
|
|
60
|
+
"trigger": {
|
|
61
|
+
"center": {
|
|
62
|
+
"isIndoor": true,
|
|
63
|
+
"buildingIdentifier": "1051",
|
|
64
|
+
"coordinate": {
|
|
65
|
+
"longitude": -8.563283920288086,
|
|
66
|
+
"latitude": 42.87220764160156
|
|
67
|
+
},
|
|
68
|
+
"floorIdentifier": "1571",
|
|
69
|
+
"cartesianCoordinate": {
|
|
70
|
+
"x": 41.45732879638672,
|
|
71
|
+
"y": 36.58069610595703
|
|
72
|
+
},
|
|
73
|
+
"isOutdoor": false
|
|
74
|
+
},
|
|
75
|
+
"radius": 4.63736758529235
|
|
76
|
+
},
|
|
77
|
+
"conversionArea": {
|
|
78
|
+
"floorIdentifier": 0,
|
|
79
|
+
"topLeft": "Point2f{ x=0.0, y=0.0}",
|
|
80
|
+
"topRight": "Point2f{ x=0.0, y=0.0}",
|
|
81
|
+
"bottomLeft": "Point2f{ x=0.0, y=0.0}",
|
|
82
|
+
"bottomRight": "Point2f{ x=0.0, y=0.0}"
|
|
83
|
+
},
|
|
84
|
+
"customFields": {},
|
|
85
|
+
"radius": 4.6373677253723145,
|
|
86
|
+
"x": 40.7678555540749,
|
|
87
|
+
"y": 36.2300100528102
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"buildingIdentifier": 3468,
|
|
91
|
+
"identifier": 2122,
|
|
92
|
+
"name": "Zone_B",
|
|
93
|
+
"floorIdentifier": 5765,
|
|
94
|
+
"infoHtml": "<p> </p>",
|
|
95
|
+
"conversionArea": {
|
|
96
|
+
"floorIdentifier": 0,
|
|
97
|
+
"topLeft": "Point2f{ x=0.0, y=0.0}",
|
|
98
|
+
"topRight": "Point2f{ x=0.0, y=0.0}",
|
|
99
|
+
"bottomLeft": "Point2f{ x=0.0, y=0.0}",
|
|
100
|
+
"bottomRight": "Point2f{ x=0.0, y=0.0}"
|
|
101
|
+
},
|
|
102
|
+
"customFields": {
|
|
103
|
+
"inbeacon_event_id": "1"
|
|
104
|
+
},
|
|
105
|
+
"radius": 6.73345947265625,
|
|
106
|
+
"x": 29.7554081641248,
|
|
107
|
+
"y": 26.3335853367725
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"buildingIdentifier": 3468,
|
|
111
|
+
"identifier": 2121,
|
|
112
|
+
"name": "Zone_C",
|
|
113
|
+
"floorIdentifier": 5765,
|
|
114
|
+
"infoHtml": "<p> </p>",
|
|
115
|
+
"conversionArea": {
|
|
116
|
+
"floorIdentifier": 0,
|
|
117
|
+
"topLeft": "Point2f{ x=0.0, y=0.0}",
|
|
118
|
+
"topRight": "Point2f{ x=0.0, y=0.0}",
|
|
119
|
+
"bottomLeft": "Point2f{ x=0.0, y=0.0}",
|
|
120
|
+
"bottomRight": "Point2f{ x=0.0, y=0.0}"
|
|
121
|
+
},
|
|
122
|
+
"customFields": {
|
|
123
|
+
"inbeacon_event_id": "2"
|
|
124
|
+
},
|
|
125
|
+
"radius": 5.0654449462890625,
|
|
126
|
+
"x": 5.49053809800192,
|
|
127
|
+
"y": 23.2476749859086
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"buildingIdentifier": 3468,
|
|
131
|
+
"identifier": 2120,
|
|
132
|
+
"name": "VISITA LA WEB DE SITUM",
|
|
133
|
+
"floorIdentifier": 5762,
|
|
134
|
+
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><a href=\"http://www.situm.es\" rel=\"nofollow\">http://www.situm.es</a></p>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://dashboard.situm.es/uploads/rtf/906/e6d33424-58f1-4fcc-b457-6f6f41275d08.png\" width=\"300\" title=\"Image title\"></p>\n<p><br></p>\n</body></html>\n",
|
|
135
|
+
"conversionArea": {
|
|
136
|
+
"floorIdentifier": 0,
|
|
137
|
+
"topLeft": "Point2f{ x=0.0, y=0.0}",
|
|
138
|
+
"topRight": "Point2f{ x=0.0, y=0.0}",
|
|
139
|
+
"bottomLeft": "Point2f{ x=0.0, y=0.0}",
|
|
140
|
+
"bottomRight": "Point2f{ x=0.0, y=0.0}"
|
|
141
|
+
},
|
|
142
|
+
"customFields": {},
|
|
143
|
+
"radius": 1.7790932655334473,
|
|
144
|
+
"x": 40.5332169027118,
|
|
145
|
+
"y": 33.0552544160006
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"buildingIdentifier": 3468,
|
|
149
|
+
"identifier": 2119,
|
|
150
|
+
"name": "Situm Tech",
|
|
151
|
+
"floorIdentifier": 5762,
|
|
152
|
+
"infoHtml": "<p><span contenteditable=\"false\" class=\"f-video-editor fr-fvn fr-tnv\"><iframe width=\"640\" height=\"360\" src=\"//www.youtube.com/embed/HrAU5lm-0Is\" frameborder=\"0\" allowfullscreen=\"\"></iframe></span></p>",
|
|
153
|
+
"conversionArea": {
|
|
154
|
+
"floorIdentifier": 5762,
|
|
155
|
+
"topLeft": "Point2f{ x=52.30954112223287, y=38.382815603118026}",
|
|
156
|
+
"topRight": "Point2f{ x=53.40242908265992, y=38.382815603118026}",
|
|
157
|
+
"bottomLeft": "Point2f{ x=52.30954112223287, y=37.28992764269098}",
|
|
158
|
+
"bottomRight": "Point2f{ x=53.40242908265992, y=37.28992764269098}"
|
|
159
|
+
},
|
|
160
|
+
"customFields": {},
|
|
161
|
+
"radius": 2.554884672164917,
|
|
162
|
+
"x": 61.4143055057337,
|
|
163
|
+
"y": 32.4766766877393
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"buildingIdentifier": 3468,
|
|
167
|
+
"identifier": 2118,
|
|
168
|
+
"name": "Eventooo",
|
|
169
|
+
"floorIdentifier": 5762,
|
|
170
|
+
"infoHtml": "<p>aa</p>",
|
|
171
|
+
"conversionArea": {
|
|
172
|
+
"floorIdentifier": 5762,
|
|
173
|
+
"topLeft": "Point2f{ x=43.75787298571174, y=38.83664378927726}",
|
|
174
|
+
"topRight": "Point2f{ x=52.22406535865926, y=38.83664378927726}",
|
|
175
|
+
"bottomLeft": "Point2f{ x=43.75787298571174, y=30.370451416329743}",
|
|
176
|
+
"bottomRight": "Point2f{ x=52.22406535865926, y=30.370451416329743}"
|
|
177
|
+
},
|
|
178
|
+
"customFields": {},
|
|
179
|
+
"radius": 8.40263843536377,
|
|
180
|
+
"x": 51.0785514287599,
|
|
181
|
+
"y": 34.4387800138938
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"buildingIdentifier": 3468,
|
|
185
|
+
"identifier": 2117,
|
|
186
|
+
"name": "Evento con imaxe",
|
|
187
|
+
"floorIdentifier": 5762,
|
|
188
|
+
"infoHtml": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<p><img class=\"fr-fin fr-dib\" alt=\"Image title\" src=\"https://dashboard.situm.es/uploads/rtf/8680/0c95db1c-8772-4d08-89e9-3779d0196237.png\" width=\"300\" title=\"Image title\"></p>\n<p><br></p>\n</body></html>\n",
|
|
189
|
+
"conversionArea": {
|
|
190
|
+
"floorIdentifier": 5762,
|
|
191
|
+
"topLeft": "Point2f{ x=7.5667120540507495, y=23.20767040283435}",
|
|
192
|
+
"topRight": "Point2f{ x=16.212438461435248, y=23.20767040283435}",
|
|
193
|
+
"bottomLeft": "Point2f{ x=7.5667120540507495, y=14.561943995449848}",
|
|
194
|
+
"bottomRight": "Point2f{ x=16.212438461435248, y=14.561943995449848}"
|
|
195
|
+
},
|
|
196
|
+
"customFields": {},
|
|
197
|
+
"radius": 42.064903259277344,
|
|
198
|
+
"x": 46.3544307421476,
|
|
199
|
+
"y": 28.574023171399
|
|
200
|
+
}
|
|
201
|
+
]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"altitude": 0,
|
|
4
|
+
"buildingIdentifier": "3468",
|
|
5
|
+
"level": -1,
|
|
6
|
+
"mapUrl": "https://dashboard.situm.es/uploads/floor/5762/b61bf2f5-af5f-415e-a34c-7826bf0440e2.png",
|
|
7
|
+
"scale": 17.785628623816095,
|
|
8
|
+
"floorIdentifier": "5762"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"altitude": 0,
|
|
12
|
+
"buildingIdentifier": "3468",
|
|
13
|
+
"level": 0,
|
|
14
|
+
"mapUrl": "https://dashboard.situm.es/uploads/floor/5763/9bca9927-b77d-4022-bdb4-f38d0d1f515b.png",
|
|
15
|
+
"scale": 17.785628623816095,
|
|
16
|
+
"floorIdentifier": "5763"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"altitude": 16,
|
|
20
|
+
"buildingIdentifier": "3468",
|
|
21
|
+
"level": 1,
|
|
22
|
+
"mapUrl": "https://dashboard.situm.es/uploads/floor/5764/e2e15d0f-78ab-4014-8196-3fd7fc41fd37.png",
|
|
23
|
+
"scale": 17.785628623816095,
|
|
24
|
+
"floorIdentifier": "5764"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"altitude": 30,
|
|
28
|
+
"buildingIdentifier": "3468",
|
|
29
|
+
"level": 2,
|
|
30
|
+
"mapUrl": "https://dashboard.situm.es/uploads/floor/5765/51fa780f-3360-4c08-8a29-4d29e4349d0e.png",
|
|
31
|
+
"scale": 17.785628623816095,
|
|
32
|
+
"floorIdentifier": "5765"
|
|
33
|
+
}
|
|
34
|
+
]
|