Class: IWBlomProjection

IWBlomProjection

A central projection used by perspective map views like birds eye views.

new IWBlomProjection(map)

Default constructor.
Parameters:
Name Type Description
map IWMap a map

Extends

Methods


calculateGridOffset()

Calculates the offset of the point (0, 0) to a position on the tile grid.
Overrides:
Returns:
the offset
Type
IWPoint

clone()

Returns a copy of this projection.
Inherited From:
Overrides:

generateTileInformation(x, y, gridOffset)

Generates information like the tile screen position, tile index and tile id for a pixel position.
Parameters:
Name Type Description
x number screen position of the tile
y number screen position of the tile
gridOffset IWPoint offset of (0, 0) to the tile grid
Overrides:
Returns:
Type
object

initialize(parameters)

Initializes the projection object.
Parameters:
Name Type Description
parameters Object
Overrides:
Returns:
Type
void

meterToPixel(coordinate)

Returns the pixel position for the given coordinate.
Parameters:
Name Type Description
coordinate IWCoordinate the coordinate to project
Overrides:
Returns:
Type
IWPoint

needsReload(size)

Returns true if the current map extent needs a reload to get a new oblique record, otherwise it returns false.
Parameters:
Name Type Description
size IWSize the size of the visible part of the map in pixels
Overrides:
Returns:
Type
boolean

pixelToMeter(point)

Returns the coordinate for the given pixel position.
Parameters:
Name Type Description
point IWPoint the pixel position to project
Overrides:
Returns:
Type
IWCoordinate

toString()

Returns a string representation of the projection.
Overrides:
Returns:
Type
String