Use this tag for programming questions relating to Huawei Map Kit. It is one of the services provided by Huawei HMS Core for developers. HUAWEI Map Kit provides powerful and convenient map services for developers to implement personalized map display and interaction at ease.
Questions tagged [huawei-map-kit]
55 questions
1
vote
1 answer
Huawei Map Kit Style Feature
I'm developing a reference app. The app has fullscreen map via Huawei Map Kit with style file. When users open app for the first time, map style not working correctly. But style works correctly after user reopen the app.
I added code blocks and…

Matrix
- 503
- 3
- 17
1
vote
1 answer
Migration an app(maps,analystics..etc.) from google play to Huawei App Gallery
I have an app on the Google Play Market and I developed that with Google Play services, maps, analytics, location services. now I need to migrate this app to the Huawei app gallery, I need to publish the app with the same features on the Huawei App…

adm
- 41
- 3
1
vote
3 answers
HMS Map toolkit - onMapReady() not called after getMapAsync() calling
I am working with HMS Maps, for this I follow their documentation.
For this query I tried this link. I added SHA-256 key and agconnect-services.json file too.
The Steps which I did are:
dependency in app gradle: implementation…

Faizan Ahmad
- 352
- 4
- 20
1
vote
1 answer
Huawei Mapkit Dependency Error: Could not find com.huawei.hms:maps:6.0.0.301. Required by: project :app
I need to add Huawei Mapkit on my project in Kotlin. But when i add Dependency and pressed to sync button i am getting this error. I was implement all dependency and files but i am still getting this error. Anyone could help me?

Ali Şamil Küçük
- 11
- 3
1
vote
1 answer
How to show current location in HMS map with custom marker option?
I have used HMS Map in my app. I am select some location using location kit search and displaying in map with custom marker. I can able to get Latitude and Longitude perfectly. Also i can display the selected location in map too before few days. But…

The Bala
- 1,313
- 1
- 15
- 23
1
vote
1 answer
Getting the error "Trying to create a platform view of unregistered type: com.huawei.hms.flutter.map/map" when using huawei_map for Flutter
Getting the error "Trying to create a platform view of unregistered type: com.huawei.hms.flutter.map/map" when using huawei_map for Flutter
Component:
HuaweiMap(initialCameraPosition: CameraPosition(target: _center, zoom: _zoom))
Device: Huawei P40…

Stefan Zeuch
- 121
- 1
- 2
- 11
1
vote
1 answer
Huawei Map Kit, is there a way to define an onClick event on a marker cluster?
I am creating an app for AppGallery using Huawei Map Kit.
Map kit doesn't have a cluster manager, as Gmaps.
You can only make markers clusterable, but there doesn't seem to be any way of handling that clustering, especially the onClick event.
Does…

perun_the_mighty
- 81
- 5
1
vote
2 answers
What causes "please check whether the agconnect-services.json file is added to your app project" in using HMS Map Kit with React Native
I already added the agconnect-services.json file and already succeeded in integrating HMS Push Kit in getting AAID and device token

jonan.pineda
- 1,264
- 11
- 19
1
vote
1 answer
Creating a Huawei Map programmatically
I'm creating programmatically a Huawei map, but despite MapFragment() is a child of Fragment class, the transaction add doesn't recognize it as a Fragment. Here's my code:
val transaction: FragmentTransaction =…

BraveQueen05
- 33
- 5
1
vote
1 answer
Using Google's maps sdk android utility library in Huawei Map Kit
I am trying to migrate Google Maps to Huawei Map kit. But there are no features for ClusterManager, ClusterItem, DefaultClusterRenderer e.t.c.
Now I am trying to use below this library for it:
But I do not know how to implement it. I opened Gradle…

Aytaj
- 67
- 6
1
vote
2 answers
Huawei MapView Leaking in Fragment
I have Bottom Navigation View with 4 tab and one of them contains Huawei MapView. When I switch from Tab A which contains MapView to Tab B, Leak Canary show a memory leak which related to MapView
Fragment only contains MapView, there is not any…

ysfcyln
- 2,857
- 6
- 34
- 61
1
vote
2 answers
Huawei HMS map kit camera won't move/animate to given position
i'm using huawei map kit in my app, i'm following the steps mentioned in their documentation..the map loads and just moves me to ivory coast every time..i don't understand why
my code
private HuaweiMap hMap;
private MapView mMapView;
double…

M.KH
- 388
- 1
- 5
- 20
0
votes
1 answer
Huawei map seems to be initialized on second time
I do have an android app which is adjusted to be released at huawei store.
Here is the initialization snippet:
if (areGoogleServicesAvailable()) {
// google map here
} else {
MapsInitializer.initialize(this)
val mapFragment =
…

nKognito
- 6,297
- 17
- 77
- 138
0
votes
0 answers
Huawei Map Kit Street View implementation
I've been trying to implement Street View with Huawei HMS - MapKit.
I'm kind of stuck so any help would be appreciated.
This is code for GMS which works on Android phones;
SupportStreetViewPanoramaFragment frag =…

Evren U
- 51
- 1
- 7
0
votes
0 answers
using huawei map in flutter , the app crashes after opening the map page
I using huawei map in flutter , the app crashes after opening the map page.
I tried adding com.huawei.hms.client.appid, and HuaweiMapInitializer.setApiKey , but they both have no effect and the application crashes as well.
Here is the error…

joey
- 1
- 3