mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Can we add Bing maps Mapbox iOS styles?

Open paresh-thakor opened this issue 4 years ago • 0 comments

I am using Mapbox SDK because I want customised map display for particular park with custom tracks and labels. Mapbox allows such customisations easily but I found that Mapbox has low resolution aerial view for certain locations I am working upon than Bing Maps.

Is it possible to load Bing Maps as base for Mapbox styles? We need to create style from Mapbox studio and in Mapbox iOS SDK we are using this style URL like shown in code here.

let url = URL(string: "mapbox://{STYLE URL}")
let mapView = MGLMapView(frame: view.bounds, styleURL: url)
mapView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
mapView.delegate = self
        
view.addSubview(mapView)

Can we add Bing Maps anyhow for such style via coding or from Mapbox studio?

Can we utilise this example to load Bing map? https://docs.mapbox.com/ios/maps/examples/source-custom-raster/

I have accessed certain Bing Map APIs.

API to get Aerial imagery for Location: https://docs.microsoft.com/en-us/bingmaps/rest-services/imagery/get-imagery-metadata#get-aerial-imagery-metadata-at-street-level

https://docs.microsoft.com/en-us/bingmaps/rest-services/directly-accessing-the-bing-maps-tiles

Can we utilise these APIs or have any better option than this?

Following images show differences between coverage for both maps.

Bing Map:

autO2

Mapbox Map:

dLjTq

paresh-thakor avatar Jun 16 '21 14:06 paresh-thakor