Tile - YMapMarker - Image Relative Scale – Ylands

From Bohemia Interactive Community
Revision as of 15:26, 24 November 2023 by Lou Montana (talk | contribs) (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
(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.