Commit Graph

12157 Commits

Author SHA1 Message Date
Tom Payne 4667dec7c3 Rename devicePixelRatio to pixelRatio in ol.FrameState 2014-01-15 09:46:27 +01:00
Tom Payne 50a322208a Merge pull request #1514 from twpayne/vector-api-circle
[vector-api] Add ol.geom.Circle
2014-01-14 03:46:48 -08:00
Tom Payne da31e62199 More efficient ol.geom.Circle#closestPointXY, thanks @tschaub 2014-01-14 12:34:47 +01:00
Tom Payne 99eca3037d Encode ol.geom.Circles as empty geometry collections in GeoJSON
GeoJSON does not support circles, nor null geometries.  Empty geometry
collections seem to be the way to represent at null geometry in GeoJSON.
2014-01-14 12:34:47 +01:00
Tom Payne 5886d0dec0 Add FIXME to geolocation example 2014-01-14 12:34:47 +01:00
Tom Payne f0d9a451e5 Add an ol.geom.Circle to geojson example 2014-01-14 12:34:47 +01:00
Tom Payne 8dde621e61 add ol.render.vector.renderCircleGeometry_ 2014-01-14 12:34:47 +01:00
Tom Payne 825c5290f6 Add ol.render.canvas.PolygonReplay#drawCircleGeometry 2014-01-14 12:34:46 +01:00
Tom Payne 5052bef4a5 Add ol.replay.canvas.Instruction.CIRCLE 2014-01-14 12:34:46 +01:00
Éric Lemoine e76ec3b292 Merge pull request #1504 from elemoine/vector-api-image-vector-hit-detection
[vector-api] Vector image hit detection
2014-01-14 03:33:47 -08:00
Tom Payne a8f5dff9cf Add ol.render.canvas.Immediate#drawCircleGeometry 2014-01-14 12:32:31 +01:00
Tom Payne 5df47634f3 Add ol.render.webgl.Immediate#drawCircleGeometry 2014-01-14 12:32:31 +01:00
Tom Payne b2b74a5ee6 Add ol.render.IRender#drawCircleGeometry 2014-01-14 12:31:50 +01:00
Tom Payne 3647f13e2e Add ol.geom.Circle 2014-01-14 12:31:50 +01:00
Tom Payne 9050746d58 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-14 12:28:37 +01:00
Éric Lemoine 542cf80da9 Better typing 2014-01-14 12:26:50 +01:00
Éric Lemoine b52b2223a6 Add hit detection to image-vector-layer example 2014-01-14 12:26:50 +01:00
Éric Lemoine 6c30710d0c Add ol.renderer.webgl.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine a15bacd963 Add ol.renderer.dom.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine ee17babc05 Add ol.renderer.canvas.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine 849e50517c Add ol.source.ImageVector#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine 4cd2a75900 Add ol.source.Source#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine f7be1c155e Hit detection refactoring
Get the frame state from the map instead of storing values in the layer renderers.
2014-01-14 12:26:49 +01:00
Tom Payne 006364c791 Merge pull request #1522 from twpayne/vector-api-clean-ups
[vector-api] Miscellaneous clean-ups
2014-01-14 03:26:29 -08:00
Frédéric Junod 69b36e7b7b Merge pull request #1523 from fredj/side-by-side
Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example
2014-01-14 00:52:45 -08:00
Frederic Junod f058d54277 Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example 2014-01-14 09:46:02 +01:00
Tom Payne 474b4a444b Use a switch statement, rather than ifs, in ol.render.canvas.Replay 2014-01-13 18:17:38 +01:00
Tom Payne 54e1fd3a41 Use @inheritDoc in ol.render.webgl.Immediate 2014-01-13 18:11:06 +01:00
Tom Payne 3835c299b5 Remove unnecessary typecasts
goog.asserts.assertInstanceof is sufficient for the compiler to deduce
the type.
2014-01-13 18:10:32 +01:00
Tim Schaub 6948fc4318 Merge pull request #1507 from tschaub/update-closure-util
Update closure util.
2014-01-13 09:00:12 -08:00
Tom Payne 610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Tom Payne 2f2b6dd510 Merge pull request #1511 from twpayne/powered-by-ol3
Add ol3 logo by default
2014-01-13 07:00:09 -08:00
Éric Lemoine 8b38639082 Merge pull request #1520 from elemoine/vector-api-hidpi-hit-detection
[vector-api] Fix hit detection on retina displays
2014-01-13 06:40:42 -08:00
Tom Payne 3f851ad392 Use compressed logo URL 2014-01-13 14:45:13 +01:00
Tom Payne 6e43692440 Add optimized 32x32 pixel logo 2014-01-13 14:38:16 +01:00
Tom Payne 36dc0b88e1 Add 32x32 pixel logo image 2014-01-13 14:37:13 +01:00
Tom Payne b7e906fe09 Add ol3Logo option to ol.Map 2014-01-13 14:29:41 +01:00
Tom Payne e4b815d4d6 Add optional URL for logos 2014-01-13 14:20:24 +01:00
Éric Lemoine ffcd4e8cc2 Fix hit detection on retina displays 2014-01-13 14:10:51 +01:00
Frédéric Junod 932bc36d7a Merge pull request #1518 from fredj/vector-api-1503
[vector-api] Add encoding param to goog.fs.FileReader.readAsText
2014-01-13 05:04:02 -08:00
Frédéric Junod 9aba98797a Merge pull request #1516 from fredj/vector-api-source-observable
Make ol.source.Source inherit from Observable
2014-01-13 05:03:47 -08:00
Frederic Junod 79c8f17e83 Add encoding param to goog.fs.FileReader.readAsText
This is a workaround for https://code.google.com/p/closure-library/issues/detail?id=524
2014-01-13 13:51:09 +01:00
Frederic Junod e9db2eefb9 Make ol.source.Source inherit from Observable 2014-01-13 10:57:34 +01:00
Frédéric Junod 164170e593 Merge pull request #1517 from fredj/vector-api-drawinteraction-cleanup
[vector-api] drawinteraction cleanup
2014-01-13 01:56:01 -08:00
Frederic Junod f68631d61c Use goog.asserts.assertInstanceof to check the getSource return type
See 1499af397d
2014-01-13 10:29:29 +01:00
Frederic Junod f5ce88789e Use goog.isNull in if statements 2014-01-13 10:28:42 +01:00
Frédéric Junod 15b649ecd4 Merge pull request #1515 from fredj/vector-api-const-annotation
[vector-api] Create 'type' annotation for 'const' variables
2014-01-13 00:45:21 -08:00
Frederic Junod b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
Éric Lemoine 752ac584b0 Merge pull request #1513 from elemoine/vector-api-docs
[vector-api] ol.source.ImageVector improvements
2014-01-12 22:59:23 -08:00
Éric Lemoine babd133cf6 Export ol.source.ImageVector's styleFunction option 2014-01-13 07:43:02 +01:00