# Class VectorTile

java.lang.Object
com.codename1.maps.vector.VectorTile

public final class VectorTile extends Object
A decoded Mapbox Vector Tile: an ordered collection of named `VectorLayer`s. Produced by `MvtDecoder` and consumed by `TileRenderer`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VectorLayer`
  `getLayer(String name)`
  The layer with the given name, or `null` if the tile has none.
  `List`
  `getLayers()`
  All layers in declaration order.

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getLayers

    public List getLayers()
    All layers in declaration order.

  - ### getLayer

    public VectorLayer getLayer(String name)
    The layer with the given name, or `null` if the tile has none.