how to set windyty minimum and maximum zoom level after the setView() function



  • Hello,
    We are using the windyty map.I face an critical issue is setting the minZoom level and maxZoom level.Firstly i set the below values
    **var windytyInit = {
    key: 'PsL-At-XpsPTZexBwUkO7Mx5I',
    zoom:1,
    maxZoom:3,
    minZoom:1

    }**

    And i plot the marker and use the

    mapObj.setView(planes[0])

    in this map in high zoom level(ie 17)

    i try to set mapObj.setView(planes[0],1,3) but in this case draging in map the map is stuck. Please help i cannot set the zoom level in widyty map. It is very urgent.


Log in to reply
 

Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
NodeBB & contributors, OSM & contributors, HERE maps

Looks like your connection to Windy Community was lost, please wait while we try to reconnect.