Map control with xServer 2 only (how to optimize performance)
Posted: Wed Oct 16, 2024 9:53 am
These days some xServer.NET users asked in the github.
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?