Commit Graph

11868 Commits

Author SHA1 Message Date
Antoine Abt 8354400e52 Add dragzoom example, configured with canvas renderer 2013-12-20 15:24:53 +01:00
Antoine Abt c2330b9786 Remove DragZoom from default interactions
As it only works with canvas renderer.
2013-12-20 15:24:53 +01:00
Antoine Abt adfe20dd12 Make DragBox interaction dispatch events
- boxstart/boxend events are dispatched,
- behavior is removed,
- geometry drawn by box render is a simple polygon instead of one with hole.
2013-12-20 15:24:53 +01:00
Antoine Abt 43b8a72e62 Add ol.DragBoxEvent 2013-12-20 15:24:52 +01:00
Antoine Abt 0eb00ba86b Remove dragbox.exports 2013-12-20 11:11:53 +01:00
Éric Lemoine cf8adffdb2 Add style option to DragZoom interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine eb840777e8 Add style option to DragBox interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine 18f9eeab12 No default style in ol.render.Box 2013-12-20 10:21:18 +01:00
Éric Lemoine de329b02d3 Rename drag zoom interaction exports file 2013-12-20 10:21:18 +01:00
Éric Lemoine 0960584cfc Make DragZoom interaction inherit from DragBox 2013-12-20 10:21:18 +01:00
Éric Lemoine 6b305cd146 Add ol.interaction.DragBox 2013-12-20 10:21:18 +01:00
Éric Lemoine 91a61f3152 ol.render.Box refactoring 2013-12-20 10:21:17 +01:00
Éric Lemoine 0724300685 Rename a property 2013-12-20 10:15:54 +01:00
Éric Lemoine 712f451179 Use better type 2013-12-20 10:15:54 +01:00
Éric Lemoine 0b6e1e91c0 ol.render.DragBox renamed to ol.render.Box 2013-12-20 10:15:54 +01:00
Tom Payne e789d9a6fe Merge pull request #1359 from twpayne/vector-api-polyline
[vector-api] Add ol.format.Polyline
2013-12-19 09:15:46 -08:00
Tobias Bieniek 432c6d8af3 Optimize encode 2013-12-19 18:14:10 +01:00
Tom Payne 7de4a9e2cb Merge pull request #1368 from twpayne/vector-api-kml
[vector-api] ol.format.KML
2013-12-19 09:07:43 -08:00
Tom Payne 1a3218266c Add drag-and-drop example 2013-12-19 17:54:13 +01:00
Tom Payne 5c517cde19 Add ol.interaction.DragAndDrop 2013-12-19 17:54:13 +01:00
Tom Payne 33bf2b746f Add ol.format.KML#readName 2013-12-19 17:54:13 +01:00
Tom Payne fd5924dd13 Add kml-earthquakes example 2013-12-19 17:54:12 +01:00
Antoine Abt 2eba705ccc Merge pull request #1356 from tonio/vector-api-multiplegeom
[vector-api] add support for features with multiples geometries
2013-12-19 08:11:52 -08:00
Tom Payne 828c35d239 Use more interesting data in KML example 2013-12-19 17:00:38 +01:00
Tom Payne c859dd0e94 Add kml example 2013-12-19 17:00:38 +01:00
Tom Payne d81efbcd13 Correct styleUrls in example KML data 2013-12-19 17:00:37 +01:00
Tom Payne 782616c1bb Ensure that features in example KML data are visible 2013-12-19 17:00:37 +01:00
Tom Payne cd8a5fbe4d Add kml-timezones example 2013-12-19 17:00:37 +01:00
Tom Payne 904578f694 Add ol.source.KML 2013-12-19 17:00:37 +01:00
Tom Payne 1d8f81d637 Add ol.format.KML 2013-12-19 17:00:37 +01:00
Tom Payne 578699970e Add ol.xml 2013-12-19 17:00:36 +01:00
Tom Payne 07c20c93fc Add ol.format.GeoJSON#getExtensions 2013-12-19 17:00:36 +01:00
Tom Payne befd1fc5f8 Add ol.format.Format#getExtensions 2013-12-19 17:00:36 +01:00
Tom Payne 986f6559b7 Refactor ol.format.XML 2013-12-19 17:00:36 +01:00
Tom Payne af7b410d14 Merge pull request #1417 from twpayne/vector-api-image-rotate-and-scale
[vector-api] Image rotate and scale
2013-12-19 07:41:54 -08:00
Tom Payne bfba52aef4 Add image rotation and scaling to ol.render.canvas.Immediate 2013-12-19 16:26:06 +01:00
Tom Payne fe2f028777 Sort miscellaneous properties and add rotation and scale 2013-12-19 16:26:06 +01:00
Tom Payne b3f77b4d68 Add image rotation and scaling to ol.render.canvas.Replay 2013-12-19 16:26:06 +01:00
Tom Payne c6b961782a Sort miscellaneous properties and add rotation and scale 2013-12-19 16:26:05 +01:00
Tom Payne d82f1f8e02 Add scale to ol.style.IconStyle 2013-12-19 16:26:05 +01:00
Tom Payne 9524a46f41 Add scale to ol.style.Image 2013-12-19 16:26:05 +01:00
Tom Payne 2a6979e15a ol.style.Image rotation is always defined 2013-12-19 16:26:05 +01:00
Frédéric Junod 9bf445c37f Merge pull request #1418 from fredj/vector-api-lineCap
[vector-api] Set default canvas lineJoin and lineCap to 'round'
2013-12-19 07:08:53 -08:00
Frederic Junod 06ba19896c Set default canvas lineJoin and lineCap to 'round' 2013-12-19 15:40:31 +01:00
Tom Payne 8fb729258d Merge pull request #1414 from twpayne/vector-api-add-features
[vector-api] Add ol.source.Vector#addFeatures
2013-12-19 06:30:25 -08:00
Tom Payne 1cb70592d7 Use addFeatures in ol.source.VectorFile 2013-12-19 14:53:22 +01:00
Tom Payne b2c822c9ca Clear null geometry features in ol.source.Vector#clear 2013-12-19 14:53:22 +01:00
Tom Payne f1fac356dd Change ol.source.Vector#removeFeatureInternal from private to protected 2013-12-19 14:53:22 +01:00
Tom Payne 3af6521ee3 Use addFeaturesInternal in ol.source.Vector constructor 2013-12-19 14:53:21 +01:00
Tom Payne 0912c8f6ea Add ol.source.Vector#addFeatures 2013-12-19 14:53:21 +01:00