Tim Schaub
07a56bfe3f
Parsing GeoJSON FeatureCollection
2013-01-22 17:41:22 -07:00
Tim Schaub
35f6984e69
Unused var and some notes
2013-01-22 11:21:35 -07:00
Tom Payne
dda51ecec2
Replace ol.overlay.Overlay with ol.AnchoredElement
...
This commit adds several features:
- rename of class to better reflect its behaviour
- full ol.Object support
- integration with postrender event for integration with animations and
render loop
- minimised DOM modifications
- more precise positioning
- element placed in DIV to avoid modifications to user-supplied element
- correctly handle changes to the positioning property
2013-01-22 15:12:25 +01:00
Tom Payne
4ab09d6df2
Merge pull request #140 from twpayne/array-clean-ups
...
Array clean ups
2013-01-22 06:00:04 -08:00
ahocevar
4e6b864e27
Making default symbolizers compiler safe
2013-01-22 14:09:04 +01:00
ahocevar
16865fc1fa
Removing no longer needed Tiled Vector Source.
2013-01-22 13:24:37 +01:00
Tom Payne
f2164e5028
Export map.getLayers
2013-01-22 13:08:40 +01:00
Marc Jansen
577fc86684
Merge pull request #147 from marcjansen/goog.now
...
Use goog.now() instead of Date.now().
2013-01-22 03:13:15 -08:00
Marc Jansen
8d979127fc
Use goog.now() instead of Date.now().
...
Date.now() is not supported in Internet Explorer up to IE 9. The goog.now()
method can be used as a replacement.
2013-01-22 12:01:44 +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
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
Frédéric Junod
9969a64d81
Merge pull request #143 from fredj/get-renderer-canvas
...
Get renderer canvas
2013-01-21 07:09:18 -08:00
Tom Payne
c0ef84fd5d
Remove stale dependencies
2013-01-21 16:07:06 +01:00
ahocevar
300c1048bd
Cache and bucket fixes
2013-01-21 15:56:35 +01:00
Frederic Junod
2f2ea373ca
Add ol.renderer.Map.getCanvas function. Only valid with the canvas and webgl renderers
2013-01-21 15:18:18 +01:00
Frederic Junod
c836c8d9c4
Add ol.Map.getRenderer function
2013-01-21 15:08:15 +01:00
Tom Payne
f1b11866fd
Remove dependency on goog.array
2013-01-21 14:20:12 +01:00
Tom Payne
3967e17366
Use in-place filtering for pre-render functions
2013-01-21 14:20:12 +01:00
Tom Payne
d76db2005f
Use for loop for iterating over layers
2013-01-21 14:20:12 +01:00
Tom Payne
7229428741
Use in-place filtering for post-render functions
2013-01-21 14:20:11 +01:00
Tom Payne
386bb636bb
Add missing dependencies on goog.array
2013-01-21 14:20:11 +01:00
ahocevar
e060498fad
Fixing compiler errors (mostly caused by typos)
2013-01-21 13:41:18 +01:00
Frédéric Junod
a51cd3b9bd
Merge pull request #139 from fredj/easing
...
Add new ol.easing.elastic and ol.easing.bounce easing functions.
2013-01-21 04:36:45 -08:00
É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