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.
Hello Sean,
Would you please provide information about your IDE and system?
Also, try to run the DataProviders demo, choose the OpenStreetMap option there, and inform us about your results.
Hi Mikhail,
I'm using XE5 Ent on Win 7 64bit.
Same problem when switching to OpenStreetMap.
Regards,
Sean.
Would you please try to open the http://www.bing.com/maps/ link in your browser?
Also, perhaps your firewall can limit the internet connection of some applications. Would you check this?
http://www.bing.com/maps/ opens with out a problem.
I've already added the demo apps to the firewall' allowed programs list.
I see that you are using Indy to get the map content, I don't think that Indy will pick up any proxy settings - please see http://stackoverflow.com/questions/8961257/detecting-ie-proxy-settings-and-using-with-tidhttp.
I think this must be the problem because if I add the following code, after each TIdHTTP.Create, which sets the ProxyParams, I get the demo programs to work :
AHTTP := TIdHTTP.Create(nil);
ahttp.ProxyParams.ProxyServer := 'myproxy.me.com'; // made up proxy address!
ahttp.ProxyParams.ProxyPort := 8080;
Regards,
Sean.
Thank you for informing us that the problem is now solved and for providing your solution.
We will examine this information and will try to avoid such problems in the future.
Has this been fixed in the release version 14.1.2?
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.