Commit Graph

13210 Commits

Author SHA1 Message Date
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
Frederic Junod
924ecba95c Fix coding style 2014-03-10 17:22:35 +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
Frederic Junod
2fdae368c2 Check if the EX_GeographicBoundingBox is correctly parsed 2014-03-10 17:18:04 +01:00
Frederic Junod
ea8c004c76 Remove unneeded type cast 2014-03-10 17:13:16 +01:00
Frederic Junod
1c13d6ed69 Add ol.format.WMSCapabilities 2014-03-10 17:06:48 +01:00
Frederic Junod
d7d2b3353d Add ol.xml.makeObjectPropertyPusher 2014-03-10 17:06:48 +01:00
Frederic Junod
2f53c4a3ad Add ol.format.XLink 2014-03-10 17:06:48 +01:00
Frederic Junod
13698d0d06 Add ol.format.XML 2014-03-10 17:06:48 +01:00
Frederic Junod
55a8f9a5ec Remove duplicate files 2014-03-10 17:06:48 +01:00
Frederic Junod
5fba2dd7d5 Move src/ol/parser/* and tests into old directory 2014-03-10 17:06:48 +01:00
Tom Payne
b77f0e7d3a Add ol.geom.MultiPolygon#appendPolygon 2014-03-10 16:53:20 +01:00
Tom Payne
c8bbeca06e Add ol.geom.MultiPolygon#getPolygon 2014-03-10 16:53:20 +01:00
Tom Payne
719384ad14 Tidy up ol.geom.MultiPolygon#getPolygons 2014-03-10 16:53:20 +01:00
Tom Payne
cb27ae5826 Add test for ol.geom.MultiPolygon#getPolygons 2014-03-10 16:53:20 +01:00
Tom Payne
7a51b4c7b6 Add ol.geom.MultiLineString#appendLineString 2014-03-10 16:53:20 +01:00
Tom Payne
7ee4fb8a2e Add ol.geom.MultiLineString#getLineString 2014-03-10 16:53:20 +01:00
Tom Payne
669f21ca29 Construct individual line strings directly from flat coordinates 2014-03-10 16:53:20 +01:00
Tom Payne
ddfce24f05 Add ol.geom.MultiPoint#getPoint 2014-03-10 16:53:20 +01:00
Tom Payne
361d31b596 Construct individual points directly from flat coordinates 2014-03-10 16:53:19 +01:00
Tom Payne
033e2e7dd8 Add ol.geom.MultiPoint#appendPoint 2014-03-10 16:53:19 +01:00
Tom Payne
c2d4ffaba1 Add ol.geom.Polygon#getLinearRing 2014-03-10 16:53:19 +01:00
Tom Payne
03911e6c6b Add ol.geom.Polygon#appendLinearRing 2014-03-10 16:53:19 +01:00
Tom Payne
94cfb3205a Add ol.geom.LineString#appendCoordinate 2014-03-10 16:53:19 +01:00
Tom Payne
470790b811 Check arguments passed to ol.geom.MultiPolygon#setFlatCoordinates 2014-03-10 16:53:19 +01:00
Tom Payne
ee5a9d6a4e Check arguments passed to ol.geom.MultiLineString#setFlatCoordinates 2014-03-10 16:53:19 +01:00
Tom Payne
23dc855c2f Check arguments passed to ol.geom.Polygon#setFlatCoordinates 2014-03-10 16:53:19 +01:00
Bart van den Eijnden
041479f1b7 Add more typedefs for return objects 2014-03-10 16:40:00 +01:00
Bart van den Eijnden
431a4d1725 Restore the exports 2014-03-10 15:40:55 +01:00
Bart van den Eijnden
6800a3290b Port over test case for multiple Query elements 2014-03-10 15:37:29 +01:00
Bart van den Eijnden
33abbfced1 Add support for writing Native 2014-03-10 15:24:00 +01:00
Bart van den Eijnden
4e5e75f525 Add write support for Transaction 2014-03-10 14:58:03 +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
Bart van den Eijnden
2ce92ac6a2 Add write support for BBOX filter 2014-03-07 16:44:24 +01: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
ahocevar
6fbafef4ad Add a layer with real data to the example 2014-03-07 10:52:50 +01:00