Questions tagged [huawei-map-kit]

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.

55 questions
8
votes
5 answers

Huawei HMS Maps Android Codelab not working

I am trying to use the Huawei Maps Kit for the new devices that don't include Google Play Services. Codelab demo is located at: https://developer.huawei.com/consumer/en/codelab/HMSMapKit/index.html#7 I haven't changed any single line of code of the…
6
votes
2 answers

Huawei Map not loading tiles

I have followed the documentation here and here (which are pretty straight forward), but the map view does not load any tiles. I use HMS Toolkit, and the Configuration Wizard results in success. I also have set my api key, using this line in both my…
5
votes
2 answers

Maps kit crashed as soon as the user try to open it

we have issue with hms react native map kit, during development we used cloud device and we don't have issue with showing maps on p40 & m30 devices Later on some huawei devices user can't open the maps without app crash & closed (Honor 8x &…
4
votes
1 answer

Unable to get Huawei Mapkit to display a map (Used source code from the official codelab)

I tried following the instructions in the official codelab Here's a link to the corresponding source code: https://github.com/huaweicodelabs/MapKit What I did: Modified the packagename(AppGallery Connect portal doesn't allow apps with package-names…
4
votes
1 answer

Huawei Maps not responding to Offstage flutter

I have working maps with GoogleMaps in my app but now I need to upload my app to AppGallery and I am trying to do my functionality with Huawei Maps. However Huawei Maps not acting same as Google Maps and I don't know why. This is my app, map should…
3
votes
2 answers

Huawei Map always showed in top of stack widget in flutter

When I use the Huawei map in my flutter app, I put it in the stack widget and put many floating buttons to access the map. before the map is rendered the buttons show but after map rendering the buttons don't appear, but the buttons are still…
awshakam98
  • 495
  • 2
  • 5
  • 13
3
votes
1 answer

Get appId with AGConnectServicesConfig failed

I have some doubts about this message in the logcat : E/HMSSDK_AGCUtils: Get appId with AGConnectServicesConfig failed If this error or message could give problems in the future since it is displayed when viewing the Maps Kit Map? I have already…
3
votes
1 answer

Huawei Map Kit React Native not render the map

After following huawei setup docs https://developer.huawei.com/consumer/en/doc/development/HMS-Plugin-Guides-V1/preparedevenv-0000001050032222-V1, maps still not render on our apps.. It just showing blank screen without any error show, on both…
3
votes
1 answer

Huawei maps throwing array out of bound exception on rendering

I implemented huawei maps, followed all the protocols explained by @shirley here. the maps is working fine for the first time. but while loading second time it creates a weird array out of bound exception with a crash on setContent view. and after…
2
votes
2 answers

Android Huawei maps agconnect-services.json can't be located

I have the issue with Huawei maps after introducing product flavours and issue is referenced to the fact that agconnect-services.json can't be located E/HMSSDK_AGCUtils: Get client/cp_id failed: java.io.FileNotFoundException:…
2
votes
1 answer

HMS Map toolkit - issue rendering a Map

Trying to add HMS maps to my app (GMS works right) I faced problem with rendering map. The map fragmet load the map only for the visible area, moving the map, or zooming out it's visible only the grey grid. (I try to test it with activity and code…
2
votes
1 answer

Huawei mapStyle is not applied properly

I am trying to add map style to Huawei map for my app. I had made a JSON file for style from Huawei map style editor and use it in setMapStyle method by MapStyleOptions.loadRawResourceStyle and passing the JSON file. I used huawei simple map and add…
2
votes
1 answer

HMS Map Kit - How to set camera zoom to current location?

I would like to make the map auto-focus to the current location and I've obtained the location via Location Kit. fusedLocationProviderClient = LocationServices.getFusedLocationProviderClient(this); Now, I was trying to set the latitude and…
2
votes
2 answers

Huawei Map Kit - OnMapReady() not called after GetMapAsync() in Xamarin.Android

I'm integrating the Huawei Kit in my app but I'm struggling because it doesn't call OnMapReady at all: This is my code: XML:
2
votes
1 answer

Alternative for com.google.maps.android.SphericalUtil in HMS

Standard HMS converter does nothing to SphericalUtil.computeOffset (of com.google.maps.android:android-maps-utils). At the same time it depends on 'com.google.android.gms.maps.model.LatLng'. Is there an alternative in HMS world (for SphericalUtil,…
ror
  • 3,295
  • 1
  • 19
  • 27
1
2 3 4