<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I am having a hard time getting my base layer to align with tiles I
use for google and OSM.<br>
<br>
//////Base Layers<br>
var gphy = new OpenLayers.Layer.Google("Google Physical", {<br>
type: google.maps.MapTypeId.TERRAIN,<br>
MAX_ZOOM_LEVEL: 12,<br>
MIN_ZOOM_LEVEL: 6,<br>
displayInLayerSwitcher: false,<br>
visibility: false,<br>
buffer: 0<br>
});<br>
<br>
var osm = new OpenLayers.Layer.OSM("Open Street Map");<br>
<br>
var counties_base = new OpenLayers.Layer.WMS("None",<br>
SERVER_URI + "tilecache", {<br>
layers: "counties",<br>
format: 'image/png',<br>
transparent: true<br>
}, {<br>
isBaseLayer: true,<br>
visibility: false,<br>
displayInLayerSwitcher: false,<br>
resolutions:
[2445.984,1222.99,611.496,305.748,152.874,76.437,38.218],<br>
tileorigin: [map.maxExtent.left, map.maxExtent.bottom],<br>
projection: new OpenLayers.Projection("EPSG:900913"),<br>
maxExtent: map_extent<br>
});<br>
<br>
What do I need to add to counties_base to make it get the same tiles
as the first 2?<br>
<br>
Thanks,<br>
Jim<br>
<br>
<br>
<div class="moz-signature">-- <br>
James B. White<br>
Cary, NC<br>
H: 919-380-9615<br>
M: 919-698-1765<br>
<a href="http://whitecodingandmaps.com/">White Coding and Maps</a>
</div>
</body>
</html>