How to display an image on a MKOverlayView?

前端 未结 6 1155
故里飘歌
故里飘歌 2020-12-05 00:59

UPDATE:

Images who are projected on the MKMapView using a MKOverlayView use the Mercator projection, while the image that I use as input data uses

6条回答
  •  天命终不由人
    2020-12-05 01:40

    WGS-84 data is using UTM projection, MKMapView is using mercator. You are using different methods to map a 3D object to a 2D surface, hence it is not giving the same results.

    You'll need to go down in GDAL and move the incomming image to a different projection. Let me know if you figured it out, because it ain't an easy

提交回复
热议问题