Commit Graph

9827 Commits

Author SHA1 Message Date
Éric Lemoine
5ad6ca3aa1 Fix BingMaps exports/externs 2013-03-11 08:31:03 +01:00
Tobias Bieniek
8a34eaa4a4 polyline: Removed extra space in encodeFloats() function 2013-03-10 20:46:29 +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
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
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
3910ec0dbb Fix typo in WebGL map renderer 2013-03-09 21:50:10 +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
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
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
b729f969a7 Add EMPTY tile state instead of using null for empty tiles 2013-03-08 14:41:14 +01:00
Tim Schaub
895bc4e76c The addFeatures method will be added back later
This needs to be made to take advantage of the shared vertices.
2013-03-07 23:47:41 -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
4918106a22 Make shared vertices structures accessible 2013-03-07 23:09:23 -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
Tim Schaub
f93bf2ad77 Avoid filling/stroking parts of multi-polygons twice 2013-03-07 21:39:34 -07: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
Tim Schaub
db4e62477d Nicer caps and joins
As mentioned in the TODOs, caps and joins should be user configurable on the symbolizers.
2013-03-07 10:37:48 -07:00
Tim Schaub
b28a1efec6 Export GeoJSON parser 2013-03-07 10:26:15 -07:00
ahocevar
5af71a488a No need to continue rendering when we need to defer 2013-03-07 18:13:22 +01:00
Tim Schaub
5752a69d6b Adding addFeatures back as an API method temporarily
Eventually, parseFeatures and addFeatures should be collapsed.
2013-03-07 10:09:19 -07:00
ahocevar
f4a16e7f57 Collect features before rendering to the sketch canvas
This avoids features being rendered multiple times when they
cross tile borders. Currently this makes the style-rules.html
example extremely slow. Fix for that to come in my next commit.
2013-03-07 16:57:22 +01:00
ahocevar
f0039ee460 Additional index dimension for RTree; use RTree again
The RTree can easily maintain an additional index dimension,
by passing a type with each added item. Now instead of
maintaining an RTree for each geometry type, we have a single
RTree with a type filter. With this change, using the RTree
finally speeds up rendering as expected.
2013-03-07 14:36:09 +01:00