Maps Addon Translation of "Deleting a feature"

Dear Support

If in the <maps:vectorSource featureModifyEnabled=“true”> it is possible to delete some features.

How can I translate the displayed message ?
image

Best regards
Felix

Hello Felix!

You can use the following keys for translations:

geoMap.deleteDialog.headerText=Deleting a feature
geoMap.deleteDialog.bodyText=Are you sure you want to delete the feature?
geoMap.deleteDialog.okButtonText=OK
geoMap.deleteDialog.cancelButtonText=Cancel

You can also provide messages only for specific GeoMap component. To achieve this use GeoMapI18n object and GeoMap#setI18n().

1 Like