Class: ObliqueTileImage

bu.oblique.source. ObliqueTileImage

Layer source for BlomUrbex Oblique Tile services.


new ObliqueTileImage(options)

Parameters:
Name Type Description
options bu.oblique.source.ObliqueTileImageOptions
Source:
bu-oblique/source/obliquetileimage.js

Extends

  • ol.source.ObliqueTileImage

Methods


getMaxZoomTileCoord(z, x, y)

Returns the TileCoord of the oblique maximum zoom level if z coordinate is above the maximum zoom level, or the same as input if not. The maximum zoom level in an oblique is the one that shows the image at best possible resolution. There can be extra zoom levels, but those are a resampling of resolution at maximum zoom level.

Parameters:
Name Type Description
z number

The input TileCoord z value.

x number

The input TileCoord x value.

y number

The input TileCoord y value.

Source:
bu-oblique/source/obliquetileimage.js
Returns:

The resulting TileCoord.

Type
ol.TileCoord

getObliqueImage()

Gets the oblique image.

Source:
bu-oblique/source/obliquetileimage.js
Returns:
Type
bu.oblique.Image

getServerTileCoord(tileCoord)

Returns the TileCoord in the server for a given TileCoord in the viewer. In the viewer TileCoord follows the usual OpenLayers coordinates, with z starting at zero and increasing with zoom, x always positive and y always negative and starting at -1. In the server tiles are numbered in a different way. The max zoom is always 1 and zoom levels increase towards min zoom. Also y values are always positive.

Parameters:
Name Type Description
tileCoord ol.TileCoord

TileCoord in the viewer.

Source:
bu-oblique/source/obliquetileimage.js
Returns:

TileCoord in the server.

Type
ol.TileCoord