Mapbox iOS SDK 2 markers cluster - ios

The deprecated MapBox iOS SDK version 1 has some classes and examples for helping create markers cluster. In its new iOS SDK version 2 however this functionality is somehow gone or is not explicitly exposed. The closest class, MGLPointAnnotation, doesn't seem to have anything to indicate if an Annotation is clustered or not. Anybody else has similar issue or has found a solution/workaround?

There is no support for clustering yet in 2.x: https://github.com/mapbox/mapbox-gl-native/issues/320

Related

MapboxOptimizedTrips missing from package MapboxSDK.AndroidServices (Xamarin.Android)

I'm currently implementing MapBox in a Xamarin.Android application, I'm looking at the examples from MapBox Github, this one in specific https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/examples/mas/OptimizationActivity.java, which I'm translating to C#, but now I'm facing a problem. In this example they use a class called "MapboxOptimizedTrips" which comes from lib 'com.mapbox.services.api.optimizedtrips.v1.MapboxOptimizedTrips'. In Xamarin I have imported all libraries that Xamarin made for MapBox, which is these 3:
MapBoxSDK.Android
MapBoxSDK.AndroidServices
MapBoxSDK.JavaServices
None of these includes the Optimized Trips API related classes. Has anyone faced this issue before?
Screenshot of code
I thought you read and followed this document from Mapbox?
Mapbox Navigation library is kept changing and adding new features
There are two DirectionsRoute class from Mapbox libraries
both DirectionsRoute returned by Mapbox Optimization packages doesn't fit with what NavigationRoute does.
I think you have to go with the way you mentioned, call to API directly. Or wait for Mapbox to evolve their library.
Cheers.

How can I put in charts with swift 3 Xcode 8?

I'm beginner swift developer. Just for a week now I've been trying to implement some kind of chart into my app. I know Swift 4 and Xcode 9 are already out but I'm still using Swift 3 and Xcode 8. I've read a lot of tutorials and different pages but still I'm not able to find any working ones. All examples are either too old or for swift 4. I've learned about using Cocoapods and other frameworks such as Firebase or Alamofire work just fine.
Please let me know if you can help me with finding some chart library that actually works as it is supposed to.
To get things materialistic and kick off, for building charts in iOS try Charts library. One of the best third-party libs out there.
Or check this list for even more awesome iOS charts libraries.

No map tiles loading when using Mapbox legacy when compiling with Xcode 7

I'm currently in charge of maintaining a legacy application, written in Xamarin (without .Forms, I code individual UIs per platform).
The code uses a rather very old version of Mapbox iOS Mapbox iOS SDK Legacy.
My problem is, the map remains white, even though all our custom map pins are all loaded without a hitch. It's as if the tiles are not loaded.
I have compiled old versions of the app that were released successfully, but the problem persists.
The only difference between my current setup and the guy who coded it before me is, that I'm using a newer XCode version (Version 7).
Due to time constraints and existing code, refactoring the whole solution to use a more modern Mapbox implementation would only be my very last resort.
Does anybody have an idea what may be wrong, or what I could do? (Also non-Xamarin suggestions are more than welcome)
Thanks in advance,
Cheers
Turns out the solution was in the URL the base tiles were fetched from.
Apparently the component fails quietly on iOS 9.2 when trying to load tiles from an http source.
I changed the url to https and now it works like a charm.

iOS navigation app with multiple & offline maps: which library to use?

i'm stuck with problem of what lib to choose for my nav app project.
At the moment there is:
1) route-me
2) Alpstein route-me
3) mapbox-ios-sdk
What is the difference between them all? What to choose as a foundation for navigation app?
Requirements for my app:
1) Multiple maps available
2) Multiple selected areas of different maps to work offline
Thank you a lot!
Basically you've got:
Route-me/Route-me
Alpstein/Route-me (branch from Route-me/Route-Me)
Mapbox/Mapbox-ios-sdk (branch from Alpstein/Route-Me)
Although Alpstein is a fork from the original route-me it has derailed a lot. Feature-wise it's not that different, but has lots of performance improvements, and the API itself is different (and better IMHO).
Also, the Alpstein has more activity in Github than the original branch, which I find a positive thing.
The mapbox branch is exactly the same as the Alpstein, but includes some specific MapBox features like:
Ability to load maps from the MapBox cloud storage service natively
Interaction with the UTFGrid technology.
So, to summon up, I would choose the Alpstein fork if you don't use MapBox specific features, and the MapBox-ios-sdk if you do.

How To Set Up Irrlicht Game Engine in Xcode for ios deployment

I know that some people have managed to do this, seeing as there are numerous apps on the app store powered by irrlicht. I have tried to set up an xcode project with all the irrlicht sources and compile and run for ios but can't get it to work. I am using irrlicht 1.7.3. Has anyone managed to do this who would be willing to share how they accomplished this?
I think they are using http://www.rtsoft.com/wiki/doku.php?id=proton
that uses irrlicht.
"Both 2D and 3D games (using the included but optional Irrlicht 3D engine) are supported."

Resources