- Source:
Methods
(static) addTiledImage()
Add a new image on top of the main viewer. It is mandatory to have the same tile size for this to work. Currently only in main viewer
- Source:
(static) getImageHeight()
Get image width. For now it only brings the size of the main image
- Source:
(static) getImageWidth()
Get image width. For now it only brings the size of the main image
- Source:
(static) getMaxZoom(overlay)
Get viewport maximum zoom
- Source:
Parameters:
Name | Type | Description |
---|---|---|
overlay |
string
|
Object prefix identifying the desired viewport in case there is more than one. Established at tmapp but can be called directly, for example @example OSDViewerUtils.getMaxZoom("ISS"); |
(static) getZoom(overlay)
Get current viewport zoom
- Source:
Parameters:
Name | Type | Description |
---|---|---|
overlay |
string
|
Object prefix identifying the desired viewport in case there is more than one. Established at tmapp but can be called directly, for example @example OSDViewerUtils.getMaxZoom("ISS"); |