$("<div>")
.attr("id", "export-warning")
.attr("class", "text-body-secondary")
- .text(I18n.t("javascripts.share.only_standard_layer"))
+ .text(I18n.t("javascripts.share.only_layers_exported_as_image"))
+ .append(
+ $("<ul>").append(
+ map.baseLayers
+ .filter(layer => layer.options.canDownloadImage)
+ .map(layer => $("<li>").text(layer.options.name))))
.appendTo($imageSection);
$form = $("<form>")
center_marker: "Center map on marker"
paste_html: "Paste HTML to embed in website"
view_larger_map: "View Larger Map"
- only_standard_layer: "Only the Standard, Cycle Map and Transport layers can be exported as an image"
+ only_layers_exported_as_image: "Only the following layers can be exported as an image:"
embed:
report_problem: "Report a problem"
key: