Commit Graph

12240 Commits

Author SHA1 Message Date
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
Gilbert Jeiziner
dbec07396e Exporting ol.render.DragBox 2013-12-13 21:22:01 +01:00
Tom Payne
b179a27ade Rename ol.geom.simplify.schaub to quantize 2013-12-13 20:51:54 +01:00
Tom Payne
90e44c3979 Make ol.Observable a @struct 2013-12-13 20:44:10 +01:00
Tom Payne
d63fec80d1 Use goog.object.get to suppress compiler warning about use of [] with struct 2013-12-13 20:36:32 +01:00
Tom Payne
6e3bcc7478 Make ol.Object#listeners_ a private renameable property 2013-12-13 20:35:27 +01:00
Tom Payne
b48fd51561 Make ol.Object#accessors_ a private renameable property 2013-12-13 20:34:56 +01:00
Frédéric Junod
a841c92053 Merge pull request #1378 from fredj/apidoc
Minor apidoc updates
2013-12-13 11:23:00 -08:00
Tom Payne
b59eec7a83 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 20:22:06 +01:00
Tom Payne
b242756f03 Merge pull request #1377 from twpayne/struct
Improve type checking with @struct
2013-12-13 10:39:21 -08:00
Tom Payne
fdbb9f8d9e Fix type errors in vector-layer-sld example 2013-12-13 19:30:11 +01:00
Tom Payne
4470480dc9 Improve use of view in device-orientation example 2013-12-13 19:27:52 +01:00
Tom Payne
ee2098743d Correct types in ol.layer.Group 2013-12-13 19:16:31 +01:00
Tom Payne
e96d56215b Add typecasts so examples compile 2013-12-13 19:16:05 +01:00
Frederic Junod
f5ba373208 Minor apidoc updates 2013-12-13 19:02:21 +01:00
Tom Payne
59779bdcc5 Correct return types of ol.layer.Base methods 2013-12-13 18:59:26 +01:00
Tom Payne
d19ce18a31 Fix return type of ol.Map#getView 2013-12-13 18:59:26 +01:00
Tom Payne
9dc3dc6c11 Make ol.renderer.Layer a @struct 2013-12-13 18:59:26 +01:00
Tom Payne
a11c64934c Make ol.renderer.Map a @struct 2013-12-13 18:59:26 +01:00