Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread EWB and TMap
Fri, Feb 9 2024 12:08 AMPermanent Link

BRCS

Throwing this one out there to check if anyone has much experience with the TMap component, or is there a demo out there I can peruse?

Am using EWB 3.02.8 and currently getting a "Script Error" with the TMap component as soon as it tries to access the API (as far as I can tell). ie as soon as I set the APIKey

I am definitely using a valid API Key (working fine in other non-EWB projects) and the error doesn't give me any real idea where to start looking.  

I tried just dropping a clean TMap on the form. At any time the API Key is set in code (or immediately at startup if set in component) I get the script error.

Anyone able to point me in the right direction?
Fri, Feb 9 2024 8:18 AMPermanent Link

erickengelke

Avatar

BRCS wrote:

> Throwing this one out there to check if anyone has much experience with the TMap component,
> or is there a demo out there I can peruse?

I did some work on TMap stuff, but I don't have a valid Google API key anymore - too expensive when I don;'t use it and don't need to have another monthly bill.  You do need a key assigned from Google to use it.

I would suggest opening your web page in Chrome or Firefox and turning on the developer mode, then looking to see if network traffic is being generated (networks tab).  If so, is google replying with an error?   It may have some text in the message telling you the problem.

Erick






Am using EWB 3.02.8 and currently getting a "Script Error" with the TMap component as soon as it tries to access the API (as far as I can tell). ie as soon as I set the APIKey

I am definitely using a valid API Key (working fine in other non-EWB projects) and the error doesn't give me any real idea where to start looking.  

I tried just dropping a clean TMap on the form. At any time the API Key is set in code (or immediately at startup if set in component) I get the script error.

Anyone able to point me in the right direction?
EWB Programming Books and Nice Component Library
See my EWB BLOG posts, at:
http://www.erickengelke.com
Sat, Feb 17 2024 3:35 PMPermanent Link

Ralf Mimoun

I am using TMap in a project, no problems at all. First I set APIKeyRequired to True, then I set the API Key. You can send me your test application (without your key, of course), and I can try it here.
Image