Commit Graph

4751 Commits

Author SHA1 Message Date
Tom Payne
1df516e14d Use opt_this instead of opt_obj in ol.renderer.Layer 2014-01-15 15:00:34 +01:00
Tom Payne
010f643f8f Use opt_this instead of opt_obj in ol.Map 2014-01-15 14:52:53 +01:00
Tom Payne
4d5a248803 Use opt_this instead of opt_obj in ol.Collection 2014-01-15 14:49:42 +01:00
Tom Payne
176c873830 Use opt_this instead of opt_scope in ol.Observable 2014-01-15 14:49:16 +01:00
Tom Payne
086bb47b8c Merge pull request #1535 from twpayne/vector-api-square-tiles
[vector-api] Only support square tiles
2014-01-15 01:46:34 -08:00
Tom Payne
b95e61cf5c Merge pull request #1534 from twpayne/vector-api-pixel-ratio
[vector-api] Rename devicePixelRatio to pixelRatio in ol.FrameState
2014-01-15 01:36:21 -08:00
Tom Payne
4667dec7c3 Rename devicePixelRatio to pixelRatio in ol.FrameState 2014-01-15 09:46:27 +01:00
Tom Payne
d5c1e53e48 Only support square tiles 2014-01-15 09:45:49 +01:00
Tom Payne
5a764ac5ab Merge pull request #1524 from oterral/vector-api
[vector-api] Add draw events
2014-01-14 08:51:42 -08:00
Éric Lemoine
84f2030f4b Merge pull request #1532 from oterral/vector-api-exports
[vector-api] Add export for ol.geom.LineString#getLength
2014-01-14 08:50:17 -08:00
oterral
7f12ac90da Add draw interaction events 2014-01-14 17:38:05 +01:00
oterral
b920f51010 Add export for ol.geom.LineString#getLength 2014-01-14 17:35:18 +01:00
Frederic Junod
56547681c3 Uncomment ol.render.canvas.Immediate#drawCircleGeometry 2014-01-14 16:38:01 +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
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
Éric Lemoine
542cf80da9 Better typing 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
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
Tom Payne
610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01: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
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
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
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
Frederic Junod
b53ddf5b42 Create 'type' annotation for 'const' variables 2014-01-13 08:53:36 +01:00
Éric Lemoine
babd133cf6 Export ol.source.ImageVector's styleFunction option 2014-01-13 07:43:02 +01:00
Éric Lemoine
d5b7527f1f Add docs for ol.source.ImageVector 2014-01-13 07:39:27 +01:00
Tim Schaub
339c6d3b5b Merge pull request #1510 from tschaub/bing-providers
Handle case where Bing resource has no imagery providers.
2014-01-10 21:00:53 -08:00
Tom Payne
a9d56bb74b Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-10 22:11:39 +01:00