Commit Graph

8591 Commits

Author SHA1 Message Date
Tobias Bieniek 6f08122398 polyline: Used new *Deltas() functions in *FlatCoordinates() 2013-03-10 20:45:12 +01:00
Tobias Bieniek aef15947c8 polyline: Added encode/decodeDeltas() functions 2013-03-10 20:44:34 +01:00
Tobias Bieniek 02707401a3 polyline: Added encode/decodeFloats() functions 2013-03-10 20:04:54 +01:00
Tobias Bieniek cbdaf1035d polyline: Added encode/decodeSignedIntegers() functions 2013-03-10 19:05:14 +01:00
Tobias Bieniek 78278798bb polyline: Added encode/decodeUnsignedIntegers() functions 2013-03-10 18:48:49 +01:00
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
Tom Payne 505c607ccb Use snapCenterToPixel in DOM renderer 2013-03-10 16:14:15 +01:00
Tom Payne bceb27f4bb Use snapCenterToPixel in WebGL renderer 2013-03-10 16:14:15 +01:00
Tom Payne c01068642b Use snapCenterToPixel in Canvas renderer 2013-03-10 16:14:01 +01:00
Tom Payne 06463471e1 Add ol.renderer.Layer.snapCenterToPixel 2013-03-10 15:51:08 +01:00
Tom Payne 3a1fcdae0f Optimize ol.Extent.getForView2DAndSize 2013-03-10 15:51:08 +01:00
Tom Payne 08d3120f08 Use ol.Extent.getForView2DAndSize 2013-03-10 15:51:08 +01:00
Tom Payne ed787ba79c Add ol.Extent.getForView2DAndSize 2013-03-10 15:51:08 +01:00
Tom Payne e8b4a29254 Fix typo in canvas tiles example 2013-03-10 15:49:46 +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
Tom Payne 65907a6005 Add rotation example 2013-03-09 21:51:09 +01:00
Tom Payne 3910ec0dbb Fix typo in WebGL map renderer 2013-03-09 21:50:10 +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
Cédric Moullet 0bf9f9a0a7 Fix reference and title according to @erilem comments. 2013-03-09 13:16:56 +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
Cédric Moullet eb6630c3f7 Add single image WMS with custom projection example 2013-03-09 07:50:56 +01: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
ahocevar b971fc1aae Bringing back the style-rules example
Features are now created programmatically as
GeoJSONFeatureCollection.
2013-03-08 16:26:18 +01:00
ahocevar 389b8d14d7 Support GeoJSON as parsed object
With this change, we can programmatically create
GeoJSONFeatureCollection objects programmatically, without
reading a GeoJSON file.
2013-03-08 16:25:23 +01:00
Tom Payne 2354207b47 Make hue/saturation example prettier 2013-03-08 15:13:26 +01:00
Tom Payne b729f969a7 Add EMPTY tile state instead of using null for empty tiles 2013-03-08 14:41:14 +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
Tim Schaub 7f62b26c80 New example style 2013-03-07 23:48:23 -07:00
Tim Schaub ee75c4b90e Use new projection getter 2013-03-07 23:48:10 -07:00