Skip to content
Snippets Groups Projects
Commit b9ebb9b8 authored by Elijah Byrd's avatar Elijah Byrd
Browse files
parents aab1be28 f8585ec4
No related branches found
No related tags found
No related merge requests found
Pipeline #
Accessible Google Maps shim
WIP collaboration to make a keyboard- and screen reader-accessible shim for the Google Maps API.
To implement:
1. Load accessible_gmaps.js and accessible_gmaps.css into any page containing a Google map. jQuery is also (currently) required.
2. When creating markers or adding new markers to the map, call accessibility_addMarker(marker), where marker is the marker object.
3. After your map is loaded and has bounds (usually just before you'd display it to the user), call accessibility_onload(map, mapIdentifier, options) with these parameters:
map: the map object (created with new google.maps.Map())
mapIdentifier: a CSS identifier unique to your map, used by jQuery to add the shim elements.
options: an array of settings for the shim. Currently unimplemented.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment