Commit Graph

13079 Commits

Author SHA1 Message Date
Tom Payne
0c8552edbb Add ol.Sphere#circle 2014-03-11 15:28:16 +01:00
Frederic Junod
e62842464c Use accuracyGeometry in geolocation example 2014-03-11 15:14:55 +01:00
Frederic Junod
962ed06717 Add new 'accuracyGeometry' property to ol.Geolocation 2014-03-11 15:13:54 +01:00
Frédéric Junod
7f46a293d2 Merge pull request #1839 from fredj/text-offset
Add offsetX and offsetY properties to ol.style.Text
2014-03-11 14:35:38 +01:00
Tom Payne
0e26ee3181 Merge pull request #1828 from twpayne/frame-state-extern
Prevent renaming of frameState properties
2014-03-11 14:21:54 +01:00
Frederic Junod
4a893f7837 Add offsetX and offsetY properties to ol.style.Text 2014-03-11 14:06:51 +01:00
Paul Spencer
a8f1f74b3a Merge pull request #1835 from pagameba/doc-canvas-immediate
Add and export documentation for ol.render.canvas.Immediate
2014-03-11 08:10:45 -04:00
Paul Spencer
10d855afd4 Add and export documentation for ol.render.canvas.Immediate 2014-03-11 07:48:37 -04:00
Andreas Hocevar
c99f969bb9 Merge pull request #1833 from ahocevar/hit-detection-pointer
Fix the pointer index
2014-03-11 08:30:40 +01:00
Éric Lemoine
a0e4bfa28b Merge pull request #1827 from elemoine/featureoverlay
Use default style function in FeatureOverlay
2014-03-11 07:32:07 +01:00
ahocevar
127cce7973 Fix the pointer index
It has to point to the end of the current block, not to the
beginning of the next block. See L581.
2014-03-10 18:18:41 +01:00
Tom Payne
0335d4aa6a Use oli.View2DState instead of ol.View2DState 2014-03-10 17:19:29 +01:00
Tom Payne
0a3ef09c30 Add oli.View2DState extern 2014-03-10 17:19:11 +01:00
Tom Payne
022a7a03e0 Use oli.FrameState instead of ol.FrameState 2014-03-10 14:48:23 +01:00
Tom Payne
8aca7ce140 Add oli.FrameState extern 2014-03-10 14:45:49 +01:00
Tom Payne
6cadc2b9ab Merge pull request #1785 from adube/example-labels
Example labels
2014-03-10 14:11:31 +01:00
Tom Payne
586c4b9cd2 Merge pull request #1746 from sbrunner/fitcoordinates
Fit coordinates on visible map, Center coodinate on positions
2014-03-10 14:08:47 +01:00
Andreas Hocevar
97da6b4874 Merge pull request #1824 from ahocevar/replay-hit-detection
Iterating through the hit detection replay batch fails when geometryRenderFunction returns false
2014-03-10 12:38:25 +01:00
ahocevar
c6ba9787b5 Update the pointer to the next block when reversing
Just reversing the array is not enough, the pointers to the
beginning of the next block must be changed to the reversed
array index.
2014-03-10 12:37:45 +01:00
Éric Lemoine
6047a4dcf6 Use default style function in FeatureOverlay 2014-03-10 11:32:36 +01:00
Tim Schaub
f3c06989b6 Merge pull request #1822 from tschaub/append-first
Always add first segment when appending coordinates.
2014-03-07 11:53:49 -07:00
Tom Payne
7a1e4aa6c8 Merge pull request #1820 from twpayne/fix-multipolygon-get-polygons
Fix calculation of ends in ol.geom.MultiPolygon#getPolygons
2014-03-07 19:50:19 +01:00
Tom Payne
f32d491d45 Fix calculation of ends in ol.geom.MultiPolygon#getPolygons 2014-03-07 19:49:38 +01:00
Tim Schaub
8317317127 Always add first segment when appending coordinates
When we have only a single point, we want to make sure it gets added (fixes #1821).

Because this code doesn't differentiate coordinates that are part of a linestring or linearring from those that are independent points, we always add the first segment (or pair of points).  In addition, coordinates for segments are appended whenever they represent a change in relationship with respect to the extent.  This keeps the code simpler for handling fills and properly capturing intersection points for linestrings.  This could be modified to save a few extra coordinates, but it provides for simpler code at a very minimal cost.
2014-03-07 11:02:25 -07:00
Tom Payne
7da18bd144 Merge pull request #1819 from oterral/fix_anchor
Fix anchor origin calculation
2014-03-07 14:49:14 +01:00
oterral
5028aa3bc3 Fix anchor origin calculation 2014-03-07 13:35:18 +01:00
Marc Jansen
044b8380fa Merge pull request #1817 from marcjansen/fix-modify-example
Close polygon in modify-feature example.
2014-03-07 10:25:47 +01:00
Marc Jansen
8a4fba360b Close polygon in modify-feature example. 2014-03-07 10:07:47 +01:00
Tim Schaub
1f30a5f40d Merge pull request #1662 from tschaub/drawing-rings
Add `minPointsPerRing` option to the draw interaction.  By default, polygon drawing cannot be finished until three points have been added.  To allow polygon drawing to finish after only two points have been added, set `minPointsPerRing: 2`.
2014-03-06 09:39:45 -07:00
Tim Schaub
36204faf2f Merge pull request #1754 from tschaub/clip
Track max extent for replay and limit draw instructions outside that extent.
2014-03-06 09:37:43 -07:00
Marc Jansen
e5fe832839 Merge pull request #1814 from marcjansen/no-jsdoc-googx
Exclude `googx/dom/fullscreen.js` from API-docs
2014-03-06 17:12:28 +01:00
Marc Jansen
4107b140a6 Adjust parameters of jsdoc-call in build.py.
The `src`-directory is no longer defined on the commmandline
and the `index.md` as explicit source file is now the first
argument.
2014-03-06 16:08:46 +01:00
Marc Jansen
32524d186a Add explicit includes/excludes to jsdoc config. 2014-03-06 16:06:51 +01:00
Frédéric Junod
68f5adc284 Merge pull request #1687 from fredj/ol.layer.Heatmap
Add ol.layer.heatmap
2014-03-06 15:00:13 +01:00
Tom Payne
d1a85502a4 Merge pull request #1810 from twpayne/rbush-get-in-extent
Rename ol.structs.RBush#getAllInExtent to getInExtent
2014-03-06 14:40:01 +01:00
Tom Payne
e5ee44f8ad Rename ol.structs.RBush#getAllInExtent to getInExtent 2014-03-06 14:30:56 +01:00
Frédéric Junod
6fb98851d9 Merge pull request #1806 from fredj/overlays-events
Set map in 'add' and 'remove' event handler
2014-03-06 13:33:47 +01:00
Frederic Junod
3bc0a6e6f0 Don't use Uint32Array for IE compatibility 2014-03-06 13:28:18 +01:00
Stéphane Brunner
9789b1c1e3 Add center example 2014-03-06 10:54:39 +01:00
Stéphane Brunner
015c660386 Add ol.View2D#centerOn 2014-03-06 10:54:15 +01:00
Stéphane Brunner
9984ca109c Add ol.View2D#fitGeometry 2014-03-06 10:54:04 +01:00
Frederic Junod
c32d8a2e53 Add ol.layer.Heatmap class and example 2014-03-06 09:14:03 +01:00
Frederic Junod
9d05e08b49 Dispatch 'render' event in renderer.canvas.VectorLayer
The context property of the event only contains the vector rendering.
2014-03-06 09:14:03 +01:00
Frederic Junod
f0f2a2d2b0 Set control map in 'add' and 'remove' event handler 2014-03-06 09:03:38 +01:00
Frederic Junod
3dc9d296eb Set interaction map in 'add' and 'remove' event handler 2014-03-06 09:01:50 +01:00
Frederic Junod
9d8243a772 Set overlay map in 'add' and 'remove' event handler 2014-03-06 09:00:00 +01:00
Tim Schaub
8c9d22c5e5 Merge pull request #1797 from tschaub/convolution-kernel
Example applying a convolution kernel to an image.
2014-03-05 17:27:54 -07:00
Tim Schaub
ed3c4a9cea Merge pull request #1758 from tschaub/get-features
Rename vector source methods.
2014-03-05 17:27:36 -07:00
Tim Schaub
50001132be Transform extent coordinates before clipping 2014-03-05 13:27:40 -07:00
Tim Schaub
a18593ee10 Support minPointsPerRing and default to 3 2014-03-05 12:58:03 -07:00