Closed MateuszRostkowski closed 1 year ago
I resolve this issue adding mapType prop like this:
enum HMSMapType {
NONE = 0, // Empty grid map.
NORMAL = 1, // Basic map.
TERRAIN = 3, // Terrain map.
}
<HMSMap
ref={mapRef}
mapType={HMSMapType.NORMAL}
camera={{ target: { latitude: 0, longitude: 0 }, zoom: 20 }}
/>
I'm still struggling with performance of the map component:
onClick
, so UX when implementing custom logic after pressing marker is really bad :(Edit: Actually I found the cause of this issue. I was passing a lot of markers to the map (around 400 - 500) and clustering wasn't making this more performant. I will work on my own solution for that.
Description Maps are not rendering, there is only displayed background, with
PetalMaps
title.I have correctly followed instalation proces:
Enable mapkit on app gallery
Add production sha-256 to app gallery
Download
agconnect-services.json
file from app galleryPlace
agconnect-services.json
atandroid/app
folderChange android files (check screenshots)
android/build.gradle
android/app/build.gradle
android/AndroidManifest.xml
After building app I'm verifying if app is correctly signed up:
I'm rendering map in app like this (I was also trying other values, and trying to style the map):
Expected behavior Map should render normally
Current behavior Map is not rendering
Screenshots
Logs
Environment
Other I'm running tests with debugging cloud on app gallery connect platform.