-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add text labels to pins #303
Comments
@oliverfoster We could reduce the font size and label padding for mobile. This could also be managed on the design/AD end to ensure that hotspots are far enough apart and that there aren't too many hotspots (e.g. no more than 3 or so). Typically, we switch to Narrative or a static image for mobile views, though. |
Why for pin images only and not for normal pins? |
@oliverfoster No, this would be for both pin types (see the apples & oranges screenshot above). I think if we have a label, we would not have a need for a tooltip. To me, the purpose of the tooltip is to explain an icon or image when no text is present. I could be convinced otherwise, though. |
So it could be considered a permanent tooltip? |
Yes, I think that makes sense. |
Subject of the enhancement
We commonly customize Hot Graphics to show a text label by each pin. This would be a useful option when using either pin icons or pins as images (see below).
The position of each pin labels should be flexible. So, we would want options for
top
andbottom
plusleft
andright
.Currently, we can just add the text to the pin graphics themselves. However, this complicates localization since the graphics would need to be updated for additional languages.
Screenshots
Using pins
Using pins as images
Suggested configuration for an item
The new properties
label
and_labelAlignment
would appear under_pin
._labelAlignment
would default tobottom
.The text was updated successfully, but these errors were encountered: