Éric Lemoine
56b08adef7
Add goog.provide for ol.DrawEventType
2015-02-25 21:59:57 +01:00
Éric Lemoine
329edc4ec6
Make ol.Overlay autoPan default to false
2015-02-24 15:14:10 +01:00
Éric Lemoine
22b27cdb02
Update package version to 3.2.0
2015-02-06 11:12:59 +01:00
Éric Lemoine
480c276d93
Changelog for v3.2.0
2015-02-06 11:12:59 +01:00
Éric Lemoine
df2d71ef83
Add "url" option to ol.source.MapQuest
2015-01-30 17:08:50 +01:00
Éric Lemoine
21144f161a
Add more tests fr ol.renderer.vector
2015-01-21 14:50:48 +01:00
Éric Lemoine
11eeb6617c
Add wrapX option to olx.source.BingMapsOptions
2015-01-16 17:15:59 +01:00
Éric Lemoine
d13a5dfb9f
Add wrapX option to olx.source.OSMOptions
2015-01-16 17:12:00 +01:00
Éric Lemoine
79312c2083
Add ol.control.Control#setTarget
...
This commit adds a setTarget method to ol.control.Control. This function can be used in cases where the target cannot be set at control construction time. For example, with Angular, it makes sense to create the control instance in an Angular controller, and have a "control" directive insert the control into the DOM.
2015-01-16 09:27:30 +01:00
Éric Lemoine
789ddad536
Specify node version
2015-01-12 20:49:23 +01:00
Éric Lemoine
2ef8302122
Add a build/ol.js.map target
2015-01-09 12:33:38 +01:00
Éric Lemoine
0f486e86f7
Add tests for ol.renderer.Layer#loadImage
2015-01-09 09:45:25 +01:00
Éric Lemoine
4814983306
Also listen on loading images
...
This fixes a bug that occured when an image source was used by multiple maps. In that case the map that didn't load the image wouldn't register a load listener on that image and would therefore not call render to request a re-render of the map.
2015-01-09 09:07:31 +01:00
Éric Lemoine
f1bf782133
Change "recreate batch" strategy
...
Only recreate batch when the (buffered) rendered extent contains the **buffered** viewport extent.
2014-12-19 08:43:47 +01:00
Éric Lemoine
33cf4e6179
Add a drag-feature example
...
This example also demonstrates how to implement a custom interaction that inherits from ol.interaction.Pointer.
2014-12-18 18:42:36 +01:00
Éric Lemoine
14ea2bf413
Add ol.geom.Geometry#translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
374f916b3a
Add ol.geom.flat.transform.translate
2014-12-18 18:42:36 +01:00
Éric Lemoine
4a311e66d7
Add ol.Map#getTargetElement
...
ol.Map#getTarget returns an element or a string, depending on what was passed to setTarget. This commit adds a getTargetElement method that always returns an Element.
2014-12-18 14:13:44 +01:00
Éric Lemoine
6b46d5c76a
Make shouldStopEvent default to the identity func
2014-12-18 14:13:44 +01:00
Éric Lemoine
1907de667a
Make ol.interaction.Pointer call handleMoveEvent
2014-12-18 14:13:44 +01:00
Éric Lemoine
711ec705b7
Add handle*Event options to ol.interaction.Pointer
...
More specifically: handleDownEvent, handleDragEvent, handleMoveEvent, and handleUpEvent.
2014-12-18 14:13:44 +01:00
Éric Lemoine
8e8fc9977c
Add a renderBuffer option to ol.layer.Vector
2014-12-18 13:20:32 +01:00
Éric Lemoine
ddc51ee267
Unconditionally draw Replay's
2014-12-18 13:04:29 +01:00
Éric Lemoine
d3365fb3a5
Remove // NOCOMPILE from vector-wfs
2014-12-16 09:43:34 +01:00
Éric Lemoine
7a09b11da5
Use // NOCOMPILE for vector-wfs
...
This is temporary solution until the demo.boundless.com WFS works again.
2014-12-15 15:24:28 +01:00
Éric Lemoine
a9f3367310
Rename handleMapPostrender to render (overlay)
2014-12-12 18:30:43 +01:00
Éric Lemoine
d07185e8f2
Add an "handleEvent" interaction option
2014-12-12 18:30:31 +01:00
Éric Lemoine
df170859cc
Add a "render" control option
2014-12-12 18:30:02 +01:00
Éric Lemoine
fdf52c1865
Simplify hit detection code
2014-12-05 15:42:54 +01:00
Éric Lemoine
a820ccea5a
Use alphabetical order for canvas ReplayGroup methods
2014-12-05 12:32:54 +01:00
Éric Lemoine
9421bbd362
More clean-ups in the canvas replay code
2014-12-05 12:29:53 +01:00
Éric Lemoine
4c2a0d2053
Remove unused code in the canvas replay code
2014-12-05 12:24:54 +01:00
Éric Lemoine
b3ad50018d
Remove unused local variable
2014-12-05 12:24:54 +01:00
Éric Lemoine
27d30e4286
Replay replays in correct order for hit detection
2014-12-05 12:24:54 +01:00
Éric Lemoine
61f0c55975
Passing options to RegularShape is mandatory
2014-12-04 13:33:30 +01:00
Éric Lemoine
87bb1b956b
Merge remote-tracking branch 'upstream/master' into webgl-point
...
Conflicts:
src/ol/style/circlestyle.js
src/ol/style/regularshapestyle.js
test/spec/ol/style/regularshapestyle.test.js
2014-12-04 12:57:46 +01:00
Éric Lemoine
b2e419654b
Add ol.INITIAL_ATLAS_SIZE and ol.MAX_ATLAS_SIZE
2014-12-04 12:13:47 +01:00
Éric Lemoine
6d1d47a918
Remove @api for ol.render.webgl.Immediate#flush
2014-12-04 11:22:15 +01:00
Éric Lemoine
aef11b7471
Better comment in ivectorcontext.js
2014-12-04 11:18:58 +01:00
Éric Lemoine
1845665306
Correct spelling for "performance"
2014-11-27 17:14:22 +01:00
Éric Lemoine
ec01aa45b9
Make createTileCoordTransform return identity func
...
This makes ol.tilegrid.TileGrid#createTileCoordTransform return the identity function. This makes it possible to use ol.source.TileVector with an ol.tilegrid.TileGrid (as opposed to an ol.tilegrid.XYZ).
2014-11-24 15:19:24 +01:00
Éric Lemoine
8ba830f91f
Make loadFeaturesFromUrl accept an error callback
2014-11-24 15:13:17 +01:00
Éric Lemoine
c0bbb6c4fa
Disable vertex attrib array after replay
2014-11-21 17:48:58 +01:00
Éric Lemoine
b3369cd516
Delete WebGL resources used by immediate API
2014-11-21 16:35:05 +01:00
Éric Lemoine
857a8ca2bb
Delete WebGL resources used at postcompose time
2014-11-21 16:35:05 +01:00
Éric Lemoine
57db47ac18
Rename ol.structs.Buffer to ol.webgl.Buffer
...
The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
2014-11-21 15:48:31 +01:00
Éric Lemoine
6360e4497d
Add a comment to WebGL ImageReplay
...
A comment explaining why we don't need to call deleteProgram and deleteShader in the function returned by getDeleteResourcesFunction.
2014-11-21 15:39:23 +01:00
Éric Lemoine
2e873d3e6d
Revert changes to the synthetic-points example
...
These changes were made for testing WebGL. We now have specific examples for WebGL point.
2014-11-21 15:15:06 +01:00
Éric Lemoine
336de4b1b1
Revert changes to the icon example
...
The changes were made for testing WebGL, and we now have specific examples for WebGL point.
2014-11-21 15:13:51 +01:00
Éric Lemoine
34953e8266
No need to mention WebGL in draw-feature example
2014-11-21 15:12:26 +01:00
Éric Lemoine
fd9db053c0
Use ol WebGL infrastructure in WebGL replay
2014-11-21 11:39:47 +01:00
Éric Lemoine
1e12e7ca90
Remove unused WebGL related code
2014-11-21 10:51:00 +01:00
Éric Lemoine
05f71383f9
Fix assert in WebGL replay
2014-11-21 09:33:45 +01:00
Éric Lemoine
7c88329354
Use 50000 features in the WebGL vector examples
2014-11-20 16:39:25 +01:00
Éric Lemoine
2f7c97f25a
Use OES_element_index_uint when available
2014-11-20 16:39:25 +01:00
Éric Lemoine
2b2f745248
Add ol.ext to hosted dir
2014-11-14 00:16:28 +01:00
Éric Lemoine
344658edb0
Fix compile warning
2014-11-10 17:24:29 +01:00
Éric Lemoine
46e436b599
Minor refactoring to WebGL image replay func
2014-11-10 17:19:31 +01:00
Éric Lemoine
d9a4482393
Add ol.renderer.webgl.VectorLayer#disposeInternal
...
Implement disposeInternal to free WebGL resources (deleteBuffer and deleteTexture).
2014-11-10 16:52:32 +01:00
Éric Lemoine
501e7456c0
Merge remote-tracking branch 'upstream/master' into webgl-point-merge
2014-11-10 15:40:03 +01:00
Éric Lemoine
87865be9f4
Add "color" support to WebGL image replay
...
This adds support for layer brightness, contrast, hue, saturation.
2014-11-10 15:00:35 +01:00
Éric Lemoine
240f425c46
Add global opacity support to WebGL image replay
...
vectorLayer.setOpacity() now works as expected.
2014-11-10 14:58:57 +01:00
Éric Lemoine
1de46c68d7
Use "discard" in image shader
...
This leads to better looking Timeline profiles in Chrome's developer tools!
2014-11-10 14:58:56 +01:00
Éric Lemoine
96f8a806a6
Improvement to view docs
2014-11-10 12:48:43 +01:00
Éric Lemoine
fb816b7ab5
Fix texture coordinates in WebGL image replay
2014-11-10 12:30:59 +01:00
Éric Lemoine
a2cf5b0889
Add unit tests for WebGL image replay
2014-11-10 11:02:32 +01:00
Éric Lemoine
c79f3aa101
Delete WebGL buffers
2014-11-10 09:54:04 +01:00
Éric Lemoine
f32c550dbe
Better docs for handleMapBrowserEvent
2014-11-09 22:08:29 +01:00
Éric Lemoine
bdeb195bfb
Add finishDrawing to API
...
This makes it posssible to programmatically finish drawing.
2014-11-09 20:50:36 +01:00
Éric Lemoine
583f47d24d
No need to pass event to finishDrawing_
2014-11-09 20:49:52 +01:00
Éric Lemoine
97dafa6425
Some explanation to the icon-sprite-webgl example
2014-11-07 18:50:56 +01:00
Éric Lemoine
73e76fe468
Add an assertion to avoid compile error
2014-11-07 16:48:29 +01:00
Éric Lemoine
3268b20333
Make icon-sprite-webgl example usable with Canvas
2014-11-07 10:57:59 +01:00
Éric Lemoine
e0c5e742ad
Use 30000 points in icon-sprite-webgl example
2014-11-07 10:52:05 +01:00
Éric Lemoine
0a364b32ed
Use LINEAR for icon textures
2014-11-07 10:49:58 +01:00
Éric Lemoine
c0acc8d825
Add comment describing the vertices sent to GPU
2014-11-07 09:59:56 +01:00
Éric Lemoine
0c6a40f5b5
Support image rotateWithView
2014-11-06 17:16:58 +01:00
Éric Lemoine
fb24c68b9c
Support image rotation
2014-11-06 15:27:25 +01:00
Éric Lemoine
43756a2d59
Support image scale
2014-11-06 09:47:24 +01:00
Éric Lemoine
64a7cdf372
Implement getImageSize in ol.style.Circle and RegularShape
2014-11-06 09:35:47 +01:00
Éric Lemoine
9029c0fdad
Use replay maxExtent center as the coord system origin
2014-11-06 09:24:47 +01:00
Éric Lemoine
8415a0c8ba
Fix type for image replay origin
2014-11-04 08:48:43 +01:00
Éric Lemoine
28e51740c6
Address precision/jitter problems
...
Address precision/jitter problems by using coordinates relative to the Replay max extent rather that the world.
2014-11-03 17:45:50 +01:00
Éric Lemoine
209d39a460
Support image opacity
2014-11-03 16:50:33 +01:00
Éric Lemoine
05bbfd58a8
Support image anchor
2014-11-03 15:40:00 +01:00
Éric Lemoine
46b03e79a4
Merge remote-tracking branch 'upstream/master' into webgl-point
2014-11-03 15:02:22 +01:00
Éric Lemoine
2c92d9a709
Fix drawElement call
2014-11-03 14:54:41 +01:00
Éric Lemoine
14d7f2a797
Delete ImageReplay textures
2014-11-03 14:16:32 +01:00
Éric Lemoine
4534bb8861
Make shaders closer to WebGL image replay
2014-11-03 13:46:34 +01:00
Éric Lemoine
6eea0a1fc6
Improved docs for icon options
2014-10-31 17:16:04 +01:00
Éric Lemoine
495a7c95a1
Clearer comment
2014-10-31 15:42:52 +01:00
Éric Lemoine
64bc8f74be
Better typing, fewer arrays
2014-10-31 15:41:25 +01:00
Éric Lemoine
8bff6a1abe
Flatten the WebGL replay class hierarchy
2014-10-31 15:23:50 +01:00
Éric Lemoine
f332cdacf1
Add an icon sprite webgl example
2014-10-31 11:17:24 +01:00
Éric Lemoine
9201312737
Add support for icon sprites
2014-10-31 11:16:51 +01:00
Éric Lemoine
6fe80c4111
Use correct layer property names
2014-10-28 14:22:27 +01:00
Éric Lemoine
1f54b33961
Add wrapX option to TileJSON source
2014-10-27 17:23:00 +01:00
Éric Lemoine
dc7aee1974
Use ternary notation
2014-10-27 17:22:17 +01:00
Éric Lemoine
bbea205a9c
Use texture to draw points with WebGL
2014-10-27 09:18:19 +01:00
Éric Lemoine
2ecd2eadf7
Remove snap code from synthetic-points example
2014-10-27 09:18:19 +01:00