Hi DHIS2 Community,
I’m currently setting up maps in a new DHIS2 instance and have encountered a major issue with basemaps. Specifically, all four default Bing basemaps in DHIS2 —
- Bing Road
- Bing Aerial
- Bing Aerial with Labels
- Bing Dark
— are no longer working for me as a new user.
After investigating the issue, I discovered that Microsoft has officially announced the retirement of Bing Maps for Enterprise, with the following implications:
No new API keys are being issued to Basic (free) account holders.
All existing Basic keys have expired on June 30, 2025.
Microsoft recommends migrating to Azure Maps, their newer geospatial platform.
More info: Bing Maps Portal Notice
In my DHIS2 instance (version 40), attempts to load Bing maps fail with this error:
Basemap could not be added: Error: Bing Imagery Metadata error:
{
"authenticationResultCode": "DeniedCredentials",
"statusCode": 403,
"statusDescription": "Forbidden",
"errorDetails": ["The request was forbidden. Your credentials may be denied or suspended."]
}
My Understanding So Far
- This issue affects new DHIS2 users or instances, especially those who don’t have an existing Bing Maps Enterprise key.
- Existing installations with previously issued keys might still be functioning — for now — but will eventually need migration.
- The default DHIS2 mapping plugins and configuration still rely on Bing Maps as a default basemap option.
What I’m Looking For
I’m reaching out to ask:
- What are the recommended alternatives to Bing Maps for DHIS2 going forward — both in the short term and long term?
- Is there an official plan from the DHIS2 core team to support Azure Maps, Mapbox, ESRI, or custom XYZ tile layers out-of-the-box?
- Can someone point to an example of how to integrate a new basemap provider (e.g., Mapbox or Azure Maps) with the current DHIS2 Maps application?
- Is it possible to override the default basemap configuration in DHIS2 via the app settings or configuration files for self-hosted instances?
Temporary Workaround
I’ve switched to OpenStreetMap (OSM) layers (e.g., OSM Light and OSM Detailed) for now, but these lack satellite imagery or some styling options required in certain use cases.
I’d really appreciate any guidance from the community, the DHIS2 developers, or others who have dealt with this issue.
Thanks in advance for your help!