User:ClemRutter/sandbox/maps


 * User:ClemRutter/sandbox5}}

How to add a map to the infobox
The simplest and cleanest way to add a map is to use the OSM Location map. This is a comprehensive template but we only need to use a tiny bit of it. We add this code to the infobox:

This adds a small map with the school at the centre, however with no label. The Zoom can be usefully set at around 10 to 15.

A single pointer
Two coordinate sets are needed coord positions the centre of the map, and mark-coord places the marker. When these are the same, the marker will be at the centre of the map.

A little bit of trial and error is needed with the label-pos which can be set as,  ,   and  , and zoom to prevent the labels on the overlay layer obscuring the labels on the base map layer.

Multiple pointers
A three sites, labelled with the default marker. Four sets of co-ordinates are needed, one for the centre of the map, and the the three labels. So we see:

Cloning the code- using a new geotag
Cloning this code is easy but pay attention to the format of the geotag. it uses a  as a separator, Google Maps uses a. There is no warning message!

Using the geotag from the article, open Google maps. Find the spot, right click and and click on the geotag in the popup thumbnail (it won't work if there is already a named object at that spot- move a few paces and try again. Copy and paste the geo into your code and change the   to.

Using different markers or sizes of marker
In multi marker setups, the mark-size is the default, and mark-sizen will override it. With the new building, the old building is shown smaller, and with a different colour image that comes from the same set.
 * mark-size can be used to change the size
 * mark can be used to change the image. Here are some available dots

Little Venice
See Little Venice for the map in situ The overlay is here File:Little Venice overlay.svg.
 * 1) Take the coords- goto OpenStreet Map site- locate the spot- click the very small What is here link. Get accurate coords for the centre of the map, Example 51.5254, -0.1824.
 * To make one, go to the OSM on your wiki page. Click on full interactive map. Do a screen capture of the window [Shft PrtSc]  and save it anywhere [Crtl S]. Open 'Inkscape'- Import [Crtl I] Recent file, select the top of the list. Edit- resize to current object [Shift Crtl R]. Lock the layer, open new layer. Start drawing. When finished, hide background layer- save. [Crtl S]
 * Upload this file via the upload wizard. Enter the file name in the  .  Show preview.[Shift Alt P]

Now we will reduce the size. Okay- this is striving for the perfect balance.

Lower Thames Crossing
The motoways are not aligning yet- tweak

London schools template showing two styles of map
Fortismere School is a mixed, comprehensive, foundation secondary school situated just off the A504 in Muswell Hill in the London Borough of Haringey.

Chart


A little dated however. --ClemRutter (talk) 09:27, 29 June 2018 (UTC)