How to use custom maps in Webmapline component with N4V for Webi

Anonymised summary of support ticket #178125 (2025-04-03)

Symptom

Custom maps (GeoJSON) configured for Mapline or Drillmap do not display in the Webmapline component, even though they appear in the component's list. No errors are logged in Need4Viz logs.

Environment

N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), Webmapline component, Tomcat server, N4V Custom Elements module.

Resolution

  1. Ensure the custom map files (GeoJSON) are placed in the correct directory: <N4V_INSTALL_DIR>/N4VCustomElements/res/js/highcharts/maps_custom_tiles.
  2. Verify the map token is correctly assigned in the configuration file (e.g., _list_webmaps.json) and matches the token used in the component.
  3. Restart the N4V services after updating the configuration.
  4. Confirm the GeoJSON file uses WGS84 (lat/lon) coordinates and contains required attributes (e.g., 'code' and 'name' for each zone).

Other resolution

From version 2025.1.9 onwards, manual updates to list_webmaps_codes.js and list_maps_codes.js are no longer required.