Commit Graph

1940 Commits

Author SHA1 Message Date
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
1c2a1a2a2f Sort object literal exports alphabetically 2013-01-18 01:19:51 +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
Tom Payne
95b48bdec4 Add ol.easing.linear 2013-01-17 15:38:11 +01:00
Tom Payne
54327fb750 Add canvas renderer 2013-01-17 13:54:52 +01:00
Tom Payne
7e7356dfd6 Add canvas checks 2013-01-17 13:54:52 +01:00
Tom Payne
1468a04f8b Merge pull request #122 from twpayne/default-tile-size
Add default tile @define, refs #114, fixes #120
2013-01-17 04:49:38 -08:00
Tom Payne
04b18a8a83 Merge pull request #121 from twpayne/attribution-control-refactoring
Attribution control refactoring
2013-01-17 04:46:57 -08:00
Tom Payne
4657b7ca97 Remove removeLayer, thanks @fredj 2013-01-17 12:40:54 +01:00
Tom Payne
c56e1f8b92 Ensure DOM element is removed when layer is removed 2013-01-17 12:12:09 +01:00
Tom Payne
b880ab80ee Factor out updateTileUsage 2013-01-17 11:51:38 +01:00
Tom Payne
1278ccb942 Add default tile size @define, refs #114, fixes #120 2013-01-16 17:49:51 +01:00
ahocevar
8a38f9aa9d Merge branch 'master' of github.com:openlayers/ol3 into vector 2013-01-16 16:34:59 +01:00
Tom Payne
9fbabc3696 Refactor attribution control 2013-01-16 16:34:31 +01:00
ahocevar
7c05587aed Merge pull request #114 from ahocevar/resolutions
Use validity extent to generate default resolutions. r=@twpayne,@elemoine
2013-01-16 07:17:10 -08:00
Tom Payne
41ccb4dfcd Add ol.Rectangle.extend 2013-01-16 13:53:38 +01:00