Hi,

I am having a hard time getting my base layer to align with tiles I use for google and OSM.

    //////Base Layers
    var gphy = new OpenLayers.Layer.Google("Google Physical", {
        type: google.maps.MapTypeId.TERRAIN,
        MAX_ZOOM_LEVEL: 12,
        MIN_ZOOM_LEVEL: 6,
        displayInLayerSwitcher: false,
        visibility: false,
        buffer: 0
    });

    var osm = new OpenLayers.Layer.OSM("Open Street Map");

     var counties_base = new OpenLayers.Layer.WMS("None",
        SERVER_URI + "tilecache", {
            layers: "counties",
            format: 'image/png',
            transparent: true
        }, {
            isBaseLayer: true,
            visibility: false,
            displayInLayerSwitcher: false,
resolutions: [2445.984,1222.99,611.496,305.748,152.874,76.437,38.218],
            tileorigin: [map.maxExtent.left, map.maxExtent.bottom],
            projection: new OpenLayers.Projection("EPSG:900913"),
            maxExtent: map_extent
        });

What do I need to add to counties_base to make it get the same tiles as the first 2?

Thanks,
Jim


--
James B. White
Cary, NC
H: 919-380-9615
M: 919-698-1765
White Coding and Maps <http://whitecodingandmaps.com/>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to