Commit Graph

12208 Commits

Author SHA1 Message Date
ahocevar
8bfa0f7ae9 Truthy check is enough 2013-12-16 13:53:55 +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
Frédéric Junod
9bca7b1509 Merge pull request #1388 from fredj/mapguide-cleanup
Mapguide cleanup
2013-12-16 03:49:25 -08: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
Frederic Junod
355c0a1017 Scale output canvas by devicePixelRatio 2013-12-16 12:15:00 +01:00
Frederic Junod
bd1107f785 Add devicePixelRatio to ol.FrameState 2013-12-16 12:15:00 +01:00
Frederic Junod
01a246ca72 Add devicePixelRatio option to ol.Map constructor 2013-12-16 12:15:00 +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
Frederic Junod
b381536b2a Add ol.source.MapGuide.getScale function 2013-12-16 10:31:54 +01:00
Frederic Junod
ede84739c4 Add displayDpi option to ol.source.MapGuide constructor 2013-12-16 09:58:27 +01:00
Frederic Junod
59e04c5371 Use ol.extent.* functions in ol.source.MapGuide 2013-12-16 09:53:28 +01:00
Éric Lemoine
88956c9f5c Merge pull request #1372 from elemoine/vector-api-layer-group
[vector-api] Fix forEachFeatureAtPixel bug
2013-12-15 02:09:44 -08:00
Tim Schaub
ec7fea090b Remove ol.geom.GeometryEvent
This removes geometry specific change events.  Since geometries are mere observables, we only get generic change events.  To minimize changes in other places, as a workaround, we cache geometry bounds on features.  This is not the way things should be long term, but the objective is to remove the geometry specific event.
2013-12-13 16:02:51 -07: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
Tom Payne
a7175ae366 Merge pull request #1376 from twpayne/vector-api-simplify-schaub
[vector-api] Schaub simplification
2013-12-13 13:55:15 -08:00
Tom Payne
464bcce6a5 Merge pull request #1380 from twpayne/vector-api-format-projection
[vector-api] Don't assume EPSG:4326 in ol.format
2013-12-13 13:54:09 -08:00
Tim Schaub
5caa0eb659 Geometries inherit from ol.Observable
Because ol.Observable is now a struct, we have stricter type checking (hence the extra assertions).
2013-12-13 14:18:10 -07:00
Tom Payne
ae7d5ab9d5 Merge pull request #1351 from twpayne/openseamap
Add crossOrigin option to ol.source.OSM options
2013-12-13 13:18:08 -08:00
Tom Payne
aa10a542ae Add OpenSeaMap layer to localized-openstreetmap example 2013-12-13 22:05:08 +01:00
Tom Payne
46f63f1358 Add crossOrigin option to ol.source.OSM options 2013-12-13 22:02:56 +01:00
Tom Payne
d46d3a209e Don't assume EPSG:4326 in ol.format.XML 2013-12-13 21:43:11 +01:00
Tom Payne
c86d7c40e2 Don't assume EPSG:4326 in ol.format.Text 2013-12-13 21:42:38 +01:00
Tom Payne
700ebb860a Don't assume EPSG:4326 in ol.format.Format 2013-12-13 21:42:25 +01:00
Tom Payne
e6becd3e92 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 21:35:29 +01:00
Tom Payne
f1efb502ca Merge pull request #1379 from twpayne/observable-struct
Make ol.Observable and ol.Object @structs
2013-12-13 12:33:40 -08:00
Tom Payne
91197b5537 Merge pull request #1369 from gjn/dev_export_dragbox
[vector-api] Exporting ol.render.DragBox
2013-12-13 12:30:53 -08:00