Commit Graph

6 Commits

Author SHA1 Message Date
Tim Schaub
e633f7f8c1 Don't inject stylesheets with JavaScript
This reverts 4d619d71b1 (see #1527), going back to what we had after e13075f6ff (see #881).

To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
2014-02-21 18:45:46 -07:00
Antoine Abt
2369ac62eb Load example-behaviour before example script 2014-02-13 17:21:02 +01:00
Austin Hyde
03b7d6ee92 Add jquery to examples for backwards compatibility with IE7/8 2014-02-05 15:42:58 -05:00
Tom Payne
4d619d71b1 Only load ol.css in loader.js
Before this change, all the examples try to load ../css/ol.css, even in
hosted mode, where they should load ../build/ol.css instead.
2014-01-14 14:32:40 +01:00
Tom Payne
6b10ea887e Add comment about the rtree example not working when hosted 2014-01-06 13:53:24 +01:00
Tom Payne
8e55cad4e0 Add R-Tree visualisation example
This demonstrates how awful ol.structs.RTree is.
2013-11-20 11:42:07 +01:00