Commit Graph
100 Commits
Author SHA1 Message Date
Tobias Sauerwein 12b8624cdb Merge pull request #4876 from tsauerwein/drag-n-drop-target
Add `target` property to Drag&Drop interaction
2016-02-22 09:36:50 +01:00
tsauerwein 1e8bbb0ae4 Add target property to drag&drop interaction 2016-02-22 09:25:30 +01:00
Tobias Sauerwein 070a6b11f0 Merge pull request #4549 from tsauerwein/multiline-example
Update vector label example
2015-12-11 10:25:57 +01:00
tsauerwein 43e1c86b6e Update vector label example 2015-12-11 10:14:02 +01:00
Tobias Sauerwein 440a8bdea7 Merge pull request #4140 from tsauerwein/animation-flights
Add flight animation example
2015-11-17 09:49:44 +01:00
tsauerwein faf9e467e4 Use map.render() in examples 2015-11-17 09:26:28 +01:00
tsauerwein 072a347a54 Add flight animation example 2015-11-17 09:26:28 +01:00
Tobias Sauerwein 44b1c9da89 Merge pull request #4139 from tsauerwein/turf-jsts-example
Add turf.js and JSTS example
2015-09-22 08:47:45 +02:00
tsauerwein 8a703640d0 Add example with turf.js 2015-09-21 13:44:17 +02:00
tsauerwein a5626a0573 Add example with JSTS 2015-09-21 13:44:10 +02:00
Tobias Sauerwein f65129850d Merge pull request #4136 from marcjansen/fork-me
Fix the 'click-to-fork' link in contributer notes
2015-09-19 11:02:53 +09:00
tsauerwein 263960aad1 Use ol.proj.fromLonLat 2015-09-18 16:42:19 +09:00
tsauerwein b1f56c1e98 Fix lat/lon order 2015-09-18 16:35:44 +09:00
Tobias Sauerwein e87b616de8 Merge pull request #3718 from tsauerwein/renderOrder-assertion
Add a assertion for renderOrder
2015-05-21 11:20:27 +02:00
tsauerwein a3f9b3ba43 Add assertion for renderOrder 2015-05-21 09:26:47 +02:00
Tobias Sauerwein e4e91b82d6 Merge pull request #3662 from tsauerwein/renderbuffer-docs
Clarify docs for renderBuffer option
2015-05-06 09:09:12 +02:00
tsauerwein c0d9a822f8 Clarify docs for renderBuffer 2015-05-05 17:22:33 +02:00
Tobias Sauerwein 8e4063d905 Merge pull request #3629 from tsauerwein/snap-xyz
Problems with XYZ coordinates in snap interaction
2015-04-27 08:53:34 +02:00
tsauerwein 77f16c7fd6 Fix XYZ coordinates in snap interaction 2015-04-24 09:26:31 +02:00
Tobias Sauerwein 2a95049ac4 Merge pull request #3560 from tsauerwein/permalink-example
Add an example showing how to create a permalink
2015-04-22 09:24:06 +02:00
Tobias Sauerwein 81f36f5e76 Merge pull request #3531 from mantonovic/master
Fix PointerEventHandler exception with Overlay containing SVG and IE9
2015-04-10 16:50:57 +02:00
Tobias Sauerwein c36c67779e Merge pull request #3470 from tsauerwein/rendering-tests
Add rendering tests
2015-04-06 13:49:51 +02:00
tsauerwein f99196c466 Fix failing test 2015-04-06 13:36:43 +02:00
tsauerwein c0a23dc818 Add first rendering tests 2015-04-06 13:36:35 +02:00
Tobias Sauerwein 91b12c1d34 Merge pull request #3413 from tsauerwein/ext-browserify
Add support for generic external modules with Browserify
2015-04-06 13:25:45 +02:00
tsauerwein 8e0c21eb58 Add test-suite using SlimerJS 2015-04-04 17:30:38 +02:00
Tobias Sauerwein 28a13e3b26 Merge pull request #3493 from tsauerwein/image-static-load
Add image loading events to ol.source.ImageStatic
2015-04-04 15:33:32 +02:00
tsauerwein 7c83581566 Add image loading events to ImageStatic 2015-04-04 15:18:35 +02:00
Tobias Sauerwein a19c58e490 Merge pull request #3483 from tsauerwein/rotation-docs
Clarify view.setRotation docs
2015-04-04 11:40:52 +02:00
tsauerwein b911d740d8 Clarify rotation docs 2015-04-04 09:41:29 +02:00
tsauerwein 921fd3ed3b Support generic ext. modules with browserify 2015-04-04 09:17:11 +02:00
Tobias Sauerwein 8c2700b3c8 Merge pull request #3455 from tsauerwein/webgl-loaded-icon
Fix pre-loaded icons images for WebGL
2015-04-02 20:29:29 +02:00
tsauerwein ed1d9cc8fc Add imgSize to Icon options 2015-04-02 19:18:38 +02:00
Tobias Sauerwein 563d51b389 Merge pull request #3392 from tsauerwein/fullscreen-class
Fix switching class name of full-screen control
2015-03-24 18:26:20 +01:00
tsauerwein eb7dde6d0f Fix class name of full-screen control 2015-03-24 17:07:55 +01:00
Tobias Sauerwein 7a5ad336c6 Merge pull request #3268 from tsauerwein/fix-example-autoPan
Fix autoPan in examples with ol.Overlay on hover
2015-02-24 09:48:22 +01:00
tsauerwein 054dc81485 Disable autoPan in examples
To avoid that the map is panned when showing
overlays on hover.
2015-02-24 09:33:40 +01:00
Tobias Sauerwein 5897cf55aa Merge pull request #3256 from tsauerwein/overlay-panIntoView
Add autoPan option to ol.Overlay
2015-02-23 17:23:00 +01:00
tsauerwein e46e0f85fb Add autoPan option to ol.Overlay 2015-02-23 17:01:52 +01:00
Tobias Sauerwein 3fbc6fa361 Merge pull request #3261 from adube/fix-extent-foreachcorner
Fix forEachCorner extent, add TopLeft
2015-02-20 16:01:37 +01:00
Tobias Sauerwein 350ce735f1 Merge pull request #3172 from tsauerwein/forEachLayerAtPixel
Introduce forEachLayerAtPixel
2015-02-02 09:24:43 +01:00
tsauerwein b390c1bdf8 Use dragging flag in examples 2015-01-30 13:53:32 +01:00
tsauerwein f4500c8f89 Rename *AtPixel to *AtCoordinate if coordinate 2015-01-30 10:00:37 +01:00
tsauerwein 4d4bed454a Avoid pixel->coord->pixel conversion 2015-01-30 10:00:37 +01:00
tsauerwein 054227fd26 Make signature for *AtPixel methods more consistent
pixel/coordinate is the first argument.
2015-01-30 10:00:36 +01:00
tsauerwein b7415219a6 Use forEachLayerAtPx in example 2015-01-30 10:00:36 +01:00
tsauerwein dce4210a5b Implement forEachLayerAtPixel for webgl 2015-01-30 10:00:36 +01:00
tsauerwein 6cc5bd466d Add hasFeatureAtPixel for ImageLayer 2015-01-30 10:00:36 +01:00
tsauerwein b4cb786f29 Implement forEachLayerAtPixel for canvas 2015-01-30 10:00:36 +01:00
tsauerwein 225f0739ec Add forEachLayerAtPixel 2015-01-30 10:00:36 +01:00
tsauerwein 7feb8b22f6 Rename forEachGeometryAtPixel 2015-01-30 10:00:36 +01:00
Tobias Sauerwein 9e7e5efd27 Merge pull request #3190 from tsauerwein/event-dragging
Introduce `dragging` flag for MapBrowserEvent
2015-01-30 09:54:52 +01:00
tsauerwein 9a841583db Remove getter for down_ 2015-01-30 09:38:47 +01:00
tsauerwein 9cc8390dfd Use dragging in examples 2015-01-30 09:16:19 +01:00
tsauerwein f2518e4c08 Add dragging flag to MapBrowserEvent 2015-01-30 09:15:35 +01:00
Tobias Sauerwein aa67078d74 Merge pull request #3135 from tsauerwein/control-label
Make changing the label of ZoomToExtent/FullScreen control consistent
2015-01-29 15:03:53 +01:00
Tobias Sauerwein 9d5f7c1eb4 Merge pull request #3177 from tsauerwein/style-polygons
Add example showing how to style polygon vertices
2015-01-27 10:18:55 +01:00
tsauerwein 48cf51a7ca Add example for polygon vertices styling 2015-01-27 10:02:28 +01:00
Tobias Sauerwein 90a5997c22 Merge pull request #3108 from tsauerwein/webgl-point-skipFeatures
Support skipping features in the WebGL renderer
2015-01-23 08:56:39 +01:00
tsauerwein 316480dcda Rename argument 2015-01-22 10:24:59 +01:00
tsauerwein a39544cce0 Implement skipping features for hasFeatureAtPixel 2015-01-22 10:24:59 +01:00
tsauerwein cf9619f378 Implement skipping features for 1by1 hit detection 2015-01-22 10:24:59 +01:00
tsauerwein c4ee074274 Implement skipping features for drawReplay 2015-01-22 10:24:59 +01:00
Tobias Sauerwein 1702a4ed36 Merge pull request #3066 from tsauerwein/webgl-point-hasFeatureAtPixel
Introduce hasFeatureAtPixel
2015-01-22 10:20:00 +01:00
Tobias Sauerwein 53f98dcf4e Merge pull request #3065 from tsauerwein/webgl-point-hit-detection
Add hit-detection support for WebGL
2015-01-22 10:19:37 +01:00
tsauerwein fbb2883f6e Add Node to control label type 2015-01-16 10:14:39 +01:00
tsauerwein 7679069520 Add label option to FullScreen control 2015-01-16 09:05:51 +01:00
tsauerwein 0d26a9aa87 Add label option to ZoomToExtent 2015-01-15 09:58:05 +01:00
Tobias Sauerwein 110ed04a84 Merge pull request #3124 from sirtet/master
Add a space between scale -value and -unit
2015-01-14 12:41:01 +01:00
tsauerwein c85982bbe5 Remove unused variables 2015-01-09 09:21:40 +01:00
tsauerwein d39904b66b Add @const annotation 2015-01-08 16:12:52 +01:00
tsauerwein 25612f1af2 Unify return statement
Only return the callback result if it is truthy,
otherwise return undefined.
2015-01-08 16:12:52 +01:00
tsauerwein 35c58b3b0e Use hasFeatureAtPixel in icon example 2015-01-08 16:12:52 +01:00
tsauerwein 3e5c4d0bf6 Show hasFeatureAtPixel in example 2015-01-08 16:12:52 +01:00
tsauerwein bc71a36292 Implement hasFeatureAtPixel for webgl 2015-01-08 16:12:52 +01:00
tsauerwein d62e910239 Implement hasFeatureAtPixel for canvas 2015-01-08 16:12:52 +01:00
tsauerwein d0691ecc4d Add hasFeatureAtPixel function to map 2015-01-08 16:12:52 +01:00
tsauerwein 974823dbd4 Refactor createTexture 2015-01-08 15:40:03 +01:00
tsauerwein 38322d615b Use renderBuffer for hit-detection 2015-01-08 15:38:00 +01:00
tsauerwein 060c9f3bc6 Reduce number of arrays created 2015-01-08 15:38:00 +01:00
tsauerwein 6c48b2067b Make icon example work with webgl 2015-01-08 15:38:00 +01:00
tsauerwein da7f38635b Remove hitDetectionOrigin 2015-01-08 15:38:00 +01:00
tsauerwein 461ec1d3bc Make sure hit-detection atlas is in sync
... with the atlas for the original images, so that
the offsets are the same.
2015-01-08 15:38:00 +01:00
tsauerwein cf6dd38866 Use hit-detection images 2015-01-08 15:38:00 +01:00
tsauerwein 3ef61fa1c5 Add hit-detection support for webgl 2015-01-08 15:38:00 +01:00
tsauerwein 740420468e Add hit-detection framebuffer to context 2015-01-08 15:38:00 +01:00
tsauerwein e109be4b57 Rename size to initialSize 2014-12-04 11:49:50 +01:00
tsauerwein 0fd1a575a9 Use string instead of ol.structs.Checksum 2014-12-04 11:48:43 +01:00
tsauerwein b5d80679d8 Add and fix documentation for atlas manager 2014-12-04 10:21:32 +01:00
tsauerwein 88a3fda514 Remove star example in favor of #2976 2014-12-04 09:23:00 +01:00
tsauerwein d6841e6d9d Fix tests for when not run with WebGL support 2014-11-24 13:26:45 +01:00
tsauerwein b8b48afc82 Use WEBGL_MAX_TEXTURE_SIZE as default 2014-11-24 09:57:09 +01:00
tsauerwein e307579d49 Move constants from ol.has to ol 2014-11-24 09:42:10 +01:00
Tobias Sauerwein ac24b615c3 Merge pull request #39 from tsauerwein/webgl-point-hit-detection-atlas
[webgl-point] Add hit-detection images of symbols to separate atlas
2014-11-21 11:37:48 +01:00
tsauerwein fb8af71f25 Use goog.isNull and goog.isDef 2014-11-21 10:42:06 +01:00
Tobias Sauerwein 283d878177 Merge pull request #36 from tsauerwein/webgl-point-has-stable
Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API
2014-11-21 10:33:18 +01:00
tsauerwein 8fcde092c7 Set the default of WEBGL_MAX_TEXTURE_SIZE to undefined
By doing so the examples will also work if WebGL is not supported.
2014-11-21 09:54:55 +01:00
tsauerwein 40c33a21eb Mark ol.has.WEBGL_MAX_TEXTURE_SIZE as API 2014-11-21 09:52:09 +01:00
tsauerwein ab42965aa2 Add hit-detection image to atlas (RegularShape) 2014-11-21 09:41:38 +01:00
tsauerwein 4132505313 Add hit-detection image to atlas (Circle) 2014-11-21 09:41:10 +01:00