Is it possible to implement Google maps that work on mobile and browser too?


#1

The current implementation of Google Map library from ‘ionic-native’ doesn’t work in browser. I was wondering if we can have single code for map that works in browser and app exactly the same.

Although web-based (JS) maps works fine in mobile app and browser, but they are not as good in mobile app.


#2

The only solution would be to abstract your mapping code and branch based on the platform you are running on.


#3

Thanks, I’ll do that - would have been great if it was available out of the box.