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
Frederic Junod
ff4b85811d
Minor draw-features cleanup
2014-01-22 14:12:32 +01: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
43c40e14c8
Remove trailing whitespace
2014-01-14 14:30:51 +01:00
oterral
e3810b5027
Add draw features example
2014-01-08 16:40:14 +01:00
Tom Payne
4e65fefc00
Move vector code out of the way
2013-11-20 11:39:21 +01:00
Tim Schaub
5a898884ec
Use geometry type enum for configuring draw interaction
...
This allows us to cast single-part geometries to multi-part types before adding features to the target layer. This doesn't yet allow for drawing multi-part geometries with multiple parts. That can be handled separately.
2013-11-12 11:51:41 -07:00
Tim Schaub
2f07433593
Allow user to set drawing mode
2013-11-12 10:30:37 -07:00
Tim Schaub
b3487ad30e
Draw interaction
2013-11-12 10:29:21 -07:00