AJAXMAPS: How to switch between various backends?

This forum deals with any kind of web based client technology, whether it is the well known java script based Ajax servlet or the upcoming approaches such as Leaflet, OpenLayers and so on.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2564
Joined: Mon Apr 14, 2014 10:28 am
Contact:

AJAXMAPS: How to switch between various backends?

Post 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
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply