Tom Payne
58f1c929ac
Merge pull request #324 from twpayne/fix-canvas-renderer-clear
...
Canvas renderer is not properly cleared
2013-03-11 05:08:54 -07:00
Tobias Bieniek
5d492a22fa
test/polyline: Fixed linter problems
2013-03-10 21:13:48 +01:00
Tobias Bieniek
5333d00173
test/polyline: Added encodedFlatPoints to testing data variables
...
DRY...
2013-03-10 21:07:23 +01:00
Tobias Bieniek
f793b69602
test/polyline: Reset testing data before each test
...
.. instead of using slice()
2013-03-10 21:05:32 +01:00
Tobias Bieniek
4b8a9aaa8f
test/polyline: Renamed flat_points variable to flatPoints
2013-03-10 20:59:15 +01:00
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
Tom Payne
ed787ba79c
Add ol.Extent.getForView2DAndSize
2013-03-10 15:51:08 +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
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
Tom Payne
b729f969a7
Add EMPTY tile state instead of using null for empty tiles
2013-03-08 14:41:14 +01:00
Tim Schaub
ee75c4b90e
Use new projection getter
2013-03-07 23:48:10 -07:00
Tim Schaub
4422e3e73b
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-07 23:10:06 -07:00
Tim Schaub
faee18bae1
Use fillColor and strokeColor instead of fillStyle and strokeStyle
...
The color names are more intuitive. And if we want to support pattern strokes or fills, we'll need additional proerties to represent other pattern properties.
2013-03-07 22:51:14 -07:00
Tim Schaub
77355ca634
Optional polygon stroke or fill
2013-03-07 22:28:39 -07: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
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
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
Tom Payne
afcbec469a
Rename ol.projection.getFromCode to ol.projection.get
2013-03-07 13:29:39 +01:00
Éric Lemoine
7fabff5ffa
Revert "Remove listeners when dropping tiles"
...
This reverts commit fd6aaff2f5 .
2013-03-07 10:41:23 +01:00
Bruno Binet
4415f8ac74
Add test for ol.projection.configureProj4jsProjection
2013-03-07 01:36:41 +01:00
Bruno Binet
9d88273161
ol.Projection now takes a single argument
...
which is called ol.ProjectionOptions.
2013-03-07 01:36:39 +01:00
Bruno Binet
d1762a06f8
Merge pull request #290 from bbinet/projection_stuff
...
Add a getMetersPerUnit instance method to ol.Projection class
2013-03-06 08:50:47 -08:00
Tom Payne
3e7c913c44
Add ol.Collection.remove
2013-03-06 15:53:11 +01:00
Tom Payne
905a0059db
Remove unused insert_at, set_at, and remove_at events
2013-03-06 15:50:03 +01:00
Tom Payne
3a7c4bd3bc
Merge pull request #273 from twpayne/controls-api
...
reconsider the way we specify controls on the map
2013-03-06 05:59:31 -08:00
Tom Payne
23f0097517
Add ol.Collection.extend
2013-03-06 13:18:34 +01:00
Tom Payne
671ee79c74
Add ol.interaction.defaults
2013-03-06 12:36:49 +01:00
Bruno Binet
f4aa08ee90
Use ol.sphere.NORMAL.radius instead of 6378000
...
to be consistent.
2013-03-06 12:18:37 +01:00
ahocevar
6ee754abb6
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-06 11:20:40 +01:00
Bruno Binet
097d59c41a
Add test for ol.Projection getMetersPerUnit method
2013-03-06 10:33:03 +01:00
Tim Schaub
060edb2070
Merge branch 'vector' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/ol/style/shape.js
2013-03-06 02:28:33 +01:00
Tim Schaub
ac10bb6ca5
Enforce that either stroke or fill is provided
2013-03-06 02:20:11 +01:00
ahocevar
c1f3a6cc54
WMS GetMap request parameters shall be params
...
To avoid surprises, we configure everything that is a WMS GetMap
request parameter in the params object, and not as direct
configuration option. This affects the VERSION and TRANSPARENT
params.
2013-03-06 02:20:09 +01:00
Éric Lemoine
f20cf83c94
Add a snapToZero rotation constraint
2013-03-06 02:20:08 +01:00
Éric Lemoine
ca31cf590c
Debounce mousewheel zoom events
2013-03-06 02:20:06 +01:00
Éric Lemoine
29d3878ea3
zoomFactor defaults to 2
2013-03-06 02:20:06 +01:00
Bruno Binet
f1b72a10bc
Tests for cached proj4js projections.
2013-03-06 01:59:35 +01:00
ahocevar
ab19d255c7
Rendering icons from external graphic urls
2013-03-06 01:57:08 +01:00