sdk-maps / com.tomtom.online.sdk.map / Icon / Factory / fromResources

fromResources

@NonNull open static fun fromResources(@NonNull context: Context, @DrawableRes id: Int): Icon

Load icon from resources. Resource id is used as a name. Scale set to 1.0.

@NonNull open static fun fromResources(@NonNull context: Context, @DrawableRes id: Int, scale: Double): Icon

Load icon from resources. Resource id is used as a name.