When, if ever, is this method able to work? I'm unable to make it work at any point, resulting in the 80020101 error
Hi,
I'm referring to the GotoAddress method on the TTMSFMXWebGMaps class. It can be reproduced simply by having the component on a form, have a button, and in the click event, call GotoAddress with any address.
I'm using Delphi 10 Seattle and the latest WebGMaps.
Hi,
Is this something that could be resolved by our modifying the source, before the next release?
Hi,
OK; not what I was expecting. Is there no way to simply pass an address, like what happens with the Google Maps website?
A little more research and it seems that is not the case. The main issue is that addresses can be incomplete or missing important information. A failed geolocate can be re-run with modified information but that means using more of the quota.
I'll check out geocoding a bit more, thanks.
The FireMonkey version of the WebGMaps originates from VCL which doesn't have this method, so there you still need to go through the non-visual component to go to a specific address. In FMX we have simply provided a helper method that wraps this code.