Has anyone have example of Google maps for multipl...
# multiplatform
d
Has anyone have example of Google maps for multiplatform, I am trying to integrate Google maps with multiplatform in iOS I am facing an issue where I have added the maps but delegate callback is not working when I am scrolling/dragging the map, I wanted to get the lat lng from centre of the map for iOS
m
I've not used Google Maps, but most iOS delegates are held by weak reference, so if you are not holding onto your own copy of the delegate, the callbacks stop working.
👍 1
d
Btw is there any CMP map SDK ? I know about Mapbox , but it’s not multiplatform , it’s only for android
m
I've built a KMP (Android and iOS) library for The Weather Company for animating data on a map. The main engine that it works on is Mapbox. It's not CMP (not even Compose), but I have built CMP test apps using it. A CMP module for it is desired, but not scheduled. It's mostly being used internally and the company is still figuring out pricing and licensing for external customers. But if interested, I can find out if there is a client rep, that I could direct you to.
d
I would be interested to see, thanks. There is a lack of libraries on CMP, and maps - is one of it.
👍 1
d
m
@Dumitru Preguza I mentioned your interest to my manager. I'm not connected to sales, and I don't know where along they are on the plans for how to sale the library, but I'll let you know if I hear anything.
👍 1
d
@Dennis the repo you mentioned is great but not what I am looking for, I just want the callback whenever user stops dragging/scrolling the maps so that I can get the location from centre of Google maps view