Thanks.
What are the absolutely essential mapoptions required ? I am getting
pink tiles with the following:
var mapoptions = {
maxExtent: new OpenLayers.Bounds(1018697.71047,
4674128.11975, 2568710.79993, 6296981.53325),
resolutions: new Array(3175.0063500127,
793.751587503175, 264.583862501058, 198.437896875794, 132.291931250529,
66.1459656252646, 26.4583862501058, 19.8437896875794, 13.2291931250529,
9.26043518753704, 6.61459656252646, 5.29167725002117, 3.96875793751588,
2.64583862501058, 1.98437896875794, 1.32291931250529),
tileOrigin: new OpenLayers.LonLat(-4020900,19998100),
tileSize: new OpenLayers.Size(256,256),
units: 'm',
projection: new OpenLayers.Projection('EPSG:2193'),
fractionalZoom: false
};
var map = new OpenLayers.Map( 'map',mapoptions );
var topoxyz = new OpenLayers.Layer.XYZ( "Topo",
"http://ws-esrimt/ArcGIS/rest/services/mapservice_topography_vector_prod/MapServer/tile/${z}/${y}/${x}",
{isBaseLayer: false, sphericalMercator: false});
Regards,
Robert
>>> M**k <[email protected]> 12/05/2010 2:03 a.m. >>>
we use XYZ; see http://gisdemo.agro.nl/OL/OSM_AGS2.htm
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
This message has been scanned for malware by SurfControl plc.
www.surfcontrol.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users