MassGIS / morisoliver

Automatically exported from code.google.com/p/morisoliver
2 stars 2 forks source link

no wmts layers when not in 900913 #266

Closed cgalvarino closed 8 years ago

cgalvarino commented 8 years ago

@MassGIS How about this.

Without doing some core OpenLayers modifications, I can't get WMTS to play nicely w/ non-900913 projections. What I have here is a removal of WMTS layer(s) when shifting to custom basemap and an alert if you try to add a WMTS layer in non-900913 land.

If you had a WMTS layer and you went to custom: snag-0081

If you were already in custom and tried to add WMTS: snag-0082