<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Mensaje</TITLE>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>My problem with
PANZOOMBAR:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>I first set my
base layer with zoom=12. When I change the base layer, for example to Google
Road Map, the zoom value changes automatically to 14 (add 2). When I return to
my base layer again, the zoom value changes automatically to 13 (substract 1).
If I perform again those base layer changes the zoom values change to 15 and
14.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>Pls, can anyone
help me with this.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>Thanks in
advance,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>
Leonel</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>PS: Follows part
of the code:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=304574218-31072008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=304574218-31072008>var theVIEWER =
new OpenLayers.Map('map', {<BR>
controls: [], maxResolution:
'auto',<BR>
eventListeners:
{<BR>
"moveend":
mapEvent,<BR>
"zoomend":
mapEvent,<BR>
"changebaselayer":
mapBaseLayerChanged<BR>
}<BR>
});<BR>
<BR>theVIEWER.addControl(new
OpenLayers.Control.PanZoomBar());<BR>
<BR>var Roadup = new OpenLayers.Layer.WMS( "RoadUP", "<A
href="http://localhost:8080/geoserver/wms">http://localhost:8080/geoserver/wms</A>",
{layers: 'TM_Mvdeo'}, {singleTile: true });<BR>
theVIEWER.addLayer(Roadup) ;<BR>var GoogleStr = new OpenLayers.Layer.Google(
"Google Rutas y calles" );<BR> theVIEWER.addLayer(GoogleStr)
;<BR>var GoogleSat = new OpenLayers.Layer.Google( "Google Satelite" , {type:
G_SATELLITE_MAP });<BR> theVIEWER.addLayer(GoogleSat) ;<BR>var
GooglePhy = new OpenLayers.Layer.Google( "Google Fisico" , {type: G_PHYSICAL_MAP
});<BR> theVIEWER.addLayer(GooglePhy) ;<BR>var GoogleHyb = new
OpenLayers.Layer.Google( "Google Mixto" , {type: G_HYBRID_MAP
});<BR> theVIEWER.addLayer(GoogleHyb)
;<BR>
<BR>theVIEWER.setBaseLayer(Roadup);<BR>theVIEWER.setCenter(new
OpenLayers.LonLat(Parms.centerLon, Parms.centerLat),
Parms.zoom);<BR></DIV></SPAN></FONT>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV align=left>
<DIV align=left><SPAN class=515231412-30092005><FONT face=Verdana color=#0000ff
size=2>LEONEL ROCHA</FONT></SPAN></DIV>
<DIV align=left><SPAN class=515231412-30092005><FONT face=Verdana color=#0000ff
size=2> ALTASUR S.A.</FONT></SPAN></DIV>
<DIV><SPAN class=515231412-30092005><FONT face=Verdana color=#0000ff
size=2></FONT></SPAN> </DIV></DIV>
<DIV> </DIV></BODY></HTML>