Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.maryanovsky.map.client
Class Map

    java.lang.Object
      com.maryanovsky.map.client.Map

    public class Map

extends Object

Represents a map, which is a stack of TileLayers.

Author:
  Maryanovsky Alexander

Constructor Summary
`Map(Projection projection, List<TileLayer> tileLayers, int minZoom, int maxZoom)` Creates a new `Map` with the specified projection, stack of tile layers and zoom range.
`Map(Projection projection, TileLayer tileLayer, int minZoom, int maxZoom)` Creates a new `Map` with the specified projection, tile layer and zoom range.

Method Summary
`List<TileLayer>` | `getLayers()` Returns the stack of {linkplain TileLayer}s in this map.
`int` | `getMaxZoom()` Returns the biggest available zoom for this `Map`.
`int` | `getMinZoom()` Returns the smallest available zoom for this `Map`.
`Projection` | `getProjection()` Returns the projection of this map.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Map

    public Map(Projection projection,
               List<TileLayer> tileLayers,
               int minZoom,
               int maxZoom)

  Creates a new `Map` with the specified projection, stack of tile layers and zoom range.

### Map

    public Map(Projection projection,
               TileLayer tileLayer,
               int minZoom,
               int maxZoom)

  Creates a new `Map` with the specified projection, tile layer and zoom range.

Method Detail

### getProjection

    public Projection getProjection()

  Returns the projection of this map.

### getLayers

    public List<TileLayer> getLayers()

  Returns the stack of {linkplain TileLayer}s in this map. Layers at lower indices are behind layers at higher indices. The returned list is unmodifiable.

### getMinZoom

    public int getMinZoom()

  Returns the smallest available zoom for this `Map`.

### getMaxZoom

    public int getMaxZoom()

  Returns the biggest available zoom for this `Map`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD