Éric Lemoine
c0eb7bb1f6
Store raw style values for ImageReplay
2013-11-21 12:15:38 +01:00
Éric Lemoine
5493543c1f
Store raw style values for PolygonReplay
2013-11-21 12:15:37 +01:00
Éric Lemoine
0ccd1ef217
Store raw style values for LineStringReplay
2013-11-21 12:15:37 +01:00
Éric Lemoine
93087c7661
Remove unused ol.style.Text width property
2013-11-20 15:48:11 +01:00
Éric Lemoine
38bc0a28a6
Export ol.style.Style
2013-11-20 15:35:11 +01:00
Éric Lemoine
e783703854
Export ol.style.Text
2013-11-20 15:35:11 +01:00
Éric Lemoine
dc49cc4c2f
Export ol.style.Stroke
2013-11-20 15:35:11 +01:00
Éric Lemoine
3971425677
Export ol.style.Image
2013-11-20 15:35:11 +01:00
Éric Lemoine
6e2f907e09
Export ol.style.Fill
2013-11-20 15:35:11 +01:00
Éric Lemoine
16f3d5879e
Use new ol.style in vector-layer example
2013-11-20 15:35:11 +01:00
Éric Lemoine
7d9b09b4ac
Use new ol.style in synthetic-lines example
2013-11-20 15:35:11 +01:00
Éric Lemoine
ddb2786394
Use new ol.style in synthetic-data example
2013-11-20 15:35:11 +01:00
Éric Lemoine
6db824baa4
Use new ol.style in rtree example
2013-11-20 15:35:10 +01:00
Éric Lemoine
602fd7f13a
Use new ol.style in geojson example
2013-11-20 15:35:10 +01:00
Éric Lemoine
db7ce8e657
Use new ol.style in dynamic-data example
2013-11-20 15:35:10 +01:00
Éric Lemoine
644748860b
Remove the previous ol.style types and functions
2013-11-20 15:35:10 +01:00
Éric Lemoine
efba141bf0
Do not use default style function
2013-11-20 15:35:10 +01:00
Éric Lemoine
ddacc0aabd
Use new ol.style in ol.shape.renderCircle
2013-11-20 15:35:10 +01:00
Éric Lemoine
1e7266f6b5
Use new ol.style in ol.render.canvas.Replay
2013-11-20 15:35:10 +01:00
Éric Lemoine
e535a8360f
Use new ol.style in ol.render.canvas.Immediate
2013-11-20 15:35:10 +01:00
Éric Lemoine
fd0ef8f238
Use new ol.style in ol.render.DragBox
2013-11-20 15:35:10 +01:00
Éric Lemoine
cef2cac0d3
Add ol.style.Text constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
f1d67f69c3
Add ol.style.Stroke constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
22fa0e305a
Add ol.style.Image constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
f38054d737
Add ol.style.Fill constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
1cfd185355
Add ol.style.Style constructor
2013-11-20 15:35:09 +01:00
Éric Lemoine
c217c95e6d
Add a WebGL layer clipping example
2013-11-20 11:45:25 +01:00
Éric Lemoine
215344af71
Set stencil to true in webgl context
2013-11-20 11:45:25 +01:00
Éric Lemoine
93aef958e9
Move arrayBuffer_ to layer renderer
2013-11-20 11:45:25 +01:00
Éric Lemoine
1c03886e1c
Rename arrayBuffer_ to renderArrayBuffer_
2013-11-20 11:45:25 +01:00
Éric Lemoine
eead07b0bb
Fire pre and postcompose events from webgl map
2013-11-20 11:45:25 +01:00
Éric Lemoine
8d191ca4b8
Fire pre and postcompose events from webgl layers
2013-11-20 11:45:25 +01:00
Éric Lemoine
478f8c43ca
ol.render.Event take an ol.webgl.Context object
2013-11-20 11:45:24 +01:00
Éric Lemoine
325534aa46
Fire precompose events from map
2013-11-20 11:45:24 +01:00
Éric Lemoine
4090b3f8b1
Phantomjs does not have requestAnimationFrame
2013-11-20 11:44:49 +01:00
Éric Lemoine
6493998a22
Add a synthetic-lines example
2013-11-20 11:44:49 +01:00
Éric Lemoine
b698c5bf7b
Add a layer clipping example
2013-11-20 11:44:47 +01:00
Éric Lemoine
2073d78582
Fire precompose events from layers
2013-11-20 11:44:47 +01:00
Éric Lemoine
c0e1c7051b
Add display-frame-rate.js script
2013-11-20 11:44:45 +01:00
Éric Lemoine
60ef4f214e
Rename symbol to shape
2013-11-20 11:44:45 +01:00
Éric Lemoine
0d84befe83
Add synthetic-data example
2013-11-20 11:39:18 +01:00
Éric Lemoine
0c9f7eb616
Use experimental canvas vector layer renderer
2013-11-20 11:39:16 +01:00
Éric Lemoine
4b9642f4b1
Experimental canvas vector layer renderer
2013-11-20 11:36:28 +01:00
Éric Lemoine
d81fe5ac95
Map browser event handler refactoring
...
This commit refactors the code of the map browser event handler. The changes are the following:
Previously the `handleTouch*_` listener functions handled both `touch*` and `mspointer*` events. With this commit we use per-event type listeners. This duplicates some code (could be avoidable), but makes it easier to introduce mouse/touch/pointer specific treatments in the future.
We now listen to pointermove, pointerup, touchmove and touchend only when needed. In this way we're assured that a `down` event was received (and that `this.down_` is set) when the `up` or `move` listeners are called. This fixes the bug @oterral reported on the mailing list: https://groups.google.com/d/msg/ol3-dev/jR844F7Nlg8/eN9dt4uATK0J .
To avoid problems in browsers that trigger different types of events (e.g. both mouse and pointer events) the `down` listeners unregister the other `down` listeners. For example, the `pointerdown` listener unregisters the `mousedown` and `touchstart` listeners, for ever.
2013-10-31 13:35:01 +01:00
Éric Lemoine
8402eee0c3
Map "click" event renamed to "singleclick"
...
As discussed with @tschaub in #1195 .
2013-10-31 09:37:16 +01:00
Éric Lemoine
2c930d74b5
clickOnly condition checks map clicks
2013-10-30 13:17:12 +01:00
Éric Lemoine
6ab88aad72
Add tests for emulated clicks
2013-10-30 13:16:09 +01:00
Éric Lemoine
0fa66cc7e7
Remove mousedown listener on first touchstart
2013-10-30 13:16:09 +01:00
Éric Lemoine
9f7ead5ef4
Remove unused ol.MapBrowserEventHandler#relayEvent_ func
2013-10-30 13:16:09 +01:00
Éric Lemoine
a85b82090d
Emulate click events only on mouse "action"
...
`click` events are fired only if the mouse action button is pressed. This prevents `click` events from being fired when the middle mouse button is used.
Also, without this commit, in Chrome with emulated touch events enabled, double-clicking the map doesn't zoom the map. This is because `ol.BrowserFeature.HAS_TOUCH` is `false` in that environment. The commit fixes it by testing `isMouseActionButton` on mouse devices only.
2013-10-30 13:16:09 +01:00
Éric Lemoine
0c212fdcb5
Emulated click events on mouse devices
...
The map already emits emulated `click` and `dblclick` events on touch and pointer devices. With this commit the map emits emulated `click` and `dblclick` events on mouse devices as well.
2013-10-30 13:16:09 +01:00
Éric Lemoine
16b817b830
Overlay stopEvent and insertFirst default to true
2013-10-30 09:49:38 +01:00
Éric Lemoine
c065282243
Stop mspointer events
...
Stop mspointerup and mspointerdown events reaching the "stop event" overlay container.
2013-10-21 15:33:12 +02:00
Éric Lemoine
1c890d837e
Unconditonally set the framestate focus
2013-10-18 10:03:59 +02:00
Éric Lemoine
08bad9746b
Do not relay mouseout events
2013-10-18 10:00:53 +02:00
Éric Lemoine
4008ab7f6c
Vector examples display feature info on click again
2013-10-18 09:59:47 +02:00
Éric Lemoine
4c7f30c139
Make overlay container stop touchend and mouseup
2013-10-18 09:59:47 +02:00
Éric Lemoine
70eb5a5f13
Emulate click and dblclick on touch devices
2013-10-18 09:59:47 +02:00
Éric Lemoine
fe3440a83d
Use jQuery to listen to map mousemove in examples
...
This commit also removes the click listener, which was used for touch devices. The click listener will be added back when the lib will correctly handle clicks on touch devices.
2013-10-18 09:59:47 +02:00
Éric Lemoine
938f45a032
Do not relay mousemove events
2013-10-18 09:59:46 +02:00
Éric Lemoine
1c051aa055
Do not relay contextmenu events
2013-10-18 09:59:46 +02:00
Éric Lemoine
69642f9a6d
Export ol.Map#getViewport
2013-10-15 11:33:32 +02:00
Éric Lemoine
4c04c9fa5c
Use getCoordinatePixel in ol.MapBrowserEvent
2013-10-14 15:36:46 +02:00
Éric Lemoine
49e0af5abb
Use getEventPixel in ol.MapBrowserEvent
2013-10-14 15:36:37 +02:00
Éric Lemoine
3aeb4d1584
Export ol.Map#getEventCoordinate
2013-10-14 15:30:23 +02:00
Éric Lemoine
dbdacec6df
Export ol.Map#getEventPixel
2013-10-14 15:30:23 +02:00
Éric Lemoine
c9b1ba51fa
Add ol.Map#getEventCoordinate
2013-10-14 09:43:25 +02:00
Éric Lemoine
406207213f
Add ol.Map#getEventPixel
2013-10-14 09:43:11 +02:00
Éric Lemoine
036dee55a9
Revert "Always set CLOSURE_NO_DEPS to true"
...
This reverts commit aa5a571ab1 .
2013-10-10 09:26:37 +02:00
Éric Lemoine
5c5fcb7e06
Use @exportSymbol for exporting ol.webgl.SUPPORTED
...
For consistency with the way we export ol.DeviceOrientation.SUPPORTED and ol.Geolocation.SUPPORTED.
2013-09-28 22:47:25 +02:00
Éric Lemoine
925b5d285a
Fix export for ol.DeviceOrientation.SUPPORTED
2013-09-28 22:44:59 +02:00
Éric Lemoine
43561c302e
Fix export for ol.Geolocation.SUPPORTED
2013-09-28 22:44:35 +02:00
Éric Lemoine
b2c336c29e
Use typedef in source code for SourceOptions
2013-09-23 17:53:43 +02:00
Éric Lemoine
aa5214d3a1
Add an "accessible" example
2013-09-16 22:51:57 +02:00
Éric Lemoine
b81a4e875b
Remove noModifierKeys condition for keyboad zoom
...
Refs #917 . With the key hanler now attached to the map target by default we can remove the noModifierKeys condition for the keyboard zoom interaction. This will prevent the back button shortcut (alt + <back arrow>) to work, but it's ok, the map is focused so it's the one with the highest priority.
2013-09-16 22:51:44 +02:00
Éric Lemoine
f863ee9e37
Attach key handler to map target
2013-09-16 22:43:26 +02:00
Éric Lemoine
4990c797d1
WMTS tiles touching the extent are excluded
2013-09-16 15:53:13 +02:00
Éric Lemoine
832be21c0f
WMS tiles touching the extent are excluded
2013-09-16 15:52:52 +02:00
Éric Lemoine
70c66d4cf1
Add ol.extent.touches
2013-09-16 15:51:12 +02:00
Éric Lemoine
009172951c
WebGL image layer tests require the common proj
2013-09-15 10:37:22 -06:00
Éric Lemoine
ecd82297a0
Better setup/teardown for ol.proj tests
2013-09-15 10:37:01 -06:00
Éric Lemoine
8301b01395
Remove ol.Object#bindTo noNotify option
2013-09-13 16:46:49 +02:00
Éric Lemoine
ba3f97d50a
Change the interaction condition signature
2013-09-12 18:08:01 +02:00
Éric Lemoine
78a3ac46dd
Rename options type for ol.source.TileImage
2013-09-11 18:28:03 +02:00
Éric Lemoine
7db1b4b337
Rename file for ol.source.TileImage
2013-09-11 18:28:03 +02:00
Éric Lemoine
762fed6f8d
Change Tiled to Tile in a comment
2013-09-10 09:41:38 +02:00
Éric Lemoine
8a7e13a50c
Rename tiledwmssource.js to tilewmssource.js
2013-09-10 09:41:38 +02:00
Éric Lemoine
31cc1f5541
More robust coordinate keys for WMTS and TiledWMS
...
This uses more robust ZXY coordinate keys, and caches the key to avoid creating garbage each time getKeyZXY is called.
2013-09-09 17:01:38 +02:00
Éric Lemoine
0823ee4ad3
Add getDimensions/updateDimensions to WMTS
2013-09-09 17:00:05 +02:00
Éric Lemoine
02a285665b
Remove unneeded FIXME
2013-09-07 23:50:15 +02:00
Éric Lemoine
e01344f0da
Be stricter with types in WMTS
2013-09-07 23:50:01 +02:00
Éric Lemoine
3036ee01ad
Be stricter with types in BingMaps
2013-09-07 23:49:37 +02:00
Éric Lemoine
1e308e34f9
Stricter type def for ol.TileUrlFunctionType
2013-09-07 23:32:38 +02:00
Éric Lemoine
30acfc20c3
Stricter type def for ol.ImageUrlFunctionType
2013-09-07 23:32:30 +02:00
Éric Lemoine
fe1f10e797
No need for ol.Map#target_
2013-09-04 12:08:15 +02:00
Éric Lemoine
d68f411e82
Add doc for ol.Collection#getArray
2013-09-02 18:24:07 +02:00
Éric Lemoine
52c58721e1
export ol.Map.prototype.getControls
2013-09-02 14:17:23 +02:00
Éric Lemoine
7e25ecb3dc
Remove map from OverlayOptions
2013-09-02 14:15:11 +02:00
Éric Lemoine
dd4b2e3e88
Add overlay-related methods to ol.Map
2013-09-02 14:12:54 +02:00
Éric Lemoine
7af4cbb75e
Export ol.Collection#getArray
2013-09-02 11:25:52 +02:00