Tile - YMapMarker - Image Relative Scale – Ylands

From Bohemia Interactive Community
Revision as of 12:16, 12 November 2021 by YlandsClassyBot (talk | contribs) (Created page with "<!--- THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. --> == Image Relative Scale == File:YlandsTile-1269...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.