I18nLayerInteraction constructor
const
I18nLayerInteraction({})
Creates an instance of I18nLayerInteraction with customizable internationalization settings for layer interactions.
You can provide translations for the actions related to layer interactions, ensuring a consistent experience in the user's preferred language.
Example:
I18nLayerInteraction(
remove: 'Remove',
edit: 'Edit',
rotateScale: 'Rotate and Scale',
)
Implementation
const I18nLayerInteraction({
this.remove = 'Remove',
this.edit = 'Edit',
this.rotateScale = 'Rotate and Scale',
});