You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am loading my map asynchronously and I need to include an utility library (https://code.google.com/p/google-maps-utility-library-v3/).
So the utility js code must run right after gmaps has been loaded and just before the generated code of Ivory.
Is there a way to properly integrate any js code in the beginning of function load_ivory_google_map(); without hacking MapHelper::renderJavascripts(Map $map) ?
I think developers need a way to add custom code in this place so they can test versions and have better control of the generated js code!
It is also valid for example for the MarkerClusterer utility library which always take code from the trunk!
What do you think?
Thanks
The text was updated successfully, but these errors were encountered:
For now, there is no extension point in the code which can allow you to easily do it... So, without creating your own helper & redefine the renderJavascripts method, there is no way... :s
I'm 👍 for allowing devs to define there own js in the middle but how would you like it?
Hello,
I am loading my map asynchronously and I need to include an utility library (https://code.google.com/p/google-maps-utility-library-v3/).
So the utility js code must run right after gmaps has been loaded and just before the generated code of Ivory.
Is there a way to properly integrate any js code in the beginning of function load_ivory_google_map(); without hacking MapHelper::renderJavascripts(Map $map) ?
I think developers need a way to add custom code in this place so they can test versions and have better control of the generated js code!
It is also valid for example for the MarkerClusterer utility library which always take code from the trunk!
What do you think?
Thanks
The text was updated successfully, but these errors were encountered: