Set way ids in ol.format.OSMXML
Hoist var declaration
Merge pull request #1801 from twpayne/osm-xml-way-id

Set way ids in ol.format.OSMXML
Fix KML anchor origin
Merge pull request #1802 from twpayne/kml-icon-anchor

Fix KML icon anchor origin