Commit Graph

4586 Commits

Author SHA1 Message Date
Éric Lemoine 63bcf684f7 Fix the touch interactions
This fixes a bug introduced by https://github.com/openlayers/ol3/commit/318fc6815901380bdc7c9d1921cb5a9cc1e6e2ff.  Thanks @gjn for reporting the problem.
2014-01-30 09:13:03 +01:00
Tom Payne 9c91cb4fe4 Use event properties in ol.interaction.Select 2014-01-29 15:40:53 +01:00
Tom Payne 21e960d6a5 Merge pull request #1613 from twpayne/select-interaction
Port ol.interaction.Select
2014-01-29 06:32:33 -08:00
Tom Payne 86a4cad37e Merge pull request #1602 from twpayne/configurable-rotation-constraints
Configurable rotation constraints
2014-01-29 06:32:14 -08:00
Tom Payne d4db171a3c Merge pull request #1588 from twpayne/event-properties
Use properties, not get* methods, in events
2014-01-29 06:23:30 -08:00
Tom Payne 3196afb4c7 Add constrainRotation option to ol.View2D 2014-01-29 15:13:52 +01:00
Tom Payne 2b71154bb2 Add ol.interaction.Select 2014-01-29 15:12:53 +01:00
Tom Payne 318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Éric Lemoine d49d96d651 Add comments for the canvasFunction option 2014-01-28 21:36:32 +01:00
Éric Lemoine 0eb72667c9 Add comments for setStyleFunction 2014-01-28 21:35:38 +01:00
Éric Lemoine ea22feed99 Export ol.Observable#dispatchChangeEvent 2014-01-28 20:57:15 +01:00
Tom Payne 6bc11142e8 Ensure that entire extent is visible in ol.View2D#fitExtent 2014-01-28 19:48:40 +01:00
oterral 63c321b980 Lets ol.style.Icon to define default values 2014-01-28 13:30:11 +01:00
Tom Payne 60a34ca1ea Add olx.* namespaces for jsdoc 2014-01-27 16:48:13 +01:00
Tom Payne 390b61762e Convert ol.DrawEvent#getFeature method into feature property 2014-01-27 15:54:00 +01:00
Tom Payne ec81a77cdb Convert ol.source.VectorEvent#getFeature method into feature property 2014-01-27 15:54:00 +01:00
Tom Payne df0912bdd3 Convert ol.render.Event#get* methods into properties 2014-01-27 15:54:00 +01:00
Tom Payne 37351c530c Convert ol.ObjectEvent#getKey method into key property 2014-01-27 15:53:58 +01:00
Tom Payne 45350a34ed Convert ol.interaction.DragAndDropEvent#get* methods into properties 2014-01-27 15:52:03 +01:00
Tom Payne 3d68a3550e Convert ol.CollectionEvent#getElement method into element property 2014-01-27 15:52:03 +01:00
Bart van den Eijnden 498d05a44c remove question mark since all object properties are nullable by default 2014-01-27 15:22:25 +01:00
Bart van den Eijnden 2fc884a3d9 simplify the assignment of this.target_ 2014-01-27 15:22:25 +01:00
Bart van den Eijnden e6c4fd973a allow target to be specified as a string for controls, update the documentation to make more clear what element and target are for 2014-01-27 15:22:25 +01:00
Tom Payne 07a717d967 Add enableRotation option to ol.View2D 2014-01-27 14:52:42 +01:00
Tom Payne 0a5ab24a0c Add ol.RotationConstraint.disable 2014-01-27 14:49:08 +01:00
Tom Payne 5ff2fcacb8 Snap rotation when within 5 degrees instead of 0.1 radians 2014-01-27 14:39:40 +01:00
Éric Lemoine b8b93d3349 Merge pull request #1595 from elemoine/icon-hit-detection
Hit detect circle points with no fill
2014-01-27 05:35:17 -08:00
Éric Lemoine 1dfe571b76 Vector renderer uses the layer revision 2014-01-27 14:08:19 +01:00
Frederic Junod 80bb95e553 Trigger a render in ol.Control#setMap
Closes #1525
2014-01-27 13:34:20 +01:00
Éric Lemoine 797b220b6c Hit detect circle points with no fill 2014-01-24 17:39:57 +01:00
Félix Sipma de2c8e9c8a Export ol.Map#getCoordinateFromPixel 2014-01-24 15:18:43 +01:00
Frederic Junod 295d4fbaa3 Use ol.format.XSD.readDecimal in ol.format.KML 2014-01-23 16:35:39 +01:00
Frederic Junod 271caef342 Better ol.format.XSD.* documentation 2014-01-23 16:35:38 +01:00
Frederic Junod 64ccfdc805 Add exponent support in ol.format.XSD.readDecimal 2014-01-23 16:14:55 +01:00
Frederic Junod 7b09e04001 Rename ol.format.KML.readscale_ to ol.format.KML.readScale_ 2014-01-23 16:14:55 +01:00
Frederic Junod 401acc77f3 Remove unneeded 'ms' param from Date.UTC function 2014-01-23 16:14:50 +01:00
Frederic Junod 9fe5eff865 Use ol.format.XSD.readBoolean in ol.format.KML 2014-01-23 10:55:02 +01:00
Frederic Junod cb25267341 Add ol.format.XSD.readBoolean function 2014-01-23 10:54:40 +01:00
Frederic Junod 827ae44a5f Use ol.format.XSD.readString in ol.format.KML 2014-01-23 10:43:47 +01:00
Frédéric Junod 996f193deb Merge pull request #1578 from fredj/exports
Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols
2014-01-22 08:53:54 -08:00
Tom Payne 518571a031 Merge pull request #1561 from oterral/vector-api-dblclick
Draw: Finish Polygon on last point like LineString
2014-01-22 08:46:46 -08:00
Tom Payne 89a0208904 Merge pull request #1577 from twpayne/drag-and-drop-add-features
Make ol.interaction.DragAndDrop fire an 'addfeatures' event
2014-01-22 08:37:19 -08:00
Tom Payne 6cb02724da Make ol.interaction.DragAndDrop fire an event instead of managing layers and sources 2014-01-22 17:26:47 +01:00
Frederic Junod ffe1ad5fe3 Remove ol.DragBoxEvent, ol.DrawEvent, ol.ObjectEvent, ol.source.VectorEvent symbols
These objects will never be constructed by the application
2014-01-22 17:20:42 +01:00
Éric Lemoine c358cb7cfe Merge pull request #1571 from elemoine/color
Correctry handle color cache size
2014-01-22 06:10:59 -08:00
Éric Lemoine 9a68f27eae Correctry handle color cache size 2014-01-22 10:17:15 +01:00
oterral cbe1650c79 Finish polygon drawing on last point 2014-01-22 09:55:55 +01:00
Frederic Junod c12cb94cf3 Export ol.Map#getPixelFromCoordinate 2014-01-22 09:06:16 +01:00
Tom Payne 913038a124 Merge pull request #1560 from twpayne/hide-oriented-rings
Hide oriented rings
2014-01-21 11:40:40 -08:00
Tim Schaub 0971dad122 Merge pull request #1569 from tschaub/geojson-todo
Add reminder to remove workaround when GeoServer GeoJSON issue is fixed.
2014-01-21 09:18:29 -08:00