Embedding maps.
WHAT OPTIONS EXIST
The interactive map libraries for web, Android and iOS Static map images Embedded maps through an inline frame
WHAT STATIC MAPS PROVIDE
An image, at a fraction of the cost and weight of an interactive map.
WHEN TO USE THEM
Where the user only needs to see a location, not interact with it.
WHY THAT MATTERS LOCALLY
Interactive maps are heavy: substantial download and data consumption.
WHAT TO CONSIDER
Whether an image would serve.
WHAT TO CONFIGURE ON INTERACTIVE MAPS
Only the controls you need Appropriate initial centre and zoom Styling, to match your interface
WHAT TO BE CAREFUL WITH
Loading the map library on pages where no map is shown Creating a map for each item in a list Many markers, which degrade performance
WHAT TO DO ABOUT MANY MARKERS
Cluster them, or render them as a single layer.
WHAT TO PROVIDE
An accessible alternative: the address as text, and a link to directions.
WHY
A map is not usable by everyone, and a text address always is.
WHAT TO TEST
Loading time and data consumption on a modest device.