ptv-logistics/xserver.net

Map control with xServer 2 only

Opened this issue · 1 comments

We're using the Map controls (via a FormsMap control) and set the XMapUrl. When it's a xServer 2, it takes a while before the map appears, since it checks first if it's an xServer 1 (the setter of the property actually performs a WebRequest with timeout of 5 seconds. When I know that I have an xServer 2, this wastes some time that the user has to wait before the actual map appears.
This could maybe fixed by a property in Map, e.g. UseXserver2Only or something. @oliverheilig what do you think? Or is there alternative ways to skip the xServer 1 check?