How to configure custom map backgrounds in N4V for Webi

Anonymised summary of support ticket #272940 (2025-04-15)

Symptom

Custom map backgrounds do not appear in the list after modifying configuration files.

Environment

N4V FOR WEBI version 2025.1.9 or later. Components: Webmapline and OpenStreetMap.

Resolution

  1. For Webmapline component:
  2. 1. Edit 'list_webproviders_conf.js' and add: exports.CUSTOM5 = { url: '[custom_url]' };
  3. 2. Edit '_list_webproviders.json' and add: { 'id': 'CUSTOM5', 'name': 'Custom Map Name', 'description': '' }
  4. For OpenStreetMap component:
  5. 1. Edit 'list_maps_osm.js' and add: exports.osm5 = { name: 'Custom Map Name', URL_map: '[custom_url]', ... };
  6. 2. Edit '_list_mainosm.json' and add: { 'id': 'osm5', 'name': 'Custom Map Name', 'description': '' }
  7. 3. Restart N4V services to apply changes.

Other resolution

Ensure the custom URL is correctly formatted and accessible. Verify file permissions after modification.