This is a demo React Native project to show a performance issue in custom marker in google maps on iOS using react-native-maps. I have reported this issue.
Screenshot:
Performance profile of using custom marker:
- Use your google maps API key for iOS in
ios/CustomMarkerIssueDemo/AppDelegate.m
. - Run
npm install && cd ios && pod install && cd ..
- If you want to run the app on Android, use your google maps API key for Android in
android/app/src/main/AndroidManifest.xml
. - Run
react-native run-ios
orreact-native run-android
.
Author: Vince Yuan
License: MIT