Jump to the following:

OS uses cookies to improve this website. Read about cookies

  • twitter
  • Google+
  • facebook

OpenSpace Forum

Setting zoom levels

alanthurbon
    • 1 September 2017 07:47AM
    • 50 Views
    • Visits: 11
    • Discussions: 3
    • Responses: 2
    • Registered: 2 February 2015 12:05AM
    • Last active: 26 September 2017 08:38PM

    How can I change the number of levels on the zoom bar? I saw somewhere in the OpenLayers listings that the default is 16, but mine is 11, and one example site has 13.
    Is it possible to set the map scale for each zoom level?
    I spent some time going through the code without success.

    Thanks

    2 responses

    alanthurbon
      • 26 September 2017 08:41PM
      • 32 Views
      • Visits: 11
      • Discussions: 3
      • Responses: 2
      • Registered: 2 February 2015 12:05AM
      • Last active: 26 September 2017 08:38PM

      I have found the answer, it was there all along. The code is generated by Web Map Builder and is an option string called resolutions.

      flipdiving
        • 11 October 2017 03:55AM
        • 13 Views
        • Visits: 0
        • Discussions: 0
        • Responses: 0
        • Registered: 11 October 2017 03:48AM
        • Last active: 11 October 2017 03:48AM

        You learn more at Megan's expert on Google Chrome at the same time as the author of this help page.
        https://despacito-lyrics.com , http://colorswitch2.com/

        Please login or sign-up to respond to this discussion.

        © Ordnance Survey 2016