Using maps in osx app.

Is there a way to add google maps or mapbox to osx app built with swift? Both websites only show api for ios. Is there any option to add maps to osx app without using apple maps?

If the API is for iOS only, then you won't be able to use it on OS X, regardless of what language it uses. The user interface models between iOS and OS X are so different that even if it were possible to port an iOS app or user interface API to OS X, it wouldn't be worth the effort.

The choices for maps on OS X is pretty poor. I ported most of the older RouteMap framework which was iOS only to OS X but stopped after MapKit was released for 10.9. The best hope is that one of the iOS only map frameworks gets ported to OS X. MapKit is just too limited for many things.

You know, you can file enhancement requests for such things using the Bug Reporter.

Using maps in osx app.
 
 
Q