Commit Graph

8226 Commits

Author SHA1 Message Date
Tobias Bieniek
ce619871c2 test/polyline: Added two more test cases for unsigned integers
Again taken from the official documentation at Google.
2013-03-10 17:00:37 +01:00
Tobias Bieniek
680f3386ce test/polyline: Added more test cases from official documentation
.. and marked those tests as such. URL of the "Encoded Polyline Algorithm Format" page is https://developers.google.com/maps/documentation/utilities/polylinealgorithm
2013-03-10 16:42:51 +01:00
Tobias Bieniek
395942fe8c polyline: Only declare i variable once
Javascript only has function-wide scoping...
2013-03-10 16:33:44 +01:00
Tobias Bieniek
8bf6627354 polyline: Renamed variables to camelCase convention 2013-03-10 16:28:29 +01:00
Tobias Bieniek
76fc372a14 polyline: Added missing parenthesis for one-line statements 2013-03-10 16:24:30 +01:00
Tobias Bieniek
ea227419a3 polyline: Added encode/decodeFlatCoordinates() functions 2013-03-10 01:25:59 +01:00
Tobias Bieniek
04d764f4f3 polyline: Added encode/decodeFloat() functions 2013-03-09 23:17:29 +01:00
Tobias Bieniek
e802cc3d56 polyline: Added decodeSigned/UnsignedInteger() functions 2013-03-09 22:40:07 +01:00
Tobias Bieniek
36923d6688 Added basic ol.parser.polyline module
This module will contain the low-level functions for Google's "Encoded
Polyline" algorithm.
2013-03-09 22:19:59 +01:00
Éric Lemoine
a138b5a5a3 Merge pull request #332 from Turbo87/uppercase
Renamed authors.txt, license.txt and readme.md to uppercase variants
2013-03-09 12:07:16 -08:00
Tobias Bieniek
4f8ffbf2ce Added notes that "./build.py test" requires plovr to be running 2013-03-09 20:05:31 +01:00
Tobias Bieniek
65397eb732 test/README: Updated "make test" to "./build.py test" 2013-03-09 20:00:18 +01:00
Tobias Bieniek
f35e4cd319 test: Renamed readme.md to README.md
.. and updated link in main README.md

(Github supports relative links now AFAIK)
2013-03-09 19:04:58 +01:00
Tobias Bieniek
34ec58a8ad LICENSE: Fixed reference to AUTHORS file 2013-03-09 19:02:05 +01:00
Tobias Bieniek
d708a32094 Converted AUTHORS and LICENSE files to Markdown
.txt files are rendered by Github as plain monospace text. Markdown files
however are rendered with a more readable font and formatting.
2013-03-09 19:00:25 +01:00
Tobias Bieniek
ed9c2eebad Renamed authors.txt, license.txt and readme.md to uppercase variants
This sets the text files apart from the rest of the code files and seems
to be the standard for most projects
2013-03-09 18:47:53 +01:00
Tom Payne
25fd391edd Merge pull request #329 from twpayne/animation-clean-ups
Animation clean ups
2013-03-09 04:02:29 -08:00
Tom Payne
4a7a5fe220 Sort properties alphabetically 2013-03-09 02:38:52 +01:00
Tom Payne
194edc7f26 Sort functions alphabetically 2013-03-09 02:19:35 +01:00
Tom Payne
9d950525bb Default to easing inAndOut for all animations 2013-03-09 02:15:32 +01:00
Tom Payne
77bd279160 Use ol.easing instead of goog.fx.easing 2013-03-09 02:03:59 +01:00
Tom Payne
e12458b32e Expose all goog.fx.easing functions in the ol.easing namespace 2013-03-09 02:02:19 +01:00
Tom Payne
2d7f848223 Merge pull request #321 from twpayne/prettier-hue-saturation-example
Make hue/saturation example prettier
2013-03-08 16:46:24 -08:00
Tom Payne
3981141999 Merge pull request #134 from twpayne/keyboard-interactions
Keyboard Pan interaction should animate
2013-03-08 16:32:34 -08:00
Tom Payne
fe3b8d862d Correct center setting, thanks @elemoine 2013-03-09 01:31:14 +01:00
ahocevar
06de786b98 Adding information about jsdoc3 dependency 2013-03-08 19:19:14 +01:00
Tom Payne
2354207b47 Make hue/saturation example prettier 2013-03-08 15:13:26 +01:00
Tom Payne
0a13344668 Merge pull request #320 from twpayne/follow-mouse-position
Prioritize tile loading around mouse position
2013-03-08 04:15:49 -08:00
Tom Payne
d571ef5804 Prioritize tile loading around mouse position 2013-03-08 01:04:35 +01:00
Tom Payne
47f1b8cb0a Cope with rotation in keyboard pan 2013-03-07 20:13:38 +01:00
Tom Payne
cd37031456 Animate keyboard pan 2013-03-07 20:00:31 +01:00
Tom Payne
3d37ba7666 Add ol.View2D.pan 2013-03-07 20:00:31 +01:00
Tom Payne
d4a5bfa015 Avoid creating an unecessary object 2013-03-07 19:39:24 +01:00
Tom Payne
af0bf21e8d Configure keyboard pan with an options object 2013-03-07 19:32:51 +01:00
Tom Payne
c46f1425a0 Make keyboard zoom delta configurable 2013-03-07 19:24:00 +01:00
Bart van den Eijnden
1f510d893f Merge pull request #282 from bartvde/wms1_0_0
add WMS GetCapabilities 1.0.0 parser (=r@elemoine)
2013-03-07 05:06:13 -08:00
Tom Payne
1deeaa437c Merge pull request #272 from twpayne/projection-get
allow people to specify projection as a string
2013-03-07 04:59:00 -08:00
Bart van den Eijnden
d56f2bc7aa make Travis happy by adding comment to the constant in the test 2013-03-07 13:57:51 +01:00
Bart van den Eijnden
0dab671072 add WMS 1.0.0 parsing to false by default 2013-03-07 13:53:26 +01:00
Éric Lemoine
abf4d6bf09 Merge pull request #310 from elemoine/wms
NumberFormatException with GeoServer WMS
2013-03-07 04:46:06 -08:00
Tom Payne
21d34f1cc8 Rename projection functions for a friendlier API
The following functions are renamed:

getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform

With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Éric Lemoine
b487275d5b Round image height and width for WMS 2013-03-07 13:37:48 +01:00
Tom Payne
874583656e Use strings rather than ol.projection.get in examples 2013-03-07 13:31:11 +01:00
Tom Payne
eaa17758bd Allow strings to be used wherever projections are needed 2013-03-07 13:29:40 +01:00
Tom Payne
afcbec469a Rename ol.projection.getFromCode to ol.projection.get 2013-03-07 13:29:39 +01:00
Éric Lemoine
d81d9d7411 Merge pull request #309 from elemoine/attributions
Fix js error when image source has no attributions
2013-03-07 04:28:22 -08:00
Tom Payne
6bcbd25e2f Merge pull request #295 from openlayers/refactor-examples
Refactor examples
2013-03-07 04:27:18 -08:00
Éric Lemoine
251e9a09fa Fix js error when image source has no attributions 2013-03-07 12:41:15 +01:00
Éric Lemoine
3c37e6da56 Make custom proj example use tile layers only 2013-03-07 12:36:09 +01:00
Éric Lemoine
02cbdde333 Add a single image WMS example 2013-03-07 12:29:13 +01:00