Commit Graph

4196 Commits

Author SHA1 Message Date
Antoine Abt
3461b026b6 Do not draw a rotated box, in dragbox/dragzoom
Use pixels to draw a straight box, perserving rotation while zooming
2014-01-03 11:55:28 +01:00
Antoine Abt
39cf993b39 Revert "Remove DragZoom from default interactions"
This reverts commit c2330b9786.
2014-01-03 11:55:27 +01:00
Antoine Abt
1142d55565 Add skeleton for webgl immediate renderer 2014-01-03 11:55:27 +01:00
Tom Payne
2342f83a48 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-02 18:28:30 +01:00
Tom Payne
94c22055be Merge pull request #1394 from twpayne/zoomify
Zoomify (updated)
2014-01-02 09:19:53 -08:00
Tom Payne
8fb44e024b Merge pull request #1437 from twpayne/vector-api-circle
[vector-api] Correct calculation of ol.style.Circle canvas size
2014-01-02 08:45:25 -08:00
Tom Payne
4f312f65f0 Merge pull request #1451 from twpayne/get-content-box-size
Use goog.style.getContentBoxSize to calculate map size
2014-01-02 08:44:30 -08:00
Tom Payne
50b41f93f3 Correct calculation of ol.style.Circle canvas size 2014-01-02 17:27:52 +01:00
Tom Payne
9ea44d10ce Use goog.style.getContentBoxSize to calculate map size
This takes into account any border.
2014-01-02 16:49:09 +01:00
Éric Lemoine
78504831e6 Export ol.Observable
This is so on, un and friends appear in the api docs.
2014-01-02 16:40:43 +01:00
Tom Payne
588846fa44 Use tileClass option to ol.source.Zoomify 2014-01-02 15:53:22 +01:00
Tom Payne
c85fe457a7 Add tileClass option to ol.source.TileImage 2014-01-02 15:53:16 +01:00
Tom Payne
71b91cd16a Tidy up ol.source.Zoomify tile URL calculations 2014-01-02 15:26:55 +01:00
Tom Payne
94fa3fb211 Tidy up ol.source.Zoomify tile grid calculations 2014-01-02 15:26:55 +01:00
Tom Payne
36826d2e0b Remove unused variable 2014-01-02 15:26:55 +01:00
Tom Payne
b1da2c78f2 Refactor ol.source.Zoomify to use a private tile class 2014-01-02 15:26:55 +01:00
Tom Payne
34c85d8ade Make ol.source.TileImage#tileLoadFunction protected, not private 2014-01-02 13:01:46 +01:00
Tom Payne
4ad63725d9 Make ol.source.TileImage#crossOrigin protected, not private 2014-01-02 13:01:22 +01:00
Tom Payne
54d388f8fa Make ol.source.TileImage#tileCache protected, not private 2014-01-02 12:57:55 +01:00
Tom Payne
786d74ce88 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-30 22:23:33 +01:00
Frederic Junod
1f0c70fec3 Parse HFDTE record before the others H records
ol.format.IGC.H_RECORD_RE_ don't match HFDTE records (because of the ':').
2013-12-22 12:44:12 +01:00
Frederic Junod
979083bb21 Fix ol.format.IGC HFDTE parsing (HFDTEDDMMYY not HFDTEYYMMDD) 2013-12-22 12:44:12 +01:00
Frederic Junod
ead127aaec Export ol.proj.Projection#getUnits
Fixes #1365
2013-12-21 09:23:43 +01:00
Tim Schaub
86374d1fde Merge pull request #1428 from tschaub/image-scale
Properly scale and rotate images with anchor offsets.
2013-12-20 13:44:10 -08:00
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
Éric Lemoine
4a96eaff60 Fix linestring hit detection bug 2013-12-20 22:24:52 +01:00
Tim Schaub
f5b9687479 Translate to image center before scale and rotation
Same treatment here as with the canvas replay.
2013-12-20 13:29:30 -07:00
Tim Schaub
c599c649ab Translate to image anchor point, scale, rotate, translate back 2013-12-20 13:27:08 -07: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
Éric Lemoine
a12bf20437 Merge pull request #1412 from fredj/vector-api-hidpi-cleanup
[vector-api] hidpi cleanup
2013-12-20 07:51:10 -08:00
Tom Payne
30736fbe88 Don't attempt to fit views to empty extents 2013-12-20 16:41:53 +01: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
Antoine Abt
f93a404adf Merge pull request #1422 from tonio/vector-api-dragbox
[vector-api] Refactor DragZoom
2013-12-20 06:32:34 -08:00
Antoine Abt
c2330b9786 Remove DragZoom from default interactions
As it only works with canvas renderer.
2013-12-20 15:24:53 +01:00
Antoine Abt
adfe20dd12 Make DragBox interaction dispatch events
- boxstart/boxend events are dispatched,
- behavior is removed,
- geometry drawn by box render is a simple polygon instead of one with hole.
2013-12-20 15:24:53 +01:00
Antoine Abt
43b8a72e62 Add ol.DragBoxEvent 2013-12-20 15:24:52 +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
Antoine Abt
0eb00ba86b Remove dragbox.exports 2013-12-20 11:11:53 +01:00
Éric Lemoine
cf8adffdb2 Add style option to DragZoom interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine
eb840777e8 Add style option to DragBox interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine
18f9eeab12 No default style in ol.render.Box 2013-12-20 10:21:18 +01:00