Hello! :wave: Has anyone been able to use google m...
# compose-ios
v
Hello! 👋 Has anyone been able to use google maps ios utils in their CMP project with cocoapods? 🤔
d
Hello @Vytenis checkout this repo from Chris Athanas https://github.com/realityexpander/FredsRoadtripStoryteller
v
Hey @Dennis, unfortunately this repo has the same problem as I do with google utils for iOS 😞 I am trying to implement clustering on iOS, but can't integrate the google utils ios library with cocoapods
d
ooh oky,if you get a work around kindly share
👍 1
m
I have it building and adding clusters and markers -- they just disappear -- sorry about the old thread revive, but if folks want, i can share the files and stuff i have for that part and maybe we can work on what's missing to get the rest of it going
v
That would be awesome to see, I would take a look when I have a chance 👀 I am getting this error when trying to build:
Failed to generate cinterop for :composeApp:cinteropGoogle_Maps_iOS_UtilsIosArm64: Process 'command '/Applications/Android <http://Studio.app/Contents/jbr/Contents/Home/bin/java|Studio.app/Contents/jbr/Contents/Home/bin/java>'' finished with non-zero exit value 1
:composeApp:iosX64Test: cinterop file: /Users/vytenis/AndroidStudioProjects/Aplink-Mane/composeApp/build/classes/kotlin/iosX64/main/cinterop/composeApp-cinterop-Google_Maps_iOS_Utils.klib does not exist
c
i would def take a look if its on github. it can also be like... a generic project so we can all help try to make kmp maps work!
👍 1
m
I followed this for pulling in the google maps utils stuff -- https://medium.com/@jvondermarck/developing-with-kotlin-compose-multiplatform-and-integrating-native-ios-libraries-a7b6b795b7ec. and right now I've got clusters and markers -- I'm going to be working towards full interactivity and then see if i can't get the content swapping like i have on the google maps compose side (I re-did clustering to expand with the items inside and such since i have many times where multiple will be at the same location and the compose side doesn't have min/max cluster size with zoom levels without me redoing a number of the rendering pieces myself)