Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/cadetill/domains/cadetill.com/public_html/wp-includes/class-wp-hook.php on line 286
GMLib – El blog de cadetill
Mar 152017
 

Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/cadetill/domains/cadetill.com/public_html/wp-includes/class-wp-hook.php on line 286

Since a few days ago, GMLib has stopped working correctly by displaying the following error message:

“Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”  Continue reading »

May 122016
 

Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/cadetill/domains/cadetill.com/public_html/wp-includes/class-wp-hook.php on line 286

Due to the future closure of google.code, the raw files are no longer available. For this reason and because GMLib uses StyledMarker.js hosted in this servers, GMLib has stopped working.

However the solution is easy: upload this file to another server and do a small changes into the GMLib code.

So, I have uploaded StyledMarker.js to the GitHub GMLib repository. Now, you only need to do this small modification into GMLib:

  • Into .\resources\map.html file replace this url
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js

by this other

https://rawgit.com/cadetill/gmlib_v1/master/Resources/StyledMarker.js
  • Recreate resource file executing  .\resources\rc.cmd
  • Build (no compile) all GMLib

With this easy steps we have GMLib up to date.

Another option is download the changes from the repository.

Until the next entry!

 

Feb 102016
 

Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/cadetill/domains/cadetill.com/public_html/wp-includes/class-wp-hook.php on line 286

Searching info for GMLib library about news from TWebBrowser in Android and iOS in new version of RAD Studio (HTML access and JavaScript function execution), I have found the TWebBrowserEx class that does all that I need.

This class created by Jun HOSOKAWA is compatible with RAD Studio (from XE5 version -with minor changes- until Seattle 10) and with Appmethod (from 1.14 to 1.17).

The TWebBrowserEx class inherits from TWebBrowser directly (so that will be compatible with all applications developed with this component) adding some nice improvements: Continue reading »