Maintaining tile layers from previous zoom level when not existent in current one RRS feed

  • Question

  • Is there any configuration to maintain the tiles from a previous zoom level when the current zoom level doesnt have tiles? 

    in Bing maps Silverlight SDK there was a UpSampleLevelDelta in tilelayer Options, is there any alternative in Bing Maps V8?

    Best regards

    João Mourão

    Monday, November 14, 2016 5:17 PM


All replies

  • There is no option to do this in the V8 control. That said, you could potentially add support for this using a custom overlay. For example, this code sample shows how to display and image that fits  bounding box on the map:

    You could use the spatial math module in V8 to get the bounding box of a tile and when the map is below a certain level, display the map tile as a bounded image using custom overlays.

    [Blog] [twitter] [LinkedIn]

    • Proposed as answer by Ricky_Brundritt Monday, November 14, 2016 6:25 PM
    • Marked as answer by JMRMourao Wednesday, November 16, 2016 10:27 AM
    Monday, November 14, 2016 6:25 PM
  • in this case that might be the best alternative? or for example make the callback function deliver always the max zoom? 

    bonus question: in a uriConstructor with callback function when it doenst pass certain condiitons and we dont want to return a link the best way(and only i could see) is return ""; ?

    Wednesday, November 16, 2016 10:29 AM
  • Returning an empty string or null should be fine.

    [Blog] [twitter] [LinkedIn]

    Wednesday, November 16, 2016 4:02 PM