Page 1 of 1

AJAXMAPS: How to switch between various backends?

Posted: Tue Oct 11, 2016 11:47 am
by Bernd Welter
Hello there,

these days a customer asked me whether it is possible (and how) to switch between various xMap backend URLS while using just a single installation of the AJAXMAPS. The solution is based on a combination of server configuration and a single statement in the JavaScript call.
In this example the AJAXMAPS instance is configured to deal with three logical backends. Depending on the map.setBackendServer(..) the user faces another map backend.
In this example the AJAXMAPS instance is configured to deal with three logical backends. Depending on the map.setBackendServer(..) the user faces another map backend.
Best regards from Germany,
Bernd