Use 'map element' instead of 'way' in function and variable names
Use 'map element' instead of 'way' in function and variable names

This is more generic and the wiki [1] also talks about elements when
describing ways, nodes and relations. Prefixing 'map' prevents confusion
with DOM elements which are also common in such an application.

[1] https://wiki.openstreetmap.org/wiki/Elements

osmlab/show-me-the-way,osmlab/show-me-the-way