none
Map without a base layer (with a custom mercator TileSource TileLayer) does not show on iOS devices? RRS feed

Answers

All replies

  • Is it only with the tile layer being used in that sample? If so, there are some issues with the tile server that powers that sample. Note that is not a Bing Maps tile server.

    [Blog] [twitter] [LinkedIn]

    Thursday, March 30, 2017 3:24 PM
  • Obviously custom tile layer tiles would come from a non-Microsoft server. For various reasons some of our clients require custom maps, we're running our own tile servers. This is working fine with Bing Maps V7. 

    Looks to me that the problem is with the V8 map control script, not the custom tile servers.

    AFIK, it pertains only to Safari on iOS, other browsers (Chrome, Edge) are fine. The workaround is to specify a base map on map creation, then add the custom tile source.  Loading subsequently two maps is not user friendly.

    Friday, March 31, 2017 4:54 AM
  • Are you able to reproduce this with the sample though. If not, then the likely issue is with your time server. V8 does all rendering using html5 canvas. You likely need to enable CORs on your server. Not all browsers enforce this, thus the disconnect.

    [Blog] [twitter] [LinkedIn]

    Friday, March 31, 2017 2:44 PM
  • Yes, the sample does not work.

    The problem only shows when:

    a) rendering on in Safari/iOS,

    b) the map was created without a base layer - mapTypeId: mercator.

    It works fine in other browsers. It works on Safari/iOS when the map was created with a base layer - mapTypeId: aerial.

    Friday, March 31, 2017 11:26 PM
  • Ok, I'll ask the dev team to look into this. Which iOS version are you using? Might be related.

    [Blog] [twitter] [LinkedIn]

    Saturday, April 1, 2017 1:19 AM
  •  iPhone 6 with iOS 10.2.1.

    Thanks.

    Saturday, April 1, 2017 2:45 AM
  • Are you still seeing this issue? It should be resolved.

    [Blog] [twitter] [LinkedIn]

    Thursday, August 24, 2017 6:39 PM