<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23536"><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {size: 612.0pt 792.0pt; margin: 70.85pt 70.85pt 2.0cm 70.85pt; }
P.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
LI.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
DIV.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P.MsoAcetate {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-fareast-language: EN-US; mso-style-priority: 99; mso-style-link: "Sprechblasentext Zchn"
}
LI.MsoAcetate {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-fareast-language: EN-US; mso-style-priority: 99; mso-style-link: "Sprechblasentext Zchn"
}
DIV.MsoAcetate {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-fareast-language: EN-US; mso-style-priority: 99; mso-style-link: "Sprechblasentext Zchn"
}
SPAN.E-MailFormatvorlage17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: personal
}
SPAN.E-MailFormatvorlage18 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal
}
SPAN.E-MailFormatvorlage19 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
SPAN.SprechblasentextZchn {
        FONT-FAMILY: "Tahoma","sans-serif"; mso-fareast-language: EN-US; mso-style-priority: 99; mso-style-link: Sprechblasentext; mso-style-name: "Sprechblasentext Zchn"
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.WordSection1 {
        page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=DE link=blue vLink=purple>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial>Hi Jacob,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial>there shouldn't be any problem:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial><A 
href="http://gis.ibbeck.de/ginfo/apps/OLExamples/OLdev/OSM_restrictedZoomLevels.asp">http://gis.ibbeck.de/ginfo/apps/OLExamples/OLdev/OSM_restrictedZoomLevels.asp</A></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial>The coordinates are as one would expect.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial>Arnd</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=468042018-04122013><FONT color=#0000ff 
size=2 face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Jacob Mendt 
[mailto:jacobmendt@googlemail.com] <BR><B>Gesendet:</B> Mittwoch, 4. Dezember 
2013 17:33<BR><B>An:</B> arnd.wippermann@web.de<BR><B>Cc:</B> 
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> AW: [OpenLayers-Users] 
OpenLayers.Layer.OSM - Problems with definedresolutions<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US>Thanks Arnd, 
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d" 
lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US>this fixed my problem 
with the unexpected new center point when often change zoom levels. But I still 
don’t understand the coordinate behavior. For a city called Dresden, I would 
expected coordinates 1535690.0862089/6633228.960051 (Lon/Lat) for EPSG:900913. 
But this isn’t the case with this Mapnik setup. I still got 
-9250546.4411336/13333779.701537 (Lon/Lat) also after fixing the 
serverResolution property. Does anybody know what I do or think 
wrong?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d" lang=EN-US><BR>Kind regards, 
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d" 
lang=EN-US><BR>Jacob<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
<DIV>
<DIV 
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE">Von:</SPAN></B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE"> 
Arnd Wippermann [mailto:arnd.wippermann@web.de] <BR><B>Gesendet:</B> Freitag, 
29. November 2013 19:31<BR><B>An:</B> 'Jacob Mendt'<BR><B>Cc:</B> 
openlayers-users@lists.osgeo.org<BR><B>Betreff:</B> AW: [OpenLayers-Users] 
OpenLayers.Layer.OSM - Problems with 
definedresolutions<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">Hi,</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">in 
your serverResolutions array is one entry absent : 
4891.9698095703125</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"> <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">it 
should be:</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">...,9783.939619140625, 
4891.9698095703125, 2445.9849047851562,...</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">add 
the resolution and your problem should be solved.</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: blue; FONT-SIZE: 10pt; mso-fareast-language: DE">Arnd</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE"><o:p></o:p></SPAN></P></DIV>
<DIV style="TEXT-ALIGN: center" class=MsoNormal align=center><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE">
<HR align=center SIZE=2 width="100%">
</SPAN></DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE">Von:</SPAN></B><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE"> 
<A 
href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</A> 
[<A 
href="mailto:openlayers-users-bounces@lists.osgeo.org">mailto:openlayers-users-bounces@lists.osgeo.org</A>] 
<B>Im Auftrag von </B>Jacob Mendt<BR><B>Gesendet:</B> Freitag, 29. </SPAN><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE" 
lang=EN-US>November 2013 09:19<BR><B>An:</B> </SPAN><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE"><A 
href="mailto:users@openlayers.org"><SPAN 
lang=EN-US>users@openlayers.org</SPAN></A></SPAN><SPAN 
style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt; mso-fareast-language: DE" 
lang=EN-US><BR><B>Betreff:</B> [OpenLayers-Users] OpenLayers.Layer.OSM - 
Problems with definedresolutions</SPAN><SPAN 
style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: DE" 
lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal>Hello OpenLayers-Community,<o:p></o:p></P>
<P class=MsoNormal><o:p> </o:p></P>
<P class=MsoNormal><SPAN lang=EN-US>at first i wanna thank you guys for the 
great work you are doing with OpenLayers. It is a great piece of software and I 
really enjoy using it. Right now I am faced with a problem regarding the 
 OpenLayers.Layer.OSM object. I want to restrict the possible zoom levels 
of this layer and of the map. So far this is possible by using the resolution 
and serverResolution properties on the layer level. (I know it is also possible 
via the “zoomend” event, but a definition over the possible resolutions looks 
for me the cleanest way) But with that solution I run in two different kinds of 
problems (both problems can be monitor by deploy the html file which is 
attachted to this mail).<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><BR>The first problem is that I got a 
strange coordinate behavior. Like you can see in the attached html file, the 
lonlat-coordinates (-9208448.7478114,13344939.50767) center me on the federal 
state of Saxony / Germany. Normally I would expected this for the coordinates 
(1481769,6634478). So what is OpenLayers doing here?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US>The second strange problem I encountered 
with the zoom behavior. When I often zoom in and out, sometimes with the zoom 
out the map chooses a new center point.  The new center point normally lies 
in the neighborhood of the originally center point, but it is still a new center 
point. <o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><BR>Maybe somebody also faced this kind of 
problem? It is a bug or it is expected behavior? I am using OpenLayers 
2.13.1.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN lang=EN-US><BR>Kind regards,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
lang=EN-US><BR>Jacob<o:p></o:p></SPAN></P></DIV></BODY></HTML>