Éric Lemoine
95bef8d7d2
Fix vector examples
2014-02-06 10:40:09 +01:00
Tom Payne
1f4ab82210
Highlight text in vector-layer example
2014-02-03 16:17:52 +01:00
Tom Payne
81eed8ea01
Add text to vector-layer example
2014-02-03 15:49:06 +01:00
Tom Payne
318fc68159
Convert ol.MapBrowserEvent#get* methods into properties
2014-01-29 14:51:27 +01:00
Tom Payne
777fc2f961
Move countries.geojson into geojson subdirectory
2014-01-23 03:28:53 +01:00
Tom Payne
7ce7bb2187
Merge remote-tracking branch 'openlayers/master' into vector-api
2014-01-09 11:42:14 +01:00
Bart van den Eijnden
78d20056f5
update all the other examples that used MapQuest
2014-01-08 13:36:35 +01:00
Éric Lemoine
643c981074
Use FeaturesOverlay in vector-layer example
...
This demonstrates how to use ol.FeaturesOverlay for feature highlighting.
2014-01-07 15:15:43 +01:00
Tom Payne
0ddcfb694b
Set zoom in vector-layer example to match master
2013-12-16 12:29:57 +01:00
Tom Payne
b31385fcb6
Use ol.source.GeoJSON in vector-layer example
2013-12-11 14:14:33 +01:00
Tom Payne
5acc673c68
Add layer to forEachFeatureAtPixel callbacks in examples
2013-12-04 00:05:45 +01:00
Tom Payne
f1a9f76841
Break out of forEachFeatureAtPixel as soon as hit detected in vector-layer example
2013-12-04 00:05:45 +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
1d8fefe683
Adapt styleFunction in vector-layer example
2013-11-26 14:19:24 +01:00
Tom Payne
fd48b06dc0
Skip rendering highlighted feature in vector-layer example
2013-11-22 11:34:42 +01:00
Éric Lemoine
43a903d98b
Make vector-layer example work when hosted
2013-11-21 23:04:37 +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
Frederic Junod
0bc8ff81e6
Explicitly read and load data in JSON
2013-11-20 11:45:26 +01:00
Frederic Junod
a66a557978
Remove NOCOMPILE flag from vector-layer example
2013-11-20 11:44:47 +01:00
Tom Payne
fc2fece872
Don't rely on goog.functions in vector-layer example
2013-11-20 11:44:45 +01:00
Frederic Junod
77b7abb96a
Don't rely on goog.net.XhrIo in vector-layer example
2013-11-20 11:44:45 +01:00
Tom Payne
b9614d027d
Rename countries example to vector-layer and add mouseover
2013-11-20 11:42:08 +01:00
Tom Payne
4e65fefc00
Move vector code out of the way
2013-11-20 11:39:21 +01:00
Éric Lemoine
8402eee0c3
Map "click" event renamed to "singleclick"
...
As discussed with @tschaub in #1195 .
2013-10-31 09:37:16 +01:00
Éric Lemoine
4008ab7f6c
Vector examples display feature info on click again
2013-10-18 09:59:47 +02:00
Éric Lemoine
fe3440a83d
Use jQuery to listen to map mousemove in examples
...
This commit also removes the click listener, which was used for touch devices. The click listener will be added back when the lib will correctly handle clicks on touch devices.
2013-10-18 09:59:47 +02:00
Tim Schaub
539ecbdd9c
Add stroke support for text symbolizers
2013-10-07 16:17:38 -06:00
Tim Schaub
e71d3aec1a
Update example to use maxResolution
2013-09-27 11:47:29 +02:00
Frederic Junod
764aacb568
Rename {get|set}FeatureId to {get|set}Id
2013-09-17 12:50:56 +02:00
Tom Payne
8f8f94e697
Rename ol.layer.TileLayer to ol.layer.Tile
2013-09-09 15:14:45 +02:00
Tim Schaub
c36ceab2a0
Separate stroke and fill
2013-08-15 10:37:18 -04:00
ahocevar
5673feb48f
Merge pull request #885 from ahocevar/wms-getfeatureinfo
...
Implement WMS GetFeatureInfo
2013-08-08 07:44:04 -07:00
Tim Schaub
c2cc1af2ac
Separate opacity in examples
2013-08-05 11:32:48 -06:00
ahocevar
5acff857e7
Add example, and use getFeatures in other examples
...
The new dedicated getfeatureinfo example shows how to combine
feature info from a WMS and a vector layer. The other examples
that previously used getFeatureInfo from vector layers now use
the more appropriate getFeatures.
2013-07-31 17:47:16 +02:00
ahocevar
892088ffac
Updating examples to use the new API
2013-07-17 11:39:57 +02:00
Tim Schaub
2577d3f7d6
Rename ol.expression to ol.expr
2013-06-25 12:15:34 -06:00
Tim Schaub
233595ac75
Allow registration of custom functions for expressions
2013-06-25 12:15:33 -06:00
ahocevar
d250f4449c
Updating example to use new properties
2013-06-20 15:24:54 +02:00
ahocevar
c17424deec
Basic support for text symbolizers
...
This adds basic label rendering for points and polygons to the
canvas renderer, and a text symbolizer to the style package.
2013-06-19 22:01:51 +02:00
Tim Schaub
2ee0805075
Taking advantage of GitHub's rendering of .geojson
2013-06-18 15:39:45 -06:00
ahocevar
3a6c7cf204
Renaming featureInfoFunction to transformFeatureInfo
2013-06-07 15:34:13 +02:00
ahocevar
77d22c4038
getFeatures method and featureInfo templates
...
To avoid surprises for application developers, this change
creates a new getFeatures method. So it is clear now beforehand
whether features or feature info markup is returned. The result
is now also grouped by layer, so application developers always
have a link between a layer and the feature info it returns.
To make getFeatureInfo return markup for vector layers, this
change also adds a featureInfoFunction property to the vector
layer, which gives developers full control over how features are
rendered to feature info markup.
2013-06-07 15:34:13 +02:00
Tom Payne
46553c719c
Rename ol.projection to ol.proj
2013-05-30 18:55:58 +02:00
ahocevar
8c0f1f979a
Store the feature's commonly used id
...
To not clobber the feature's attributes, this is a separate
member property.
2013-05-23 11:16:17 -05:00
Frederic Junod
db34b37716
getFeatureInfo examples: listen to click events
...
This make the examples works on touch devices.
2013-05-22 12:30:31 +02:00