You can use the @Import annotation on render methods. Try this:
@Import(library = {"context:js/OverlappingMarkerSpiderfier.js"})
void afterRender(){}

On Sat, Sep 15, 2012 at 7:12 PM, sommeralex <alexander.som...@gmail.com>wrote:

> Hi!
>
> I need to ensure that google maps api 3 is loaded before
> OverlappingMarkerSpiderfier ( OverlappingMarkerSpiderfier is a js lib
> helping to solve the multiple marker problem with same locations)
>
> The  OverlappingMarkerSpiderfier.js is in my ressources folder, and
> normally
> i would just inject it via @Import(library =
> {"context:js/OverlappingMarkerSpiderfier.js",})
>
> the point is, that the overlapping marker is always loaded then BEFORE
> google maps api loaded. how can i change the order, that
> OverlappingMarkerSpiderfier.js is loaded after google maps, which is loaded
> via the script tag:
>
>
>
> thx
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/loading-js-and-scripts-in-a-specific-order-tp5716309.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to