mapbox / DEPRECATED-mapbox-ios-sdk

REPLACED – use https://www.mapbox.com/ios-sdk instead
https://github.com/mapbox/mapbox-gl-native
Other
323 stars 8 forks source link

CRS.simple #556

Closed romeo4934 closed 9 years ago

romeo4934 commented 9 years ago

Dear all, I have tiles with L.CRS.simple I was wondering if we could use mapbox-ios-sdk ?, Do I need to tweak some method? Which method RMProject ? @incanus ? Thank you so much for your answer! Best regards, Antoine

incanus commented 9 years ago

Hello @antoineherzog. Despite the presence of RMProjection, this library doesn't support projections other than Spherical Mercator.

romeo4934 commented 9 years ago

Thank you for your fast answer @incanus ;) Do you think it will be easy to do a pull request to update the repo to enable a simple L.CRS.simple projection ? Best regards, Antoine

incanus commented 9 years ago

I don't know — I don't know enough about that projection. As long as it works with a square map, though, I think it might be doable. Our SDK is based on a square content view in a UIScrollView.

You might look at Leaflet's SRS's to determine what's involved as a model.

romeo4934 commented 9 years ago

it is do indoor mapping, so it is pretty basic, we should just remove the conversion between lat long coordinate to projection point?