OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets

Home Page:https://opengeoscience.github.io/geojs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add imageTileLayer

manthey opened this issue · comments

Currently we have tileLayer which we subclass as osmLayer for image tiles. This proposes that we add imageTileLayer, and have osmLayer be a subclass of imageTileLayer. imageTileLayer would not set the url, attribution, and tileOffset.

This might also be an opportunity to address the old issue #60, where we could have an object that would contain known tile sets for the osmLayer (which, if any aren't from OpenStreetMap, would continue with the inaccurate naming).