Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 5a39927846 Merge pull request #1427 from twpayne/vector-api-hosted
[vector-api] Miscellaneous fixes for hosted examples
2013-12-20 13:25:35 -08:00
Tom Payne 422966668d Do not put property name on following line
Currently, bin/generate-exports.py will ignore properties whose name is
not on the same line as the @property directive.
2013-12-20 18:30:02 +01:00
Tom Payne e183a2daf1 Don't rely on getResponseXml 2013-12-20 18:01:27 +01:00
Tom Payne d68a88da26 Always return an array of features, even if no features are read 2013-12-20 17:53:46 +01:00
Tom Payne 1a78c17713 Merge pull request #1425 from twpayne/vector-api-kml-gx-track
[vector-api] KML gx:MultiTrack support
2013-12-20 08:27:01 -08:00
Tom Payne 2b51d6af00 Add support for gx:MultiTrack elements 2013-12-20 16:40:53 +01:00
Tom Payne 0bf34a52ff Add ol.geom.MultiLineString#setLineStrings 2013-12-20 16:33:26 +01:00
Tom Payne bd247fa5d7 Add optional parsersNS object to extend 2013-12-20 15:18:52 +01:00
Tom Payne 6532d6e8f8 Merge pull request #1423 from twpayne/vector-api-null-geometries
[vector-api] Handle features with null geometries
2013-12-20 06:17:54 -08:00
Tom Payne 8a7ae264e1 Handle feature's geometries changing to and from null in ol.source.Vector 2013-12-20 14:44:21 +01:00
Tom Payne 4b9451de81 Add extra assertion that feature's geometry is not null 2013-12-20 14:42:08 +01:00
Tom Payne bc36c2a366 Don't attempt to render features will null geometries in ol.renderer.vector.renderFeature 2013-12-20 14:41:37 +01:00
Tom Payne f0b14521a4 Don't attempt to render features will null geometries in ol.render.canvas.Immediate 2013-12-20 14:40:30 +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
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
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
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
Tom Payne e6c66d3678 Add ol.source.Vector#addFeaturesInternal 2013-12-19 14:53:21 +01:00
Tom Payne 387fcfbdb0 Factor out ol.source.Vector#addFeatureInternal 2013-12-19 14:53:21 +01:00
Tom Payne 491482870b Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-19 14:52:47 +01:00
Tom Payne bd35cd89e6 Merge pull request #1415 from twpayne/rbush-clear
Fix bug in ol.structs.RBush#clear
2013-12-19 05:51:12 -08:00
Tom Payne 484c5b2fe3 Fix bug in ol.structs.RBush#clear 2013-12-19 14:22:44 +01:00
Tom Payne fc7c82e86c Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-18 21:01:49 +01:00
Tom Payne 009f9328a8 Use ol.BrowserFeature.HAS_WEBGL in layer-clipping-webgl example 2013-12-18 20:48:58 +01:00
Tom Payne 7cadb6824e Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-18 17:09:19 +01:00
Tom Payne 35be1db6a5 Merge pull request #1409 from twpayne/vector-api-polygon-quantize
[vector-api] Always quantize polygons
2013-12-18 01:10:54 -08:00
Tom Payne 9bc92b2166 Always quantize all polygons 2013-12-17 17:46:43 +01:00
Tom Payne dc69e02438 Pass tolerance to ol.render.canvas.Replay constructors 2013-12-17 17:46:28 +01:00
Tom Payne 76bddcf042 Pass tolerance to ol.render.canvas.ReplayGroup constructor 2013-12-17 17:46:01 +01:00
Tom Payne 1d1dbb08c9 Use stronger instanceof assertion 2013-12-17 12:59:58 +01:00
Tom Payne ed332dba19 Remove whitespace 2013-12-17 12:59:58 +01:00
Tom Payne 1864f204f7 Add ol.format.Polyline#readProjectionFromText 2013-12-17 12:59:58 +01:00
Tom Payne d187849838 Making coding style closer to ol3's in ol.format.Polyline 2013-12-17 12:59:58 +01:00
Tom Payne 3cf87ced1e Port ol.parser.polyline to ol.format.Format 2013-12-17 12:59:58 +01:00
Tom Payne 461a0d0615 Move back ol.parser.polyline 2013-12-17 12:59:57 +01:00
Tom Payne 79ade07fb7 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-17 12:55:36 +01:00
Tom Payne e6d576c421 Merge pull request #1360 from twpayne/vector-api-igc
[vector-api] ol.format.IGC
2013-12-17 03:39:43 -08:00
Tom Payne 45ea10ede2 Remove complex-geometry example 2013-12-17 12:03:59 +01:00
Tom Payne d80c327515 Add IGC example 2013-12-17 12:03:59 +01:00
Tom Payne 856a16b43e Add ol.source.IGC 2013-12-16 20:26:45 +01:00
Tom Payne fde0350414 Add ol.format.IGC 2013-12-16 20:25:49 +01:00
Tom Payne a0b71d22e4 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 17:27:12 +01:00
Tom Payne 50e5ffc8d6 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 14:28:12 +01:00
Tom Payne 83e34bfc8d Merge pull request #1392 from twpayne/bing-uk-maps
Add collinsBart and ordnanceSurvery styles to bing-maps example
2013-12-16 05:21:13 -08:00
Tom Payne ec1ee5538a Add collinsBart and ordnanceSurvery styles to bing-maps example 2013-12-16 14:07:11 +01:00
Tom Payne 58fc453378 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 13:37:11 +01:00
Tom Payne 64824170b4 Merge pull request #1391 from twpayne/rbush-get-extent
Add ol.structs.RBush#getExtent
2013-12-16 04:32:59 -08:00
Tom Payne 64bd0fcbf6 Merge pull request #1390 from twpayne/vector-api-misc-fixes
[vector-api] Miscellaneous vector fixes
2013-12-16 04:09:21 -08:00
Tom Payne fad3251545 Add ol.structs.RBush#getExtent 2013-12-16 13:02:51 +01:00
Tom Payne 4510510477 Handle features with null geometries in ol.source.Vector 2013-12-16 12:47:29 +01:00
Tom Payne 975e0c0576 Add ol.source.Vector#getExtent 2013-12-16 12:47:29 +01:00
Tom Payne 47e2dd53ce Add ol.structs.RBush#getExtent 2013-12-16 12:47:29 +01:00
Tom Payne 5729ebbd79 Add ol.geom.GeometryCollection#isEmpty 2013-12-16 12:47:28 +01:00
Tom Payne 8003c4ba5a Remove ol.format.Format#readStyleFunction 2013-12-16 12:47:28 +01:00
Tom Payne 6a7e688957 Merge pull request #1389 from twpayne/vector-api-hdpi
[vector-api] High DPI (Retina) support for vector layers
2013-12-16 03:36:08 -08:00
Tom Payne 0ddcfb694b Set zoom in vector-layer example to match master 2013-12-16 12:29:57 +01:00
Tom Payne 6f2292588f Scale line widths by pixel ratio in immediate mode 2013-12-16 12:16:03 +01:00
Tom Payne eb84072373 Pass pixel ratio to ol.render.canvas.Immediate constructor 2013-12-16 12:16:03 +01:00
Tom Payne 81c0c37eb9 Simplify geometries to a tolerance of half a device pixel 2013-12-16 12:16:02 +01:00
Tom Payne 20e51a5e34 Pass pixel ratio to ol.renderer.canvas.VectorLayer#renderFeature 2013-12-16 12:15:32 +01:00
Tom Payne 9b1a5f512d Scale line widths by pixel ratio in replay mode 2013-12-16 12:15:31 +01:00
Tom Payne 8304a2c7aa Pass pixel ratio to ol.render.canvas.Replay constructors 2013-12-16 12:15:31 +01:00
Tom Payne 2d0e6fd6bc Pass pixel ratio to ol.render.canvas.ReplayGroup constructor 2013-12-16 12:15:30 +01:00
Tom Payne 8ddd56fdfb Merge pull request #1381 from twpayne/vector-api-feature-style-function
[vector-api] Per-feature styleFunction
2013-12-16 03:07:20 -08:00
Tom Payne ec7d193543 Don't attempt to render features whose style is undefined or null 2013-12-13 22:59:34 +01:00
Tom Payne afdfb92198 Use ol.layer.Vector.defaultStyleFunction by default 2013-12-13 22:59:34 +01:00
Tom Payne c672eca749 Add ol.layer.Vector.defaultStyleFunction 2013-12-13 22:59:34 +01:00
Tom Payne a7d6730259 Add styleFunction property to ol.Feature 2013-12-13 22:59:34 +01:00
Tom Payne ece21e18fe Make options argument to ol.style.Text optional 2013-12-13 22:59:33 +01:00
Tom Payne aae425eb59 Make options argument to ol.style.Stroke optional 2013-12-13 22:59:12 +01:00
Tom Payne f429297a2f Make options argument to ol.style.Image optional 2013-12-13 22:58:50 +01:00
Tom Payne 465e33e170 Make options argument to ol.style.Fill optional 2013-12-13 22:58:28 +01:00
Tom Payne 31cd8da6f6 Make options argument to ol.style.Style optional 2013-12-13 22:58:01 +01:00