001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.data.imagery.vectortile;
003
004import java.util.Collection;
005
006import org.openstreetmap.josm.data.imagery.vectortile.mapbox.Layer;
007
008/**
009 * An interface that is used to draw vector tiles, instead of using images
010 * @author Taylor Smock
011 * @since 17862
012 */
013public interface VectorTile {
014    /**
015     * Get the layers for this vector tile
016     * @return A collection of layers
017     */
018    Collection<Layer> getLayers();
019
020    /**
021     * Get the extent of the tile (in pixels)
022     * @return The tile extent (pixels)
023     */
024    int getExtent();
025}