Important: The map partial skips a partner it must not draw 

Description 

The partial Partials/Partner/Map.html, new in this version, renders the map for a list of partners or for a single one, see Feature: The partner map is configurable per site. Given a single partner with the argument partner , it renders no map when the partner has no coordinates or when Show on map is switched off for it. It checks {partner.shownOnMap} , which combines the two rules of version 2.4, Important: The map shows only partners with a location and Important: The partner map honours "Show on map".

Impact 

A template of a site package that renders the map for one partner, on a partner page for example, renders the partial with the argument partner instead of guarding a map of its own:

<f:render partial="Partner/Map" arguments="{partner: partner, map: mapSettings, assets: mapAssets}" />
Copied!

{mapAssets} is the switch of the map script, see Feature: The script of the partner map can be switched off.

A template that keeps its own map and guards it with {partner.drawable} still draws a partner whose Show on map is switched off. Guard it with {partner.shownOnMap} . A project that overrides the partial has to add the same check to its own copy.