library-hms-map

1.0.0 • Public • Published

Sample project demonstrating the integration of the official HSM Map kit in react native

Map kit docs : https://developer.huawei.com/consumer/en/hms/huawei-MapKit

how to run it:

  • install the node_modules with npm i
  • connect huawei/Honor device with Huawei mobile services 'HMS' installed, and make sure the debugging is enabled
  • run the command npm run android
notes:
  • Markers are loaded from a json file in the root directory, ./fakeDB.json

  • Marker default icon is loaded from a url in ./App.js#ICON

  • the location of the markers is randomized everytime the load markers button is clicked.

  • the app requires internet connection to download the map tiles (graphics) and data (icons ,names of cities, countries...)

  • Hms configuration file can be found at: ./android/app/agconnect-services.json.

Readme

Keywords

none

Package Sidebar

Install

npm i library-hms-map

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

263 kB

Total Files

78

Last publish

Collaborators

  • mudasirsharif