Tile - YMapMarker - Image Relative Scale – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Image Relative Scale

YlandsTile-1269-get.png

YlandsTile-1269-set.png

get imageRelativeScale(): number;
set imageRelativeScale(value: number);

Availability

Server

Description

Allows to get/set the relative size of the foreground image to the overall scale of the map marker.

Notes

  • Values of 0-1.
  • Useful for creating padding between the two images of the map marker when their original sizes are similar.