By default a Wikibase instance does not show maps for the values of properties with datatype "Geographic coordinates". It needs extra extensions Kartographer & JsonConfig. Additionally, at least the following parameters in LocalSettings.php should be specified:
wfLoadExtension( 'JsonConfig' ); wfLoadExtension( 'Kartographer' ); $wgWBRepoSettings['useKartographerGlobeCoordinateFormatter'] = true; $wgKartographerMapServer = 'https://maps.wikimedia.org'; $wgKartographerDfltStyle = 'osm-intl'; $wgKartographerStyles = ["osm-intl", "osm"]; $wgKartographerSrcsetScales = [1.3, 1.5, 2, 2.6, 3];
I propose to add the Kartographer & JsonConfig extensions to the next release of Wikibase-Release-Pipeline.
P.S. Highly likely that the setting above is working on localhost only, see T271617#7548546. To use the OpenStreetMap tile server, the following parameters should be specified in LocalSetting.php:
wfLoadExtension( 'JsonConfig' ); wfLoadExtension( 'Kartographer' ); $wgWBRepoSettings['useKartographerGlobeCoordinateFormatter'] = true; $wgKartographerMapServer = 'https://a.tile.openstreetmap.org/'; $wgKartographerDfltStyle = ''; $wgKartographerStyles = [];
Apart of that in Kartographer/modules/box/Map.js replace urlFormat = '/{z}/{x}/{y}' + scale + '.png'; by urlFormat = '{z}/{x}/{y}.png'; and this.layerUrl = mapServer + '/' + style + urlFormat; by this.layerUrl = mapServer + urlFormat;.