Éric Lemoine
a7b4a08e07
Add "None" to draw-features example's select
...
This allows to deactivate drawing entirely in the example.
2014-06-18 08:26:45 +02:00
Tim Schaub
2a4300085e
No markup in shortdesc
...
The example parser and index template don't handle markup in the shortdesc element. Use the docs element instead.
2014-04-04 10:07:02 -06:00
Tom Payne
1a81227aef
Remove trailing whitespace
2014-02-26 17:58:43 +01:00
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
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