Load service

The Load service bundle enables to load more services to your map composition. To add a service to your app you can:

  • Load services out of the favorites list.

  • Enter a URL (manual).

  • Use the serviceURL parameter.

Configuration for services with HTTP basic authentication
Services for which the transfer of security-critical information with CORS is activated

Enter the service in proxy.cors.trustedServers. With this configuration a dialog appears in the client to enter the username and password.

Services for which the transfer of security-critical information with CORS is not activated

Use the proxy servlet.

After adding an entry in proxy.allowedServerUrls with credentials and ,*, then no credentials are necessary in the client.
After adding an entry in proxy.allowedServerUrls without credentials and with ,*, then a dialog appears in the client for entering the user and password.

Add a service

serviceURL parameter

For using the serviceURL parameter the parametermanager bundle is required.

Add the serviceURL parameter to your map.apps app URL, e.g. http://localhost/mapapps/resources/apps/sdi_demo/index.html?lang=de&serviceURL=https://www.wms.nrw.de/geobasis/wms_nw_alkis.

After that you have the opportunity to select which layers should be loaded.

Load by favorites list

The favorites list contains a list of predefined services which should make it easier for inexpert users. Provide the most interesting and useful services here.

map content and load service

Manual loading

The manual loading of further services is a tool for experts who know services and their URLs.

Insert the service address (URL). After loading the service you have the option to select and deselect e.g. specific layers only. You can change the order of layers before loading using the Toggle order button.

url input toggle order

The following services types are supported:

  • ArcGIS Server Feature Server

  • ArcGIS Server Map Server

  • ArcGIS Image Server

  • Web Map Service (WMS)

  • Web Map Tile Service (WMTS)

  • INSPIRE View Service

ArcGIS feature service

You can load an ArcGIS Server feature service in two different ways:

map content

You can toggle the order of layers before loading the layers, but not all servers support requests with a different order of layers. Therefore, after toggling the order of the layers, the result in the map can differ from the order in the toc.

toggle order beforeToggle ordertoggle order after

Remove a service or layer

The loaded services and layers are added to the tree map control to the My Services node and can be removed there too.

map content map crop remove