ahocevar
16865fc1fa
Removing no longer needed Tiled Vector Source.
2013-01-22 13:24:37 +01:00
Tim Schaub
c50fcecf42
Vector rendering example
...
There is a ton of room for optimization here. The vector layer renderer should only render dirty areas and could maintain a cache of rendered canvas tiles. The vector source could have a simple spatial index for features (by tile coord). Need to also discuss how to work with this animation framework (to avoid the excess work while waiting for tiles to load on every other layer).
2013-01-22 01:46:27 -07:00
Tim Schaub
1dd17fc88f
Rendering vector layers
2013-01-22 01:36:32 -07:00
Tim Schaub
92c8c9c5df
Shape extends point
2013-01-21 23:20:52 -07:00
Tim Schaub
45af404f4b
Initial tests for filter
2013-01-21 18:06:29 -07:00
Tim Schaub
e4132813af
Shorter name
2013-01-21 18:06:14 -07:00
Tim Schaub
f80f4fab36
Symbolizer literals will be cached by the renderer
2013-01-21 18:03:25 -07:00
Tim Schaub
0f33561af2
Skeleton canvas renderer for vector layer
2013-01-21 18:02:28 -07:00
Tim Schaub
1a63bf078f
Basic vector source and layer
...
The vector source maintains a cache of features. These are indexed by geometry type in anticipation of the renderer's needs.
2013-01-21 17:59:09 -07:00
Tim Schaub
9543ce4d4a
Initial filter package, geometry type filtering only for now
2013-01-21 17:57:12 -07:00
Tim Schaub
89bc69ccc1
Types for rings and mixed collections
2013-01-21 17:56:12 -07:00
Tim Schaub
6ef2184c83
Geometry type enumeration
2013-01-21 17:46:41 -07:00
Tim Schaub
0fad23970c
Disallowing mixed geometry collections for now
2013-01-21 14:46:45 -07:00
Tim Schaub
7ef127cfac
Shorter name for ol.Feature
2013-01-21 14:46:02 -07:00
Tim Schaub
b4d44f815f
Add getBounds to geometry
2013-01-21 12:59:04 -07:00
Tim Schaub
216d30ddc1
Getting the nanometer precision we deserve with web mercator
2013-01-21 10:52:17 -07:00
Tim Schaub
3cf3ef629c
Lint
...
Caught by `build.py precommit` not `build.py lint`.
2013-01-21 10:51:38 -07:00
ahocevar
300c1048bd
Cache and bucket fixes
2013-01-21 15:56:35 +01:00
ahocevar
e060498fad
Fixing compiler errors (mostly caused by typos)
2013-01-21 13:41:18 +01:00
ahocevar
d3e63bc98a
Basic feature implementation
2013-01-21 12:16:04 +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
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
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
Tim Schaub
74281d2b00
Merge from master
2013-01-17 18:12:06 -07:00
Tom Payne
bb51709945
Use OpenStreetMap tiles in canvas tiles example
...
Stamen exports aren't quite right yet.
2013-01-18 00:34:44 +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
d6de79b2bd
Merge pull request #129 from tschaub/color
...
Going with CSS norms for r/g/b/a values.
2013-01-17 13:28:51 -08:00
Tim Schaub
f39b6a1be3
Errant require
2013-01-17 14:23:35 -07: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