1.0.0 • Published 4 years ago

library-hms-map v1.0.0

Weekly downloads
4
License
-
Repository
-
Last release
4 years ago

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.