- Issue created by @lincoln-batsirayi
- ๐ฎ๐ณIndia Rajas Samse
Rajas Samse โ made their first commit to this issueโs fork.
- ๐ฎ๐นItaly itamair
Nice catch @Lincoln-Batsirayi ... but I don't have an easy and exhaustive answer, atm.
It looks the Geofield Map demo page (that you linked) is using the "Taxonomy Term (geofield_map) - Image Select" option to render the Markers (@see attached screenshot) and it properly renders title and aria-label values ...
While other cases (that for instance are pointing to Icon Urls, such the Leaflet Map demo: https://www.geodemocracy.com/drupal_geofield_stack_demo/web/geoplaces-ma...) are not rendering those ...
Simply atm I don't know why.May be in the meanwhile I find sometime to properly care about this, you could go ahead with code inspecting and debugging, and try to find an initial clue?
- Status changed to Needs work
12 months ago 2:44pm 10 January 2024 - ๐ฎ๐ณIndia Rajas Samse
Rajas Samse โ changed the visibility of the branch 3413749-map-markers-missing to hidden.
- Status changed to Fixed
11 months ago 11:43pm 25 January 2024 - ๐ฎ๐นItaly itamair
Ok. I properly inspected this and found proper answer.
You will generate both the title and the aria-label just setting a not null Tooltip for each marker (@see the attached image).
That is triggering the setTitle method on each feature (https://git.drupalcode.org/project/geofield_map/-/blob/8.x-2.x/js/geofie...) that is indeed setting the Google Maps Title to the Marker also for accessibility text (https://developers.google.com/maps/documentation/javascript/reference/ma...).Closing this as Fixed, because pretty happy with the provided explanation ... :-)
- ๐ฌ๐งUnited Kingdom lincoln-batsirayi
Thanks @itamair! I can confirmed that this has fixed the issue! :-)
Automatically closed - issue fixed for 2 weeks with no activity.