Tile decoders refactoring

This commit is contained in:
Emux
2019-10-01 18:41:13 +03:00
parent 1294ff9fea
commit c20922b5f5
11 changed files with 19 additions and 19 deletions

View File

@@ -81,10 +81,10 @@ public class BitmapTileSource extends UrlTileSource {
@Override
public ITileDataSource getDataSource() {
return new UrlTileDataSource(this, new BitmapTileDecoder(), getHttpEngine());
return new UrlTileDataSource(this, new TileDecoder(), getHttpEngine());
}
public class BitmapTileDecoder implements ITileDecoder {
public static class TileDecoder implements ITileDecoder {
@Override
public boolean decode(Tile tile, ITileDataSink sink, InputStream is)

View File

@@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License along with
* this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.oscim.tiling.source.mvt;
package org.oscim.tiling.source.mapzen;
import org.oscim.core.GeometryBuffer.GeometryType;
import org.oscim.core.MapElement;