Tom Payne
f1a9f76841
Break out of forEachFeatureAtPixel as soon as hit detected in vector-layer example
2013-12-04 00:05:45 +01:00
Tom Payne
41811e6566
Break out of forEachFeatureAtPixel as soon as hit detected in synthetic-points example
2013-12-04 00:05:45 +01:00
Tom Payne
15fd9f7662
Break out of forEachFeatureAtPixel as soon as hit detected in icon example
2013-12-04 00:05:44 +01:00
Éric Lemoine
6b9bc9d8e8
Use hit detection in vector-layer example
...
The hit detection code doesn't correctly play well with the skiping of geometries using the renderGeometryFunction. Features/geometries that are not rendered by the replay API are not detected by the hit detection mechanism. For that reason, until we find a solution, we don't use renderGeometryFunction in the vector-layer example.
2013-12-02 15:06:19 +01:00
Éric Lemoine
24e7a81ae5
Detect when mouse is over marker in icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
53ecc8edb6
Add popup back to icon example
2013-12-02 15:06:19 +01:00
Éric Lemoine
a1e1393f44
Add hit detection to synthetic-points example
2013-12-02 15:06:19 +01:00
Éric Lemoine
e358321b92
The iRender draw functions are passed a data object
2013-12-02 15:06:18 +01:00
Bart van den Eijnden
029c7ea7f3
add missing requires
2013-12-02 09:48:59 +01:00
Bart van den Eijnden
d9ba4e387c
add an example to display GPX tracks
2013-12-02 09:46:11 +01:00
Frederic Junod
e2d9c77e08
Notify if WebGL is not supported
2013-11-29 10:43:02 +01:00
Frederic Junod
0908490385
Add lineDash property to ol.style.Stroke
2013-11-28 13:47:31 +01:00
Frederic Junod
b210073ef0
Add lineCap property to ol.style.Stroke
2013-11-28 09:36:54 +01:00
Tim Schaub
8cc4ae8dbd
Separate load requests from feature requests
...
This separates the action of requesting an extent to be loaded from the action of requesting cached features. The renderer (or any other consumer of a vector source) calls load to request a data extent. A `featureload` event fires when new features are loaded. The renderer (or any other consumer) separately asks for cached features given an extent. This vector source only loads features once, but this separation will also work with sources that make multiple requests for data in different extents.
This also removes the `data` option from the vector source in favor of a `features` option. Since we no longer have shared data structures for geometries, people can manually create features and pass them to a vector source. The `addFeatures` method is exported as well. This is used to add features to a source that don't have a representation on the "remote" (or server).
2013-11-27 12:22:32 -07:00
Tom Payne
424f8fcc6d
Merge remote-tracking branch 'openlayers/master' into vector-api
2013-11-27 13:10:20 +01:00
Éric Lemoine
82e03ea508
Add an icon example
2013-11-26 16:32:03 +01:00
Éric Lemoine
1d8fefe683
Adapt styleFunction in vector-layer example
2013-11-26 14:19:24 +01:00
Éric Lemoine
972deebbc6
Adapt styleFunction in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
9be03b2e3a
Use ol.style.Style in synthetic-points example
2013-11-26 14:19:24 +01:00
Éric Lemoine
305be3c689
Adapt styleFunction in synthetic-lines example
2013-11-26 14:19:24 +01:00
Éric Lemoine
82aa5cc675
Adapt styleFunction in rtree example
2013-11-26 14:19:24 +01:00
Éric Lemoine
39af934e71
Adapt styleFunction in geojson example
2013-11-26 14:19:24 +01:00
Tom Payne
9576473072
Port rtree example to ol.structs.RBush
2013-11-26 11:57:37 +01:00
Bart van den Eijnden
d02af43161
Merge pull request #1130 from bartvde/sld3
...
Add Styled Layer Descriptor (SLD) version 1.0.0 parser (read/write) (r=@ahocevar)
2013-11-25 01:56:16 -08:00
Tom Payne
ae29e70cfd
Use ol.style.Style in rtree example
2013-11-24 16:55:20 +01:00
Éric Lemoine
b78bcce8ab
Draw a temporary point in geojson example
2013-11-22 17:01:55 +01:00
Tom Payne
fd48b06dc0
Skip rendering highlighted feature in vector-layer example
2013-11-22 11:34:42 +01:00
Éric Lemoine
381eef2cfb
Simplify style setting in geojson example
2013-11-21 23:06:01 +01:00
Éric Lemoine
43a903d98b
Make vector-layer example work when hosted
2013-11-21 23:04:37 +01:00
Éric Lemoine
ed79da6c0c
Add vector tag to geojson example
2013-11-21 23:02:25 +01:00
Éric Lemoine
4b91065f00
Make dynamic-data example work when hosted
2013-11-21 23:02:25 +01:00
Éric Lemoine
082d126544
synthetic-data example renamed to synthetic-points
2013-11-21 23:02:24 +01:00
Tom Payne
602f9642d4
Use ol.style.Style in GeoJSON example
2013-11-21 20:25:43 +01:00
Tom Payne
55a43c9a98
Use ol.style.Style and construct style object once
2013-11-21 18:22:01 +01:00
Frederic Junod
ed211d5631
Use ol.style.Stroke and ol.style.Fill instances in vector-layer example
2013-11-21 18:05:18 +01:00
Tom Payne
760ee7c46f
Use requestRenderFrame in vector layer example
2013-11-20 18:20:19 +01:00
Tom Payne
d367560faf
Avoid re-rendering map on every mousemove
2013-11-20 18:19:00 +01:00
Frederic Junod
84dcf24511
Highlight features in vector-layer example
2013-11-20 17:55:37 +01:00
Éric Lemoine
16f3d5879e
Use new ol.style in vector-layer example
2013-11-20 15:35:11 +01:00
Éric Lemoine
7d9b09b4ac
Use new ol.style in synthetic-lines example
2013-11-20 15:35:11 +01:00
Éric Lemoine
ddb2786394
Use new ol.style in synthetic-data example
2013-11-20 15:35:11 +01:00
Éric Lemoine
6db824baa4
Use new ol.style in rtree example
2013-11-20 15:35:10 +01:00
Éric Lemoine
602fd7f13a
Use new ol.style in geojson example
2013-11-20 15:35:10 +01:00
Éric Lemoine
db7ce8e657
Use new ol.style in dynamic-data example
2013-11-20 15:35:10 +01:00
Frederic Junod
4e61f045e1
Remove clearRect from geojson example
2013-11-20 15:14:26 +01:00
Frederic Junod
0bc8ff81e6
Explicitly read and load data in JSON
2013-11-20 11:45:26 +01:00
Éric Lemoine
c217c95e6d
Add a WebGL layer clipping example
2013-11-20 11:45:25 +01:00
Frederic Junod
87014feb01
Use 'postcompose' event to export the map as png image
2013-11-20 11:45:24 +01:00
Frederic Junod
650370f740
Simplify export-map example by removing jpeg output
2013-11-20 11:45:24 +01:00
Frederic Junod
c4e125e972
Rename ol.source.BingMapsOptions style property to imagerySet
2013-11-20 11:44:50 +01:00