How to draw polyline over map in apple watchOS - swift

We have tried with apple map but apple map SDK does not allow us to draw polyline over the map so we have seen one application that is doing a similar thing using MapBox SDK. But unfortunately, Mapbox official documentation does not provide any guides about implementing Mapbox SDK in Apple WatchOs.
We have also tried to contact Mapbox support but we didn't get a response from there so if anyone knows how to integrate Mapbox SDK in Apple watchOS.

Unfortunately, Mapbox SDK does not support watchOS.
As Maps SDK cannot be used with WatchOS because Metal API is not available on watchOS
source
MapboxStatic could be your best chance to show a polyline with non-interactive map. You can check out some basic examples here. It works perfectly with MapboxDirections in case you don't have the shape coordinates or you can build your own GeoJson using Turf.
All the SDKs mentioned above support watchOS.

Related

Is there a PixiOverlay alternative for mapbox?

I'm developing 3 map-based apps - the first one is a web app (using React.js) and the others are Android and iOS apps (using mapbox).
I'm using Leaflet library with mapbox tiles for the web app, and therefore we enjoy the plugins that Leaflet offers us. One of those plugins is PixiOverlay (https://github.com/manubb/Leaflet.PixiOverlay) which speeds up our map performance.
As a result, I have two questions:
Does mapbox as an alternative solution (like PixiOverlay) for their mobile SDK?
In PixiOverlay's documentation, they have the following example: https://manubb.github.io/Leaflet.PixiOverlay/french-cities.html. The markers' size is dynamically changed based on zoom level, and they do not override each other. Can I implement something similar by using mapbox SDK?
Thanks for your help!

Is it legal to add Overlay maps to Apple MapKit framework?

Since iOS 6.0 uses Apple Map,I would like to add Google Map as Overlay by using TileOverlay.Is there any possibility that App store rejects the application ? Can I directly adapt Overlays to mapkit without significant change in my existing code? what about adding Annotations to Overlay Maps?
Now Google Map release the new Google Maps SDK for iOS allows users to view and interact with a Google map in your iOS app. Let's check it out : a link here! Cheers
Why not using Googles new maps SDK for iOS?

How to force MapKit to use Google Mobile Maps (GMM) beyond iOS 5.1

The Map Kit Framework Reference says:
In iOS5.1 and earlier,the Map Kit framework uses the Google Mobile Maps (GMM) service to provide map data.
If I use the MapKit framework for displaying maps, it is using google maps for iOS 5.1 and earlier, for iOS 6 it uses apples new maps. Can I force MapKit to still use goggle mobile maps instead?
Related Links:
What's new in iOS6, Location Awarness Programming Guide
No, not possible.
With iOS 6 and above, you cannot access Google Maps natively. If you wish to use MapKit on iOS 6, you're stuck with Apple Maps. End of. This shouldn't be too much of a problem; MapKit should work seamlessly with either Google Maps on iOS 5 and Apple Maps on iOS 6, and you use the same API and code in either version.
You can still access Google Maps via URL (http://maps.google.com/...), and send the user to it via Safari, or maybe using a UIWebView, but the functionality you have will be fairly restricted (only what's possible to pass in the URL as parameters). You'll have a lot of work cut out for yourself if you want to support Google Maps in iOS 6.

using BING maps on iPhone / iPad sdk

has anyone had any experience using BING maps on the iphone/ipad? We have an application which uses the googlemaps default map in the SDK, but we now have a requirement to use BING maps instead.
I am thinking we'd use the BING API via a UIWebView?
Has anyone else tried this? Thanks for any information!
I've used a bing API n a UIWebView, however the JS is rather costly, yet until I find and discover a BING SDK for the iPhone/iPad will probably have ot resort to that.
One other thing you can try (which I've just started down the path of), is trying to use HTML5 to cache a bunch of the is parts to it and see if that might speed the implementation up.
Hope that helps!
Apparently, the http://ibing.codeplex.com/ project on Codeplex was created with the intent of adding Bing Maps support for iOS and MacOS developers. It doesn't look to have been updated in over a year, and I don't know if it even works. Just thought I'd post it for anyone interested in checking it out.
this maybe another approach worth looking into
https://github.com/mtigas/iOS-MapLayerDemo
Recently announced and posted on the Bing Maps Blog on 5 May 2011, a new Bing Maps control/SDK is now available for iOS.
The Bing Maps iOS Control is an Objective-C control for embedding maps directly into native iOS apps. With a rich, gesture-based UI provided by Seadragon, the Bing Maps iOS Control provides support for adding pushpins and other overlays to the map, allows your device location to be displayed, and provides the ability to retrieve contextual information for a given map location.
Link to download the SDK:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6e01a102-49ed-409e-b384-0b67521fb612

Bing maps for iPhoneSDK

Does anyone know how to create simple iPhone app using bing maps?
The Bing Mobile/Bing Maps team released a new Bing Maps iOS SDK for iPhone and iPad in early May 2011. You can download the SDK here and read about the details in this blog post.
Personally I would start by reading their API and figure out which services to use
You may also find that the Bing Maps V7 AJAX control used with PhoneGap gives you a lot more power. Using this approach you get the full power of Bing Maps and the ability to then re-use your application accorss not just iPhone and iPad, but other mobile devices as well.