Credits keep their linked words: only the words a source linked are the link

A credit read from markup keeps the first link's own words as linkText, and the Cesium credit display and the credit line link just those words, as the source wrote them (Street Level's "© Mapillary contributors" links Mapillary only). The Street Level gate reads a drawn item's pick id from its draw-set id.
This commit is contained in:
Sameh Khamis committed 2026-11-15 20:12:14 -08:00
1 parent 74673f3c85
commit a7fe3eebc6
9 files changed
+123 -8

No files matched your search

+2
View File
@@ -11,6 +11,8 @@ export interface Credit {
text: string;
/** Where the credit links to. */
href?: string;
/** The words of `text` the link covers; the whole text when absent. */
linkText?: string;
/** A logo, drawn in place of the text; the text names it. */
logoUrl?: string;
/** Shown on the map itself, rather than in the expanded list. */