Commit Graph

27 Commits

Author SHA1 Message Date
simonseyock e0edefb4d7 Added hitTolerance to select interaction. Added hitTolerance to select interaction example. 2016-12-08 10:14:09 +01:00
Tim Schaub d19bf0970b Rename strapless template 2015-11-18 09:56:15 -07:00
Tim Schaub baed03d50d Convert S-T examples to strapless template 2015-11-18 09:56:15 -07:00
Tim Schaub 0149924551 Update Metalsmith and layout plugin 2015-11-01 02:18:09 -07:00
tarang bf91c1792b added altclick select to selectfeatures example 2015-04-29 15:12:51 +05:30
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
Björn Harrtell e4b1d6e1de Add SelectEvent to Select interaction
Fixes
2015-03-03 12:22:01 +01:00
Alexandre Dubé d1185da6b1 Replace mouseMove event condition by pointerMove
The original browser event was used to catch the mousemove event,
but in IE the 'pointermove' event is returned instead. So, instead
of using the original event, we use the map browser event, which
is always 'pointermove'.
2015-02-27 12:14:13 -05:00
Frederic Junod 078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Éric Lemoine f8ba6758a2 Add "action type" select to select-features example
Making it possible to choose between three select interactions, one that works on "singleclick", one that works on "click", and one that works on "mousemove".
2014-07-03 09:24:23 +02:00
Tom Payne 395f1222a1 Add remove and toggle options to ol.interaction.Select 2014-03-17 16:43:41 +01: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
Tom Payne d36fcc1f69 Add select-features example 2014-01-29 15:12:53 +01:00
Tom Payne 4e65fefc00 Move vector code out of the way 2013-11-20 11:39:21 +01:00
ahocevar b80022036f ol3 logo for examples and apidoc header 2013-09-24 14:42:04 +02:00
Tim Schaub 66e1b01c2d Use form.navbar-form for input elements in a navbar 2013-09-19 15:19:20 +01:00
Marc Jansen 6d40b170d6 Examples: Remove social links. 2013-09-18 17:39:52 +02:00
Marc Jansen 886e38a69b Examples: Add switch compilation level tool. 2013-09-18 17:26:46 +02:00
ahocevar 2394b39f6f Use select as keyword 2013-08-29 16:50:54 +02:00
ahocevar 100b85a7b0 Converting control to an interaction
To dispatch events, the interaction base class now inherits from
goog.events.EventTarget.
2013-08-29 16:50:53 +02:00
ahocevar 19a00bbe27 Making the control's button work 2013-08-29 16:50:50 +02:00
ahocevar 871388d2c0 Adding selection layer and implementing basic click selection 2013-08-29 16:50:50 +02:00
ahocevar e2526621d1 Select example and skeleton with event listeners 2013-08-29 16:50:50 +02:00