Commit Graph

11891 Commits

Author SHA1 Message Date
Éric Lemoine
2f539bf3be Merge pull request #126 from openlayers/tilequeue
Tile queue requires optimizing
2013-01-21 03:41:18 -08:00
ahocevar
d3e63bc98a Basic feature implementation 2013-01-21 12:16:04 +01:00
Frederic Junod
8825251c42 Add new ol.easing.elastic and ol.easing.bounce easing functions. 2013-01-21 09:48:56 +01:00
ahocevar
d0d397f98f Tiled vector source
This source has features and provides tiles with the feature
geometries rendered, using the feature symbolizers. Needs more
work because it is still very unefficient, because it renders
all feature geometries to all tiles, and uses a collection of
features, which we do not have yet.
2013-01-20 21:23:19 +01:00
Tom Payne
202df34e71 Merge pull request #137 from twpayne/alt-shift-rotate
Use Alt+Shift to rotate by default, fixes #21
2013-01-20 10:38:24 -08:00
Éric Lemoine
7f38c1683e Remove unused TileQueue clear method 2013-01-20 15:15:13 +01:00
Tim Schaub
4c2ad60619 Add geojson module in io package 2013-01-20 00:28:07 -07:00
Tim Schaub
497eac82c2 Polygon rendering (no holes yet) 2013-01-19 17:50:04 -07:00
Tom Payne
9ef5f0b060 Ensure dropped tiles are properly removed from tile queue 2013-01-19 21:58:01 +01:00
Tom Payne
3383c426b3 Use shifts rather than floor 2013-01-19 18:35:24 +01:00
Tom Payne
d43abba154 Use stricter types in private methods, operate on array directly 2013-01-19 15:52:55 +01:00
Tom Payne
6507e71dd7 Clear queued tile keys when queue is cleared 2013-01-19 15:44:01 +01:00
Tom Payne
2bdfd3765b Remove stale FIXME 2013-01-19 15:38:15 +01:00
Tom Payne
4b971b5f32 Optimize tile dropping in reprioritize 2013-01-19 15:24:50 +01:00
Tom Payne
a8dc810696 Use Infinity rather than undefined to drop tiles 2013-01-19 15:24:02 +01:00
Tom Payne
4846a6a7b3 Only update wanted tiles if not all tiles are loaded 2013-01-19 15:03:01 +01:00
Tom Payne
3ec2014ad1 Rename tileUsage to usedTiles 2013-01-19 15:03:01 +01:00
Tom Payne
1c524caae6 Discard unwanted tiles from tile queue 2013-01-19 15:03:01 +01:00
Tom Payne
111b4585a8 Fix key usage 2013-01-19 14:50:25 +01:00
Tom Payne
7babfebef9 Set frame state immediately after rendering 2013-01-19 14:50:18 +01:00
Tom Payne
9cf314fd64 Sort object properties 2013-01-19 14:50:14 +01:00
Tim Schaub
0414e337b3 Render lines 2013-01-18 17:57:32 -07:00
Tim Schaub
140e9ba355 General purpose canvas renderer
Currently only renders points as circles.  Eventually will have methods for other geometry types and other symbolizer types.  Also provides static methods to render point symbolizers (returning a canvas that can be drawn on another).
2013-01-18 17:42:12 -07:00
Tim Schaub
b92fdaf911 Going with point, line, and polygon symbolizers
Separate fill and stroke symbolizers make a nicer API, but less efficient rendering
2013-01-18 17:20:10 -07:00
Tim Schaub
fd0a5f3622 Point, linestring, and linearring coordinates as Float32Array 2013-01-18 15:57:48 -07:00
Tim Schaub
278d32061f To be reworked for rendering like geoms with same symbolizer 2013-01-18 15:55:24 -07:00
Tim Schaub
3ac437393a To be reworked as ol.renderer.canvas.VectorLayer 2013-01-18 15:54:48 -07:00
Éric Lemoine
c0c9cdef15 New tile queue implementation (heapify-powered) 2013-01-18 21:02:09 +01:00
Tom Payne
f3978d200f Use Alt+Shift to rotate by default, refs #21 2013-01-18 14:09:32 +01:00
Tom Payne
2b8aefbabf Add ol.condition.altShiftKeysOnly 2013-01-18 14:03:37 +01:00
Peter Robins
11938d2264 Add missing dependencies, refs #116 2013-01-18 13:01:10 +01:00
Tim Schaub
74281d2b00 Merge from master 2013-01-17 18:12:06 -07:00
Tom Payne
f377a70dc5 Export ol.Map.addPreRenderFunction* 2013-01-18 01:59:59 +01:00
Tom Payne
bff8a2bb1e Add DebugTileSource exports 2013-01-18 01:16:14 +01:00
Tom Payne
6542f2037b Merge pull request #127 from twpayne/animated-zoom
Animated zoom
2013-01-17 15:23:39 -08:00
Tom Payne
37d29fb82b Merge pull request #131 from twpayne/add-missing-exports
Add missing exports
2013-01-17 15:21:28 -08:00
Tom Payne
e3c85dec8e Export ol.View2D 2013-01-18 00:19:45 +01:00
Tom Payne
d34a71e453 Export ol.RendererHints.createFromQueryData 2013-01-18 00:19:22 +01:00
Tom Payne
76e600d5f6 Fix Stamen exports 2013-01-18 00:19:06 +01:00
Tom Payne
4f2c657cf2 Export ol.tilegrid.XYZOptions 2013-01-18 00:17:50 +01:00
Tom Payne
0122c6cc0c Export ol.tilegrid.TileGridOptions 2013-01-18 00:17:09 +01:00
Tim Schaub
fe56b15c52 Clear canvas with opacity 1 2013-01-17 15:30:16 -07:00
Tom Payne
7c660f6ac0 Export animation functions, thanks @elemoine 2013-01-17 22:58:05 +01:00
Tim Schaub
10672ad303 Standardizing color ranges (see #129) 2013-01-17 14:19:50 -07:00
Tim Schaub
b36eab1dfa Properly set transform before filling background (closes #128)
Order of args is m11, m12, m21, m22, dx, dy
2013-01-17 13:40:00 -07:00
Tim Schaub
141e5aa9fc Trim search string before use
The `window.location.search` string includes the "?" symbol.  Without this change, `createFromQueryData` only works if the "renderer" parameter is not in first position (see 4037bafc45).
2013-01-17 13:05:47 -07:00
Tom Payne
9428a94968 Add animated zoom to keyboard zoom interaction 2013-01-17 16:21:53 +01:00
Tom Payne
90b7cfb330 Add animated zoom to zoom control 2013-01-17 16:21:53 +01:00
Tom Payne
965d5e2cc8 Add animation duration to ol.View2D.zoom 2013-01-17 15:50:28 +01:00
Tom Payne
0257db05df Add zoom from animation 2013-01-17 15:38:11 +01:00