Help:Creating a map centered on the coordinate for your page, with nearby 'pages' shown

Problem
Draw a map centred on the coordinate for the current page, with nearby 'pages' also show.

Solution
For convenience we use the excellent Variables extension, and of course, the the Semantic Maps extension.

This code is suitable for putting in a template. It assumes the template is passed some 'geocode-able' fields, address, city, and country. I've used some default values for those fields below, so it will work without being invoked via a template call.

TODO

 * Make the central point a different colour