Ticket T120801
Visible to All Users

Add the capability to connect online map providers using a proxy server

created 11 years ago

Hi,

I’m trying out the VCL 14.1.1 beta but I can’t get either of the VCL map control demos to work, they compile and run but I don’t get any maps to show. I’ve updated the code to use my own Bing Maps API code but it still does not work.

When debugging I get this Exception…

On this line…

Regards,
Sean.

Show previous comments (5)

    Has this been fixed in the release version 14.1.2?

    DevExpress Support Team 11 years ago

      Our developers are examining this issue, and I'm afraid I cannot give you a precise time frame as to when it will be fixed.

        Hi Mikhail,
        Yes please make it public, the title may need to change to 'Problem with VCL Map Control and Proxy Servers'.
        Sean.

        Answers approved by DevExpress Support

        created 11 years ago (modified 11 years ago)

        We have implemented the functionality described in this ticket. It will be included in our next update(s).

        Please check back and leave a comment to this response to let us know whether or not this solution addresses your concerns.

        Additional information:

        You can now enable the map control to connect to online map providers using a proxy server. To accomplish this, specify the proxy settings via the properties of a TIdProxyConnectionInfo singleton object returned by the dxMapControlHttpDefaultProxyInfo function declared in the dxMapControlHttpRequest unit. Refer to the TIdProxyConnectionInfo class description in the Indy documentation to learn about the available proxy settings.

        The following code example shows how to specify proxy settings via the dxMapControlHttpDefaultProxyInfo function.

        // Delphi
        uses
          …, dxMapControlHttpRequest;

        // …
        implementation
        // …

        dxMapControlHttpDefaultProxyInfo.ProxyServer := '<proxy address>';
        dxMapControlHttpDefaultProxyInfo.ProxyPort := <proxy port number>;

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.