1

I have a UWP MapControl with a CustomMapTileDataSource to display very high resolution 2D images, not geographical data. I managed to provide my own tiles as described in https://learn.microsoft.com/en-us/windows/uwp/maps-and-location/overlay-tiled-images, including the steps of the section "Replace the default map".

I use the MapProjection WebMercator, but depending on the location and the zoom level, it deforms/bends the rendering as if we were looking at a sphere.

This is with a zoom level < 5: Normal

This is with a zoom level >= 5: Deformed

Of course the other choice (Globe) is totally inadequate for my application. Instead I would need a very basic flat projection (no deformation). Is it possible?

Duncan Lawler
  • 1,772
  • 8
  • 13
gil-c
  • 51
  • 3
  • In general, it will render flat projection, it may the WebMercator service cause this issue, could you share your code or Web-Mercator service, I need reproduce this issue. – Nico Zhu Mar 30 '20 at 06:02
  • Yes, thank you. You will find a quick prototype on https://github.com/gil-c/UWP_Map_proto – gil-c Mar 30 '20 at 14:05
  • Yep, I run above sample and it works, but it only contains red and green flat tiles. – Nico Zhu Mar 31 '20 at 05:44
  • Correct, this is just a little demo but the problem is visible when you zoom in with the mouse wheel, especially near the black borders. I updated the repo with 2 screenshots to illustrate the issue. – gil-c Mar 31 '20 at 07:46
  • Ok, please share the repro screenshot in above case update. – Nico Zhu Mar 31 '20 at 07:50
  • I got it, it's by design, Mercator projection significantly distorts scale and area (particularly near the poles),The spherical projection causes approximately 0.33% scale distortion in the Y direction, which is not visually noticeable.For more please refer[Bing Maps Tile System](https://learn.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system) document – Nico Zhu Mar 31 '20 at 09:22
  • Do you know if we can get rid of this projection in order to use the component for non-geographic images? – gil-c Mar 31 '20 at 14:30
  • As far as I know, there is no such way could avoid using Mercator projection in uwp map control. – Nico Zhu Apr 01 '20 at 01:16

0 Answers0