Maximilian Krög
523a33c81a
Update example styles to work with bootstrap 5.2
2022-08-22 19:26:23 +02:00
Maximilian Krög
bc9a6f230c
Update to bootstrap 5.2
2022-08-22 19:26:23 +02:00
Andreas Hocevar
4fe8c54146
Input is a void element
...
Co-authored-by: Tim Schaub <tschaub@users.noreply.github.com >
2020-11-02 11:14:25 +01:00
Andreas Hocevar
4980e58db0
Add undo to draw-features example
2020-10-31 11:58:52 +01:00
Maximilian Krög
d2d1022359
Link labels to input elements
2020-08-09 20:49:07 +02:00
Tim Schaub
ae55814875
Use module paths in example docs
2018-05-07 15:33:14 -06:00
Tim Schaub
ac805e804b
Divide the draw features example into two examples
2016-10-16 16:38:00 -06:00
Tim Schaub
d19bf0970b
Rename strapless template
2015-11-18 09:56:15 -07:00
Tim Schaub
3035bbdfd3
Convert D-E examples to strapless template
2015-11-18 09:56:14 -07:00
Tim Schaub
0149924551
Update Metalsmith and layout plugin
2015-11-01 02:18:09 -07:00
Andreas Hocevar
100020fd59
Refactoring for more consistency
...
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Andreas Hocevar
19c91235ce
Add convenience function to create a regular polygon geometryFunction
2015-05-14 23:24:29 +02:00
Andreas Hocevar
ed7e5ddef7
Improve the draw-features example description
2015-04-27 11:10:16 +02:00
Tim Schaub
89f5e711e6
Example sources in the examples dir
2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd
Build and parse examples from examples_src/
2015-04-02 19:10:09 +02:00
Christopher S. Case
1074c9d44a
Updated example for circle drawing.
2015-02-18 09:50:10 -06:00
Frederic Junod
078ba2dec0
Move jquery.min.js to resources
2014-10-01 09:59:20 +02:00
É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