Commit Graph

11229 Commits

Author SHA1 Message Date
Frederic Junod 2f3a85a86a Add ol.source.Vector#getAllFeatures function 2013-11-27 12:14:33 +01:00
Frederic Junod 66b08644fc Export ol.source.Vector#removeFeature function 2013-11-27 12:14:32 +01:00
Frederic Junod a3b43f21e4 Add ol.source.Vector#forEachFeature function 2013-11-27 12:14:32 +01:00
Éric Lemoine 8f361e35dd Do not draw non-loaded icons 2013-11-27 10:03:23 +01:00
Éric Lemoine 82e03ea508 Add an icon example 2013-11-26 16:32:03 +01:00
Éric Lemoine 9365c227ab Make icon size optional 2013-11-26 16:19:57 +01:00
Éric Lemoine 519e2539cc Export ol.icon.renderIcon 2013-11-26 15:33:27 +01:00
Éric Lemoine 83293651b7 Add ol.icon.renderIcon 2013-11-26 15:33:27 +01:00
Éric Lemoine 0a4fd29c10 Add icon support to canvas vector renderer 2013-11-26 15:25:32 +01:00
Éric Lemoine b1a123a927 Shapes are loaded images 2013-11-26 15:23:55 +01:00
Éric Lemoine 189a859dde Export ol.style.Image options 2013-11-26 15:21:51 +01:00
Éric Lemoine 29009d27f3 Make ol.style.Image loadable 2013-11-26 15:20:04 +01:00
Éric Lemoine 1d8fefe683 Adapt styleFunction in vector-layer example 2013-11-26 14:19:24 +01:00
Éric Lemoine 972deebbc6 Adapt styleFunction in synthetic-points example 2013-11-26 14:19:24 +01:00
Éric Lemoine 9be03b2e3a Use ol.style.Style in synthetic-points example 2013-11-26 14:19:24 +01:00
Éric Lemoine 305be3c689 Adapt styleFunction in synthetic-lines example 2013-11-26 14:19:24 +01:00
Éric Lemoine 82aa5cc675 Adapt styleFunction in rtree example 2013-11-26 14:19:24 +01:00
Éric Lemoine 39af934e71 Adapt styleFunction in geojson example 2013-11-26 14:19:24 +01:00
Éric Lemoine 317294756a Style function takes a resolution arg 2013-11-26 14:19:24 +01:00
Éric Lemoine 3820caade1 Style function returns an array of styles 2013-11-26 14:19:24 +01:00
Tom Payne 733da2dd70 Clone extents in ol.structs.RBush to prevent modification 2013-11-26 12:15:40 +01:00
Tom Payne 85c9ca2000 Add optional destination argument to ol.extent.clone 2013-11-26 12:15:09 +01:00
Tom Payne 4de5cda4a1 Keep R-Tree up-to-date in ol.source.Vector 2013-11-26 11:57:38 +01:00
Tom Payne 55730e9279 Add ol.structs.RBush#update 2013-11-26 11:57:38 +01:00
Tom Payne 48e78533b9 Add FIXME 2013-11-26 11:57:38 +01:00
Tom Payne 2df03fbf96 Implement ol.structs.RBush#remove_ 2013-11-26 11:57:38 +01:00
Tom Payne d5f1a35f9a Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
2013-11-26 11:57:37 +01:00
Tom Payne 62b9aa0595 Refactor ol.structs.RBush tests 2013-11-26 11:57:37 +01:00
Tom Payne 4981552fb1 Add ol.structs.RBush#assertValid 2013-11-26 11:57:37 +01:00
Tom Payne e749715abd Move ol.structs.RTree out of the way 2013-11-26 11:57:37 +01:00
Tom Payne 9576473072 Port rtree example to ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne 8294ca9f57 Port ol.source.Vector to ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne 4cddee2a0e Add ol.structs.RBush 2013-11-26 11:57:37 +01:00
Tom Payne 7967edb8f0 Add ol.extent.getMargin 2013-11-26 11:57:37 +01:00
Tom Payne 8c6e5287b5 Add ol.extent.getIntersectionArea 2013-11-26 11:57:36 +01:00
Tom Payne 61afebb1ec Add ol.extent.getEnlargedArea 2013-11-26 11:57:36 +01:00
Tom Payne 0294691446 Add ol.extent.getArea 2013-11-26 11:57:36 +01:00
Tom Payne b99fac9901 Return extent from ol.extent.extend 2013-11-26 11:57:36 +01:00
Tom Payne b0d5f96b65 Rename ol.render.canvas.Replay#draw to replay 2013-11-25 20:03:21 +01:00
Tom Payne ae29e70cfd Use ol.style.Style in rtree example 2013-11-24 16:55:20 +01:00
Tom Payne d358e80937 Improve type checking in ol.TileRange 2013-11-24 14:33:58 +01:00
Tom Payne 6584ef985f Improve type checking in ol.renderer.canvas.Map 2013-11-24 14:33:47 +01:00
Tom Payne 617635ed80 Improve type checking in ol.renderer.webgl.Map 2013-11-24 14:28:44 +01:00
Éric Lemoine 6ca2fef0a3 Always same format for color strings 2013-11-22 17:02:59 +01:00
Éric Lemoine b78bcce8ab Draw a temporary point in geojson example 2013-11-22 17:01:55 +01:00
Éric Lemoine 95826cd3c8 Add FIXME 2013-11-22 17:01:55 +01:00
Éric Lemoine 34ce9e478d Store raw style values in immediate objects
This commit also uses default style values (e.g.  ol.render.canvas.defaultStrokeFill) when no value is defined by the user.
2013-11-22 17:01:54 +01:00
Éric Lemoine 68caa8141c Fix typo in replay code 2013-11-22 16:36:06 +01:00
Éric Lemoine c4731ff37b Use canvas style default values 2013-11-22 11:49:14 +01:00
Éric Lemoine 2a122f057c Rename currentFillColor to currentFillStyle 2013-11-22 11:49:14 +01:00