Commit Graph

1222 Commits

Author SHA1 Message Date
Tom Payne
58fef69fac Add pixelRatio to ol.source.Tile#getTile 2014-01-15 15:55:19 +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
d5c1e53e48 Only support square tiles 2014-01-15 09:45:49 +01:00
oterral
049ceb2ada Add tests for draw interaction events 2014-01-14 17:38:11 +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
3647f13e2e Add ol.geom.Circle 2014-01-14 12:31:50 +01:00
Tom Payne
ab0268a8f1 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-10 15:00:27 +01:00
oterral
80962b0bf9 Add draw interaction tests 2014-01-10 14:02:36 +01:00
Tim Schaub
36e2e51899 Only create a frame state if the map has non-zero size 2014-01-09 18:23:53 -07:00
Tom Payne
807bf757af Remove unused ol.TileUrlFunction.createFromParamsFunction 2014-01-09 15:27:56 +01:00
Tom Payne
cee014ec9e Remove unused ol.source.wms.getUrl function 2014-01-09 15:27:56 +01:00
Tom Payne
784f3500f2 Make ol.extent.buffer return an extent instead of mutating 2014-01-09 15:27:56 +01:00
Tom Payne
8d18f25296 Add ol.source.TileWMS tests 2014-01-09 13:12:49 +01:00
Tom Payne
079cd585e6 Add ol.source.ImageWMS tests 2014-01-09 13:12:49 +01:00
Tom Payne
b52a4b084e Remove pointless test 2014-01-09 13:12:49 +01:00
Tom Payne
7ce7bb2187 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 11:42:14 +01:00
Frederic Junod
0fda88dca3 Remove extra parameters when calling ol.test.source.TileMock.getTile 2014-01-07 12:17:17 +01:00
Tom Payne
ffb68c951a Fix ol.geom.flat.linearRingContainsXY 2014-01-06 18:19:08 +01:00
Tom Payne
d20a8eac3f Read KML LinearRings as Polygons 2014-01-06 10:41:38 +01:00
Tom Payne
0bf34a52ff Add ol.geom.MultiLineString#setLineStrings 2013-12-20 16:33:26 +01: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
e789d9a6fe Merge pull request #1359 from twpayne/vector-api-polyline
[vector-api] Add ol.format.Polyline
2013-12-19 09:15:46 -08:00
Tom Payne
7de4a9e2cb Merge pull request #1368 from twpayne/vector-api-kml
[vector-api] ol.format.KML
2013-12-19 09:07:43 -08:00
Tom Payne
33bf2b746f Add ol.format.KML#readName 2013-12-19 17:54:13 +01:00
Antoine Abt
2eba705ccc Merge pull request #1356 from tonio/vector-api-multiplegeom
[vector-api] add support for features with multiples geometries
2013-12-19 08:11:52 -08:00
Tom Payne
1d8f81d637 Add ol.format.KML 2013-12-19 17:00:37 +01:00
Tom Payne
b2c822c9ca Clear null geometry features in ol.source.Vector#clear 2013-12-19 14:53:22 +01:00
Antoine Abt
add3cf2233 Remove useless "geometry" FeatureProperty 2013-12-18 14:20:11 +01:00
Antoine Abt
59df68fe68 Update property change listener 2013-12-18 14:20:08 +01:00
Antoine Abt
4fc6c36724 Add support for features with multiples geometries 2013-12-18 11:37:35 +01:00
Tom Payne
3cf87ced1e Port ol.parser.polyline to ol.format.Format 2013-12-17 12:59:58 +01:00
Tom Payne
461a0d0615 Move back ol.parser.polyline 2013-12-17 12:59:57 +01:00
Tim Schaub
01d4990a1b Merge pull request #1382 from tschaub/observable-geometry
Remove geometry specific event type.
2013-12-16 07:43:06 -08:00
Tom Payne
50e5ffc8d6 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-16 14:28:12 +01:00
ahocevar
a4083f544e Merge pull request #1373 from ahocevar/rbush-fail
ol.structs.RBush#remove() is unreliable
2013-12-16 05:02:49 -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
a7175ae366 Merge pull request #1376 from twpayne/vector-api-simplify-schaub
[vector-api] Schaub simplification
2013-12-13 13:55:15 -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
b179a27ade Rename ol.geom.simplify.schaub to quantize 2013-12-13 20:51:54 +01:00
Tom Payne
b59eec7a83 Merge remote-tracking branch 'openlayers/master' into vector-api 2013-12-13 20:22:06 +01:00
ahocevar
67d2cddb84 Verify that removing random extent nodes also works 2013-12-13 18:27:33 +01:00
Tim Schaub
0ed59f7be3 Merge pull request #1348 from tschaub/beforechange
Add `ol.ObjectEvent` for changes to `ol.Object` properties.  Previously, `ol.Object` dispatched instances of `goog.events.Event` with type `change`.  Now `ol.ObjectEvent` instances will be dispatched on property changes.  The events include a `getKey` method to get the name of the property being changed.  The `beforepropertychange` type event is fired before a property value changes, and the `propertychange` type event fires after the property value changes.
2013-12-13 07:28:36 -08:00
Tom Payne
594cee01e4 Use Schaub's topology-preserving simplification method for Polygons and MultiPolygons 2013-12-13 13:59:29 +01:00
Tom Payne
5b1bbe15dd Add ol.geom.simplify.schaub 2013-12-13 13:59:29 +01:00
Éric Lemoine
35d5158454 Merge remote-tracking branch 'upstream/master' into vector-api
Conflicts:
	src/objectliterals.jsdoc
	src/ol/attribution.js
	src/ol/geom/geometry.js
	src/ol/geom/geometrycollection.js
	src/ol/geom/linestring.js
	src/ol/layer/vectorlayer.exports
	src/ol/layer/vectorlayer.js
	src/ol/map.js
	src/ol/proj/proj.js
	src/ol/renderer/canvas/canvasvectorlayerrenderer.js
	src/ol/source/imagewmssource.js
	src/ol/source/tilewmssource.js
	src/ol/source/vectorsource.exports
	src/ol/source/vectorsource.js
	src/ol/source/wmssource.js
	src/ol/style/style.js
	src/ol/tilegrid/tilegrid.js
	src/ol/tilegrid/wmtstilegrid.js
	src/ol/tilegrid/xyztilegrid.js
2013-12-13 12:53:57 +01:00
Éric Lemoine
93e605b119 Merge pull request #1350 from elemoine/gutter
Add gutter support to ol.source.TileWMS
2013-12-13 01:11:42 -08:00
Tim Schaub
20d74810ab Export a getKey method on ol.ObjectEvent 2013-12-12 16:59:34 -07:00
ahocevar
4d03c0bfaa Show an issue with ol.structs.RBush
Note that the same test passes in the original implementation.
2013-12-12 17:03:40 +01:00
Tom Payne
ccf96ea415 Fix ol.geom.GeometryCollection test 2013-12-12 11:30:33 +01:00
Éric Lemoine
e14d8add85 Add gutter support to TileUrlFunction 2013-12-12 10:59:31 +01:00