meta data for this page
How to configure custom offline maps in N4V for Webi (Mapline, Webmapline, Drillmap)
Anonymised summary of support ticket #888128 (2025-02-06)
Symptom
User needs to set up custom offline maps (e.g., India with state/district boundaries) in N4V for Webi using Mapline, Webmapline, or Drillmap components. Issues include file size optimization, token allocation, and drilldown configuration.
Environment
N4V FOR WEBI extensions (Mapline, Webmapline, Drillmap components) running on SAP BusinessObjects Web Intelligence. Server-side installation required. Supports custom GeoJSON maps.
Resolution
- Optimize GeoJSON files to reduce size (e.g., simplify geometries) to improve performance. Use tools like [mapshaper.org](https://mapshaper.org) or follow N4V documentation for simplification steps.
- Allocate tokens for Mapline/Webmapline/Drillmap components based on usage rules: 1 token per Mapline/Webmapline map, 1 token for first-level Drillmap + 1 token per sub-level map. Example: 5 Mapline + 5 Webmapline tokens for initial setup.
- Install the provided N4V Maps Setup on all servers via a standard installer (Next/Next/Next process). The setup includes the first custom map and tokens.
- Configure custom maps by following the provided guide: rename properties in GeoJSON files (e.g., 'district_id' to 'code', 'district_name' to 'name'), update 'list_maps_codes.js' with zone labels and codes, and ensure sub-level maps are properly linked in Drillmap.
- For Webmapline, configure an online map provider (e.g., OpenStreetMap, Esri, Google Maps, or MapMyIndia) by providing an API key if required. Note: Server requires internet access only for PDF printing of the component.
- Apply HotFixes if provided (e.g., 'Need4Viz HotFix WebMaps RBI 1.1') to resolve configuration issues in setup files.
Other resolution
Documentation for custom maps is available on the N4V downloads page. Additional tokens can be purchased in packs of 25 if needed. Drillmap requires individual maps for each sub-level (e.g., districts).