ahocevar
63ea10a916
Merge pull request #917 from Turbo87/segment-distance
...
Geometry: Added distanceSquaredToSegment() function
2013-03-25 12:30:05 -07:00
Tobias Bieniek
04d3c6ce53
Geometry: Added along attribute to distanceToSegment() function
2013-03-23 16:49:30 +01:00
Tobias Bieniek
b3ce8d556a
Bounds: Added extendXY() method
...
This is a simpler variant of the extend() method, but with less overhead.
2013-03-23 11:41:58 +01:00
Tobias Bieniek
d65f604b25
tests/Bounds: Fixed indentation and whitespace
2013-03-23 11:33:17 +01:00
Tobias Bieniek
03735b74ab
tests/Bounds: Fixed typos
2013-03-23 11:29:11 +01:00
Tobias Bieniek
17e972de3d
EncodedPolyline: Backported ol3 polyline parser library
...
The ol3 version of the library is more advanced and complete. It can also
parse into flat array. It can handle unsigned integers, signed integers
and floats.
2013-03-20 20:56:47 +01:00
ahocevar
d2a32d5421
Simplifying and unhacking the ModifyFeature control
...
With two nested controls (DragFeature, SelectFeature), which - among
others - activated two OpenLayers.Handler.Feature instances, the
ModifyFeature control was fragile and hard to debug.
The issue that @iwillig, @bartvde and myself tried to track down was
that the two Feature handlers interfered with each other, making it hard
to select features on mobile devices, and causing points to jump during
dragging because of not updated last pixel positions.
With this refactoring, there are no more nested controls. All that's left
is a Drag handler. All tests pass. I had to remove one test that checked
for dragging of an unselected point while another was selected, because
now (and partially even before this change, thanks to the ugly drag
handler hack that is now removed) dragging a point will also select it,
saving the user an extra click.
2013-03-19 23:00:10 +01:00
mosesonline
05227d32d0
[New] Tests for deactivation of refresh strategy
2013-03-01 12:52:18 +01:00
Tim Schaub
7c4df5186f
Test clean up
2013-02-21 12:19:34 -07:00
Tim Schaub
461c5c4328
Test that createBackBuffer doesn't fail
2013-02-21 12:17:55 -07:00
Tim Schaub
a2896beafd
As the comments mention, this assumes null transitionEffect
2013-02-14 15:26:05 -07:00
Tim Schaub
30c82bad45
For pixel bounds, the bottom is a larger value than the top
...
This still doesn't address the broken ZoomBox test (see #800 ), it fails in the same way with or without this change.
2013-02-14 14:25:01 -07:00
ahocevar
ba0ba64c74
Updating PinchZoom tests (see #800 )
...
With the map's applyTransform method, the control does not need and have
its own applyTransform and center management any more.
2013-02-14 22:13:07 +01:00
Tim Schaub
e9eefc7a33
Fewer failing tests
...
There are still tests failing, but this change addresses some of the new failures after 4b163e0482 (which is an awesome improvement despite the test failures :).
2013-02-14 12:29:03 -07:00
Marc Jansen
4d7eaf4939
Merge pull request #866 from marcjansen/866
...
LayerSwitcher generate bad ID when layername has spaces in it. (r=@ahocevar)
2013-02-14 07:01:32 -08:00
ahocevar
4b163e0482
Merge pull request #800 from ahocevar/transform
...
Use GPU where available; animated zooming. r=@elemoine
2013-02-14 01:15:18 -08:00
ahocevar
18b0c5fc7d
Merge pull request #812 from ahocevar/mousewheel
...
Better mousewheel/touchpad behavior for zooming. r=@elemoine
2013-02-14 01:13:56 -08:00
ahocevar
d0249643b3
Incorporating @elemoine's review comments
2013-02-14 10:11:48 +01:00
Marc Jansen
465498b83a
Use blank.gif as WMS-mockup URL in test.
2013-02-14 09:13:01 +01:00
Marc Jansen
73c5dbd8dc
Only valid characters in generated ids.
2013-02-14 07:14:13 +01:00
ahocevar
f46ed44131
Merge pull request #857 from faegi/featureClickPatch
...
Clear cached mousedown/up positions used for distinguishing between (fix #856 ).
2013-02-12 01:46:30 -08:00
ejn
364d371f10
Add unit test for cleared cache, and adjust existing unit test which
...
assumed cached position
2013-01-28 16:16:16 +01:00
Bart van den Eijnden
d7f013ddbd
when cloning a layer that is loading, make sure numLoadingTiles is reset to 0 on the clone
2013-01-16 16:26:51 +01:00
ahocevar
2a7547c36c
Merge pull request #836 from ahocevar/replacing
...
No .olTileReplacing class for singleTile layers. r=@bartvde
2013-01-16 02:48:26 -08:00
ahocevar
fde7c5cc76
After #829 fallThrough needs to be true for this test
2013-01-15 13:41:26 +01:00
ahocevar
2cd14dfbfd
No .olTileReplacing class for singleTile layers
...
This fixes a regression for singleTile layers with transitionEffect set to
'resize', where the .olTileReplacing class was not removed from the tile.
2013-01-15 13:08:48 +01:00
ahocevar
9b7e35d1dd
Merge branch 'master' of github.com:openlayers/openlayers into transform
...
Conflicts:
theme/default/style.css
2013-01-09 14:31:52 +01:00
Bart van den Eijnden
443c715f51
Merge pull request #626 from mpriour/zeropad
...
Consolidate numeric zero padding functions (r=@bartvde)
2013-01-09 00:26:17 -08:00
Matt Priour
3b56053849
Use BaseTypes zeropad function in ArcGISCache tests
2013-01-08 14:00:35 -06:00
ahocevar
f0db21f9c9
Fixing tests
2013-01-07 18:16:23 +01:00
ahocevar
c8564838bc
When the resolution does not change, remove backbuffer tile by tile
...
This change introduces a new 'replace' mode for tile transitions: when the
resolution does not change, which happens when mergeNewParams is called,
the tile will be marked with the .olTileReplace class. If this class sets
the tile's imgDiv display to 'none', the backbuffer for the tile will
immediately be removed when the tile is loaded.
2013-01-07 15:42:34 +01:00
ahocevar
18d548f979
Merge pull request #702 from ahocevar/smart-queue
...
New tile image cache and tile queue improvements. r=@bartvde,@elemoine
2013-01-07 06:38:07 -08:00
Bart van den Eijnden
1e1ce54e5b
add tests and finish off the functionality for switching between singleTile true and false
2013-01-04 15:10:48 +01:00
Bart van den Eijnden
bec34f2d3d
Merge pull request #814 from eykamp/wcsdev
...
Add WCS GetCapabilities parsing for WCS 1.0.0 and 1.1.0 (r=@bartvde)
2013-01-02 08:40:34 -08:00
Christopher Eykamp
f9bb64505b
Add final LF
2013-01-02 17:12:51 +01:00
Christopher Eykamp
54c5656df5
Add final LF
2013-01-02 17:08:57 +01:00
Christopher Eykamp
f06931b1b7
Update source of sample XML
2013-01-02 14:32:02 +01:00
Christopher Eykamp
b15c751808
Reuse GML pos reader -- something looks not quite right here, but it does work
2013-01-02 14:21:30 +01:00
Christopher Eykamp
008c7d582e
Update test to reflect changes in last commit
2013-01-02 12:51:52 +01:00
Stéphane Brunner
0915fb72a2
Add RESTful compatibility support
2012-12-31 15:35:38 +01:00
Tobias Bieniek
06bd07ff8d
EncodedPolyline: Added write() method
2012-12-28 20:24:57 +01:00
Tobias Bieniek
510d42b12f
EncodedPolyline: Added encode() method
...
The write() method will follow in the next commit.
2012-12-28 01:31:24 +01:00
Tobias Bieniek
8651e05e75
EncodedPolyline: Allow setting geometryType to "point
2012-12-27 23:19:44 +01:00
Tobias Bieniek
c118d9884d
EncodedPolyline: Extracted universal decode(encoded, dims) method
2012-12-27 23:09:08 +01:00
Tobias Bieniek
aedafc0336
EncodedPolyline: Added geometryType attribute
...
This makes it possible to read polygons or multipoints too. Since the
encoded format is just a list of points the reader needs to be told what
Feature to create from the encoded list.
The example code is edited to reflect that API extension.
2012-12-27 23:09:08 +01:00
Christopher Eykamp
be7c55f432
Added full suite of wcs 1.1.0 tests, all are passing
2012-12-27 14:28:46 +01:00
Christopher Eykamp
b6c2c26580
WCS parsing working properly, but needs more tests; moved errorProperty down to parser, where it arguably belongs, and where it has to live to work with WCS. Also removed null error property on versionedOGC.
2012-12-27 13:29:02 +01:00
Tobias Bieniek
63a9567858
Format: Added EncodedPolyline class
...
This class is able to convert an encoded polyline string into a LineString embedded in a Vector Feature.
See https://developers.google.com/maps/documentation/utilities/polylinealgorithm for more information.
2012-12-26 18:25:04 +01:00
Christopher Eykamp
8ff05cdeac
WCS 1.1.0 parsing correctlyy; error property still not correctly set so parsing reports errors.
2012-12-24 18:19:42 +01:00
ahocevar
4b2e80fa36
Merge pull request #805 from mosesonline/unselectAllFix
...
unselectAll on removing layer fix
2012-12-24 06:17:04 -08:00