<html><body bgcolor="#FFFFFF"><div></div><div><span class="Apple-style-span" style="font-size: 13px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.28125); -webkit-composition-fill-color: rgba(175, 192, 227, 0.214844); -webkit-composition-frame-color: rgba(77, 128, 180, 0.214844); color: rgb(0, 0, 128); font-family: Arial; ">Hi, i have been struggling with this problem for some time now.</span><br></div><div><span class="Apple-style-span" style="font-size: 13px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><span class="Apple-style-span" style="color: rgb(0, 0, 128); font-family: Arial; font-size: 13px;"><br></span></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; ">Basically I am trying to display two layers. 50k and 250K of the uk. Can anyone explain further what resolution, maxextent and zoom values I should have to display these layers correctly? My layers cover the whole of the <st1:place w:st="on"><st1:country-region w:st="on">UK</st1:country-region></st1:place>. I have tried quite a few different values however I cannot make sense of how this works. The example I am referring to is below.<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; "><o:p> </o:p></span></font></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; ">Thanks for any help in advance<o:p></o:p></span></font></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; "><o:p> </o:p></span></font></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 15.45pt; line-height: 15.45pt; "><font size="2" color="#656c70" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(101, 108, 112); ">Create an options object that holds a limited set of map resolutions and a maximum bounding extent to show the map. A new OS OpenSpace map object is created by passing in our 'map' HTML div element id and the map options.<o:p></o:p></span></font></p><div style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: 1pt; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><p class="MsoNormal" style="margin-right: 1.65pt; margin-left: 72pt; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 1.65pt; text-indent: -18pt; line-height: 15.45pt; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); background-position: initial initial; "><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><span>1.<font size="1" face="Times New Roman"><span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> </span></font></span></span></font><code style="font-family: 'Courier New'; color: rgb(46, 49, 146); "><font size="2" color="#2e3192" face="Courier New"><span lang="EN" style="font-size: 10pt; ">var options = {resolutions: [10, 5],</span></font></code><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-right: 1.65pt; margin-left: 72pt; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 1.65pt; text-indent: -18pt; line-height: 15.45pt; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); background-position: initial initial; "><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><span>2.<font size="1" face="Times New Roman"><span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> </span></font></span></span></font><code style="font-family: 'Courier New'; color: rgb(46, 49, 146); "><font size="2" color="#2e3192" face="Courier New"><span lang="EN" style="font-size: 10pt; "> maxExtent: new OpenSpace.MapBounds(400000, 100000, 450000, 150000) );</span></font></code><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><o:p></o:p></span></font></p><p class="MsoNormal" style="margin-right: 1.65pt; margin-left: 72pt; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 1.65pt; text-indent: -18pt; line-height: 15.45pt; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); background-position: initial initial; "><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><span>3.<font size="1" face="Times New Roman"><span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> </span></font></span></span></font><code style="font-family: 'Courier New'; color: rgb(46, 49, 146); "><font size="2" color="#2e3192" face="Courier New"><span lang="EN" style="font-size: 10pt; ">osMap = new OpenSpace.Map('map', options);</span></font></code><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><o:p></o:p></span></font></p></div><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 15.45pt; line-height: 15.45pt; "><font size="2" color="#656c70" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(101, 108, 112); ">We now set the centre of the map and set the initial map zoom level to 1 (corresponding to the second defined layer in the resolutions array).<o:p></o:p></span></font></p><div style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(204, 204, 204); border-right-color: rgb(204, 204, 204); border-bottom-color: rgb(204, 204, 204); border-left-color: rgb(204, 204, 204); border-top-width: 1pt; border-right-width: 1pt; border-bottom-width: 1pt; border-left-width: 1pt; padding-top: 0cm; padding-right: 0cm; padding-bottom: 0cm; padding-left: 0cm; "><p class="MsoNormal" style="margin-right: 1.65pt; margin-left: 72pt; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 1.65pt; text-indent: -18pt; line-height: 15.45pt; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(238, 238, 238); background-position: initial initial; "><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><span>1.<font size="1" face="Times New Roman"><span style="font: normal normal normal 7pt/normal 'Times New Roman'; "> </span></font></span></span></font><code style="font-family: 'Courier New'; color: rgb(46, 49, 146); "><font size="2" color="#2e3192" face="Courier New"><span lang="EN" style="font-size: 10pt; ">osMap osMap.setCenter(new OpenSpace.MapPoint(400000,100000), 1);</span></font></code><font size="2" color="#999999" face="Arial"><span lang="EN" style="font-size: 10.5pt; font-family: Arial; color: rgb(153, 153, 153); "><o:p></o:p></span></font></p></div><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; "><o:p> </o:p></span></font></p><p class="MsoNormal" style="margin-right: 0cm; margin-left: 0cm; font-size: 12pt; font-family: 'Times New Roman'; margin-top: 0cm; margin-bottom: 0.0001pt; "><font size="2" color="navy" face="Arial"><span style="font-size: 10pt; font-family: Arial; color: navy; ">Cheers</span></font></p></span><br><br></div></body></html>