MassGIS / morisoliver

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

support for wmts layers in TOC #262

Closed cgalvarino closed 8 years ago

cgalvarino commented 8 years ago

@MassGIS And here we have support for WMTS in the TOC.

A slight tweak to the folderset entry so that we can piggy back on default tiled_overlay behavior as much as possible. This is what it should look like.

<Layer title="Google 2014-2015 Orthoimagery" style="" name="Google_2014_2015_WMTS" type="tiled_overlay" wmts="true" />

I also commented out this layer from the basemap list in the PHP. I'm not sure if they would clobber or what.

snag-0076

I will want to follow this up w/ one final pull request so that I can un-hardwire these WMTS instanced from the 1st entry in our new wmts.js. You may notice that I have wmts[0] in several places. That's fine for our 1 dataset, but I want it to be flexible.

Also, I am hardwiring any WMTS to 900913. If that needs to be more flexible, let me know.

MassGIS commented 8 years ago

They should be able to be in both places, I'll try it.

MassGIS commented 8 years ago

900913 should be fine.

MassGIS commented 8 years ago

Looks good - I can zoom down to level 19 when I add it from the folder