Hi all,
I'm currently trying to test the DataMiner Maps locally. I've configured the ServerConfig.xml
file using a valid Google Maps API key (gmaps
) as shown below:
However, when I try to open the app in the browser, I encounter the following error: "No config selected", even though I’ve specified the configuration in the file.
Could you please advise what might be wrong or what areas I should further investigate?
Thank you in advance.
Hi,
The reason you are seeing this message is because you have not specified a valid map config. This map config is not the same as the server config you have already created, it contains the details of what to show on the map whereas the server config defines the configuration of the map host servers. You can find more info about how to create such a config file in the docs.
This is an example of a minimal config file
<?xml version ="1.0"?>
<MapConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
</MapConfig>


You need to configure both since they each have a different purpose:
The server config defines the map host servers and API key(s). The map config itself defines the actual map and its content. This config can contain a center point, zoom level, layers, map types, legends, popups, markers, … . It works this way to make it possible to have a lot of different maps, each with their own content and purpose, for a single server config.
Hi Wout, Thank you for the swift reply. May I know if both the Server config and Map config need to be configured for DataMiner Maps, or is the Map config alone sufficient? I'm just trying to understand the difference between the Server config and the Map config.
Thank you again.