# oll:XYZ

Supports standard XYZ grid.

#### Inherits from

- {oll:Grid}

#### See also

- oll namespace
- {<OpenLayers.Layer.XYZ}}
- {<OpenLayers.Layer.OSM}}
- OL:XYZ layer type
- OL:OSM layer type

Summary

oll:XYZ | Supports standard XYZ grid.
Configurable Properties |
sphericalMercator | {Boolean} Whether the tile extents should be set to the defaults for spherical mercator.
Layer Types |
OL:XYZ |

### Configurable Properties

### sphericalMercator

{Boolean} Whether the tile extents should be set to the defaults for spherical mercator. Useful for things like OpenStreetMap. Default is false.

### Layer Types

### OL:XYZ

#### See also

- {oll:XYZ}
- {oll:OSM}
- {<OpenLayers.Layer.XYZ>}
- {<OpenLayers.Layer.OSM>}

#### Example

>     <Layer queryable="0" hidden="0">
>       <Server service="OL:XYZ" version="1.1.1" title="OL:XYZ">
>         <OnlineResource xlink:type="simple" xlink:href="http://tile.openstreetmap.org/${z}/${x}/${y}.png" />
>       </Server>
>       <Name>OpenStreetMap</Name>
>       <Title>OpenStreetMap</Title>
>     </Layer>

Namespace for OpenLayers layers.
Supports standard XYZ grid.
Supports OpenStreetMap tiles.