The tileOrigin property is not read or written in WMC docs (see #3245).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11870 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
+2
-6
@@ -26,16 +26,12 @@
|
|||||||
var doc, context, map;
|
var doc, context, map;
|
||||||
|
|
||||||
function init() {
|
function init() {
|
||||||
var options = {
|
map = new OpenLayers.Map("map");
|
||||||
maxExtent: new OpenLayers.Bounds(-130, 14, -60, 55)
|
|
||||||
};
|
|
||||||
map = new OpenLayers.Map("map", options);
|
|
||||||
|
|
||||||
var gwc = new OpenLayers.Layer.WMS(
|
var gwc = new OpenLayers.Layer.WMS(
|
||||||
"Global Imagery",
|
"Global Imagery",
|
||||||
"http://maps.opengeo.org/geowebcache/service/wms",
|
"http://maps.opengeo.org/geowebcache/service/wms",
|
||||||
{layers: "bluemarble"},
|
{layers: "bluemarble"}
|
||||||
{tileOrigin: new OpenLayers.LonLat(-180, -90)}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
var vmap = new OpenLayers.Layer.WMS(
|
var vmap = new OpenLayers.Layer.WMS(
|
||||||
|
|||||||
Reference in New Issue
Block a user