Cgoogleapi And Registerscript Id

In the same web application, I need to change the google map api parameters where in some cases the ‘drawing’ library is to be included.

As I also enable the ‘EScriptBoost’ extension that compresses and caches javascript, the script id must be unique enough so that caching takes into account the difference in parameters.

I changed the CGoogleApi::register method slightly to modify the script id and to make it use the controller action id: