Tim Schaub
fb27d44840
Merge pull request #931 from tschaub/example-data
...
Move png to data to work with host-examples task.
2013-08-28 07:46:13 -07:00
Frederic Junod
010eda74df
Fix unclosed div in examples/icon.html
2013-08-28 11:58:33 +02:00
Tim Schaub
ab2c4387b8
Move png to data to work with host-examples task
2013-08-27 16:36:13 -06:00
Tim Schaub
efeb00e4a5
Add x/y offset for icon symbolizers
2013-08-27 16:22:45 -06:00
Tim Schaub
9c824584b3
Example using an icon symbolizer and displaying a popup
...
I'm adding this example to demonstrate a few things that should change:
* the icon symbolizer should accept xOffset and yOffset in pixels
* the `ol.geom.Geometry.prototype.getCoordinates` method should be exported
* overlays should have a `panIntoView` method
2013-08-27 16:22:45 -06:00
Tim Schaub
6ddef67cd9
Add KML earthquake example
2013-08-23 18:17:42 -04:00
Tim Schaub
554a725d1a
Merge pull request #912 from tschaub/seperate-fill-stroke
...
Separate fill and stroke symbolizers. Allow styles with no rules (and also support "else" symbolizers).
2013-08-19 15:43:06 -07:00
Éric Lemoine
3f6b9c9434
Use ol.Collection#extend in examples
...
This commit changes the examples to using ol.control.defaults().extend to extend the collection of controls. This is in preparation for a future commit that will remove the 2nd argument to ol.control.defaults. The same is done for ol.interaction.defaults.
2013-08-19 14:25:38 +02:00
Éric Lemoine
77adbdfa7a
Use per-animation function modules
...
Currently the animation functions share the same module, namely ol.animation. We do differently for ol.control.defaults and ol.interaction.defaults, with ol.control.defaults and ol.interaction.defaults module. This commit replaces the ol.animation module by four modules, one for each animation function.
This makes things more consistent, and will make it possible to use the @exportFunction annotation for the exporting of the animation functions.
2013-08-19 14:25:38 +02:00
Tim Schaub
7ccc45b276
No need for rules if no rules have filter
2013-08-15 15:38:58 -04:00
Tim Schaub
dd72408a88
Dependencies
2013-08-15 14:07:11 -04:00
Tim Schaub
af1cd64018
Lint
2013-08-15 13:54:37 -04:00
Tim Schaub
bad401bc17
Add support for "else" symbolizers
...
When a style has no rules, the "else" symbolizers apply. When a style has rules and none of them apply to the given feature, the "else" symbolizers apply. Note that this is different than default symbolizer properties that might be merged into all symbolizers (as in OL2) - I don't think we should support that.
2013-08-15 10:37:18 -04:00
Tim Schaub
c36ceab2a0
Separate stroke and fill
2013-08-15 10:37:18 -04:00
Frederic Junod
c793b18c44
Fix BingMaps API key in example
2013-08-15 14:10:29 +02:00
Bruno Binet
54bf8c2d2a
Bindto valueAsNumber in layer-group example
...
(now that #898 is in)
2013-08-13 12:37:00 +02:00
Bruno Binet
d84477c1c0
Bind more layer properties in layer-group example
...
This allows to update hue, saturation, brightness, contrast values.
2013-08-13 12:27:38 +02:00
Bruno Binet
f3b63d9c2c
Add a layer-group example
2013-08-13 12:27:38 +02:00
Bruno Binet
2dd6321c74
Fix bind-input example to use valueAsNumber
2013-08-13 11:31:58 +02:00
ahocevar
5673feb48f
Merge pull request #885 from ahocevar/wms-getfeatureinfo
...
Implement WMS GetFeatureInfo
2013-08-08 07:44:04 -07:00
ahocevar
f1e01511b9
Fixing example title
...
Thanks @bartvde for catching this.
2013-08-08 15:55:37 +02:00
ahocevar
c1746f2549
No array needed for a single event
...
Thanks @bartvde.
2013-08-08 13:19:26 +02:00
Tim Schaub
c2cc1af2ac
Separate opacity in examples
2013-08-05 11:32:48 -06:00
Tim Schaub
f210d6d0e1
Rename line symbolizer opacity to strokeOpacity for consistency
...
We already have strokeColor and strokeWidth. Having strokeOpacity makes sense.
2013-08-05 11:16:49 -06:00
ahocevar
56e8b1cfb4
Get projection and axis order from GML data
...
To make tests pass, the winding order of the coordinates in the
test data had to be reversed to conform to common gml practice.
2013-08-04 15:10:09 +02:00
ahocevar
58949ed856
Adding tests, and fixing an issue revealed by the tests
2013-07-31 23:42:08 +02: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
Tim Schaub
3061fc6941
Missing requires in test and example lint
2013-07-26 16:20:33 -06:00
Tim Schaub
d36a085449
Slightly different style than other vector example
2013-07-26 16:14:57 -06:00
Tim Schaub
e1a5599f6a
Update example
2013-07-26 15:52:32 -06:00
Tim Schaub
f677eb8c50
Rendering 110m world TopoJSON
2013-07-26 15:05:53 -06:00
Frederic Junod
e13075f6ff
Don't inject ol.css from loader.js
2013-07-25 11:40:35 +02:00
Éric Lemoine
65ec948cb0
Merge pull request #859 from elemoine/zoomtoextent
...
Add a ZoomToExtent control
2013-07-19 05:46:26 -07:00
ahocevar
c3bed305c7
Merge pull request #870 from ahocevar/vector-api
...
Give VectorSource the ability to load and parse data
2013-07-19 05:06:19 -07:00
ahocevar
a9fcc5ff15
Addressing @elemoine's review comments
2013-07-19 13:30:14 +02:00
ahocevar
892088ffac
Updating examples to use the new API
2013-07-17 11:39:57 +02:00
Éric Lemoine
fef6359f75
Update key in bing-maps example
2013-07-17 10:21:28 +02:00
Stéphane Brunner
74f446948f
Rotate to north for custom controls example
2013-07-16 17:13:38 +02:00
Stéphane Brunner
d15f68d651
Add navigation controls example
2013-07-16 17:13:38 +02:00
Frederic Junod
e1f8863bd2
Update geolocation example to display all the properties
2013-07-01 15:48:50 +02:00
Tim Schaub
949edb694e
Duplicated id
2013-06-28 10:43:57 -06:00
Tim Schaub
7ebacba720
Use full grid
...
The example documentation should not be restricted to 1/3 of the row unless there is something else consuming the other 2/3.
2013-06-28 10:42:42 -06:00
Tim Schaub
12338783cc
Load scripts in RAW mode by default
...
On-the-fly compilation is a frustrating default.
2013-06-28 10:07:02 -06:00
Éric Lemoine
5d5a248344
ol.source.Source#setLogo is not exported
2013-06-28 11:33:02 +02:00
Éric Lemoine
1d6e428e8f
ol.source.Source#setAttributions is not exported
2013-06-28 00:10:27 +02:00
Tim Schaub
cd14753495
Merge pull request #831 from tschaub/kml-example
...
Nicer KML example
2013-06-27 14:38:57 -07:00
Tim Schaub
a2bc986785
Timezone offset in a tooltip
2013-06-27 14:51:04 -06:00
Éric Lemoine
943bad6e17
Add an IGN WMTS example
2013-06-27 22:37:27 +02:00
Tim Schaub
aab5c8472c
Update example to use expression parsing
2013-06-27 10:17:40 -06:00
Tim Schaub
b7412552a5
Adding a prettier KML example
2013-06-27 10:17:40 -06:00