Companion

object Companion

Functions

Link copied to clipboard

Creates a picture marker symbol layer from a BitmapDrawable. This function sets up the following default properties: Anchor at (0, 0), offset of (0, 0), size of 13.33 DIPs (10 points), an angle of 0 degrees, width and height of (0, 0), and an empty URI. If the image is valid, the function sets the image on the symbol layer, and sets the load status of the PictureMarkerSymbolLayer to LoadStatus.Loaded. This method invokes Bitmap.compress and may be long running.