Tobias Bieniek
69d759635f
WKT: Removed unused variables from write() method
2012-12-28 19:30:50 +01:00
Tobias Bieniek
60a02e343b
WKT: Added APIMethod keywords to documentation
2012-12-28 19:30:47 +01:00
Tobias Bieniek
06409da72e
EncodedPolyline: Added APIMethod keywords to documentation
2012-12-28 19:14:30 +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
2c5d4c75d4
EncodedPolyline: Merged duplicate code in read() method
...
This patch also prepares the code for making it possible to read encoded
strings with multi-dimensional points.
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
Tobias Bieniek
88a3091a90
examples: Added example for the EncodedPolyline Format class
2012-12-27 19:49:49 +01:00
Christopher Eykamp
49ff1b44ea
Whitespace
2012-12-27 15:43:33 +01:00
Christopher Eykamp
16981a8afa
Remove unneeded files
2012-12-27 15:38:01 +01:00
Christopher Eykamp
0e9691c628
Remove unused readers
2012-12-27 14:40:28 +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
a8f1c76811
Whitespace
2012-12-27 13:48:38 +01:00
Christopher Eykamp
5a19c74604
Whitespace
2012-12-27 13:47:37 +01:00
Christopher Eykamp
809ecb1155
Remove uneeded readers from WCS 1.0.0
2012-12-27 13:47:16 +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
ahocevar
07e039b566
Merge pull request #803 from ahocevar/tween-framerate
...
Tween: skip frames when minimum frame rate is not reached. r=@bartvde
2012-12-24 06:11:11 -08:00
Bart van den Eijnden
2dfc23e217
Merge pull request #806 from eykamp/master
...
Identify and fix bug with WFS 1.1.0 (r=@bartvde,@ahocevar)
2012-12-24 05:35:14 -08:00
ahocevar
9759902dac
Fixing API; addressing @mpriour's doc comment
...
Previously, minFrameRate could not be set as option with the start method.
The tests failed to catch this flaw. Now both the start method and the
tests are fixed.
2012-12-21 21:24:04 +01:00
Christopher Eykamp
d0986de775
WCS 1.0.0 parsing now passing all tests
2012-12-21 18:51:39 +01:00
Christopher Eykamp
5c07ae47bb
WCS testing more-or-less working, many tests failing, as expected
2012-12-21 13:15:01 +01:00
ahocevar
810d9ea95d
Fixing line breaks.
2012-12-21 13:10:26 +01:00
ahocevar
c6aa104462
Merge pull request #810 from ahocevar/transitionend
...
Use transitionend listeners where available. r=@bartvde
2012-12-21 04:08:29 -08:00
ahocevar
fcd8586883
Using an array for the transitionend event names
2012-12-21 13:07:36 +01:00
ahocevar
43c646b6da
Use new Opera event name as well
...
As pointed out by @bartvde, according to
http://stackoverflow.com/questions/5819912/webkit-transition-end-in-mozilla-and-opera ,
Opera uses otransitionend or oTransitionEnd, depending on the version.
2012-12-21 13:01:15 +01:00
ahocevar
dd244e6988
Use transitionend listeners where available
...
In addition to relying on removeBackBufferDelay, we can remove the
backbuffer earlier without flicker in an ontransitionend listener on the
last loaded tile.
2012-12-21 12:33:28 +01:00
ahocevar
86db8fabc6
Merge pull request #807 from ahocevar/units
...
WMTS Example misaligning with OSM base layer. r=@sbrunner
2012-12-20 14:35:57 -08:00
ahocevar
fc64b2c5f8
Fixing tests properly, as suggested by @sbrunner
2012-12-20 16:30:58 +01:00
mosesonline
ef028b1e91
Update lib/OpenLayers/Control/SelectFeature.js
...
indentation fixed and added comment to explain null case
2012-12-20 08:55:21 +01:00
ahocevar
f5d7f794c9
Some tweaks to make tests pass again
2012-12-19 23:13:11 +01:00
ahocevar
893966dfae
'm' and 'Meters' in OpenLayers.INCHES_PER_UNIT are not the same
...
OpenLayers.INCHES_PER_UNIT.m should equal
OpenLayers.INCHES_PER_UNIT.Meters, just like OpenLayers.INCHES_PER_UNIT.km
should equal OpenLayers.Inches_PER_UNIT.Kilometers. This confusion probably
comes from mixing International inches with US Survey inches when compiling
the unit conversion list (1 meter is 39.37007874 International inches, but
39.37 US Survey inches. It may not be obvious, but 'inches'/'Inch' in
OpenLayers means US Survey inch, and 'IInch' means International inch).
This change also fixes offsets caused by incorrect resolution calculations in
OpenLayers.Format.WMTSCapabilities.
2012-12-19 22:23:45 +01:00
Christopher Eykamp
6c5119455d
Basic WCS testing in place. Tests are basically meaningless at this point.
2012-12-19 18:11:14 +01:00
Christopher Eykamp
2a21d61400
Change errorProperty to fix bug; now passes all tests
2012-12-19 11:19:56 +01:00
Christopher Eykamp
2c6b8aefcf
Improve added error tests
2012-12-19 10:49:16 +01:00
Christopher Eykamp
a2c161be08
Revert error message change
2012-12-19 10:45:25 +01:00
Christopher Eykamp
428335fd0d
Even more sensible error message
2012-12-19 10:32:19 +01:00
Christopher Eykamp
7790a0a9b6
More sensible error message
2012-12-19 10:31:42 +01:00
mosesonline
0263b2b5e1
[Change] renamed test and added print of error
2012-12-18 09:47:33 +01:00
mosesonline
7aed43185b
[BugFix] Added tests for handle destroyed layer in SelectFeature.
2012-12-18 09:43:22 +01:00
mosesonline
0cdb3aeb52
[BugFix] Fix selectFeatures is null exception when layer is destroyed. Since you can listen only to preremovelayer to handle removing layer with SelectFeature. But preremovelayer is triggered after selectFeatures is set to null.
2012-12-18 09:34:48 +01:00
Pierre GIRAUD
b404ca0a7a
Merge pull request #802 from pgiraud/pinch_preserve_center_
...
Pinch preserve center
2012-12-18 00:20:18 -08:00
Christopher Eykamp
2478e2311f
Update number of tests, add comment
2012-12-17 18:33:19 +01:00
Christopher Eykamp
f4be1d138c
Add test that demonstrates bug in WFS 1.1.0 parsing
2012-12-17 18:08:23 +01:00
ahocevar
f0f1ea0867
Skip frames when minimum frame rate is not reached
...
The new minFrameRate option is used to make sure that an animation does not
run longer than the time calculated from that frame rate. Time is made up
by skipping frames, i.e. skipping execution of the eachStep callback.
2012-12-17 14:54:08 +01:00
Pierre GIRAUD
c9fa5aabad
Merge pull request #801 from pgiraud/map_movestart_zoomchanged
...
Send zoomChanged value when triggering movestart event
2012-12-17 04:56:32 -08:00
Pierre GIRAUD
6c21c2043f
Completing the doc strings
2012-12-17 13:55:32 +01:00