{"id":26822601,"url":"https://github.com/newoceaninfosys/react-native-smart-space-floor-map","last_synced_at":"2025-04-26T10:45:05.335Z","repository":{"id":57131778,"uuid":"94982767","full_name":"newoceaninfosys/react-native-smart-space-floor-map","owner":"newoceaninfosys","description":"Floor Map Component for Smart Space Android","archived":false,"fork":false,"pushed_at":"2018-01-30T08:40:49.000Z","size":267,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T08:19:44.755Z","etag":null,"topics":["android","ios","javascript","react-native","typescript"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/newoceaninfosys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-21T08:43:50.000Z","updated_at":"2024-08-07T20:56:42.000Z","dependencies_parsed_at":"2022-09-03T11:41:12.639Z","dependency_job_id":null,"html_url":"https://github.com/newoceaninfosys/react-native-smart-space-floor-map","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Freact-native-smart-space-floor-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Freact-native-smart-space-floor-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Freact-native-smart-space-floor-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newoceaninfosys%2Freact-native-smart-space-floor-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newoceaninfosys","download_url":"https://codeload.github.com/newoceaninfosys/react-native-smart-space-floor-map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250787020,"owners_count":21487255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ios","javascript","react-native","typescript"],"created_at":"2025-03-30T08:19:23.813Z","updated_at":"2025-04-25T08:46:41.524Z","avatar_url":"https://github.com/newoceaninfosys.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-smart-space-floor-map\n\nA project to display floor image and desks over it with zooming feature for Smart Space App.\n\n## Features\n- Display Image with zooming\n- Render Desks over the image\n- Allow to click to the desk and set active style\n\n## About\n\nThis project was started in the cause of solving issue Image Zooming and drawing in Android\n\n\n## Installation\n\nInstall package from npm\n\n```sh\nnpm install --save @nois/smart-space-floor-map\n```\nIn App Gradle\n```gradle\n...\n\ndependencies {\n    ...\n\n    compile project(':smart-space-floor-map')\n    \n    ...\n}\n```\n\nIn `android/settings.gradle`\n```gradle\n...\n\ninclude ':smart-space-floor-map'\nproject(':smart-space-floor-map').projectDir = new File(rootProject.projectDir, '../node_modules/smart-space-floor-map/android/release')\n```\n\nManually register module in `MainApplication.java`:\n\n```java\nimport com.south32.oraclecms.floormap.FloorMapPackage;  // \u003c--- Import Package\n\npublic class MainApplication extends Application implements ReactApplication {\n\n  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {\n      @Override\n      protected boolean getUseDeveloperSupport() {\n        return BuildConfig.DEBUG;\n      }\n\n      @Override\n      protected List\u003cReactPackage\u003e getPackages() {\n\n      return Arrays.\u003cReactPackage\u003easList(\n          new MainReactPackage(),\n          new FloorMapPackage() // \u003c---- Add the Package\n      );\n    }\n  };\n\n  ....\n}\n```\n\n## Usage\n\nCheck out the `example` folder for sample code\n\n## Development\n\nUncomment the `application` that include the `activity` in `AndroidManifest.xml` and run the project to dev. Remember to comment it again to make a release.\n\n## Release\n- Run following command to update release folder: `$ npm run release`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewoceaninfosys%2Freact-native-smart-space-floor-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewoceaninfosys%2Freact-native-smart-space-floor-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewoceaninfosys%2Freact-native-smart-space-floor-map/lists"}