Just read your question again (on nabble, the script tag was lost in the email), and I realized that's not gonna help. Take a look at this thread: http://tapestry.1045711.n5.nabble.com/Referencing-external-assets-td4346215.html
Basically, you need to override AssetPathConverter, and then use @Import for the google maps library instead of the import via script. On Sat, Sep 15, 2012 at 10:05 PM, Dusko Jovanovski <dusk...@gmail.com>wrote: > 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 >> >> >