CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Script Error "google is not defined" in Render ...

by zsleo » 27 Jul 2017 23:41

Please advise what I am missing...

This is the first time I a using JQGMap3 for a serious project.

I have taken the JQGMap3Frame PAS and DFM from the CGD Demo source code to use it in a small test app.

When I create an display JQGMap3Frame I get a pop-up with the error "Script Error "google is not defined" in Render Async! Processing Full Submit...".

I have not changed any code in JQGMap3Frame.

Help please
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Alexander Bulei » 04 Aug 2017 09:19

Hi zsleo,

I've changed the way of functioning of components, which works with google libraries.
So, in next beta build, you have the new component IWCGGoogleLibLoader, and now this component is required to work properly with google libraries.

Here you have the change log:

Code: Select all
4.0.1.44

Core
- Added: new component IWCGGoogleLibLoader - component to load the Google Javascript API & Libraries
- Added: new component IWCGJQGAC - Google Place Autocomplete (input)

IWCGJQGMap3, IWCGJQGMap3Ex
- MAJOR Change: Now, those components require to have assigned GoogleLibLoader property (IWCGGoogleLibLoader)
- Added: new GoogleLibLoader property


IWCGJQGMap3
- DEPRECATED: GoogleMapsAPIUrl, GoogleMapsExpermental & GoogleApiKey properties in favor of IWCGGoogleLibLoader

IWCGJQGMap3Ex
- DEPRECATED: LoadOptions property in favor of IWCGGoogleLibLoader


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by zsleo » 04 Aug 2017 23:01

I look forward to the release.

Thanks
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by zsleo » 14 Aug 2017 03:28

Alexander,

Thanks. This is now working well.

I have been experimenting / playing with IWCGJQGMap3Ex and I can't figure how to get the Route to display.

I altered your demo as follows but can't figure out if a callback is required and if so how to trigger it.

CGGoogleComps_01.7z


Regards
You do not have the required permissions to view the files attached to this post.
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Alexander Bulei » 14 Aug 2017 15:32

Hi zsleo,

You're doing it right...there was small problem with rendering of Route on IWCGJQGMap3Ex...which I've already fixed.

Thanks.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQGMap3

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.