Commit Graph

9936 Commits

Author SHA1 Message Date
Frédéric Junod 6a276a408d Merge pull request #905 from fredj/css_classes_fixup
IE10 compatibility: full-screen-drag-rotate-and-zoom.html
2013-08-19 01:03:01 -07:00
Tim Schaub 94c4d420a6 Merge pull request #911 from tschaub/expression-literals
Parse literal nodes in expressions in addition to text nodes.
2013-08-16 08:36:25 -07:00
Tim Schaub 9b90129b24 Merge pull request #904 from tschaub/test-correction
Correctly make assertions with expect.
2013-08-15 11:44:31 -07:00
Tim Schaub 183b51a1c0 Parse literal nodes in expressions in addition to text nodes 2013-08-15 14:32:47 -04:00
Frédéric Junod a12d41b1bc Merge pull request #908 from fredj/bing_key
Fix BingMaps API key in example
2013-08-15 06:11:19 -07:00
Frederic Junod c793b18c44 Fix BingMaps API key in example 2013-08-15 14:10:29 +02:00
Frederic Junod 4afe025c75 Add missing space between CSS classes 2013-08-15 13:58:58 +02:00
Bart van den Eijnden c3a920774b Merge pull request #852 from bartvde/ogcfilter2
Add parser for OGC Filter 1.0 and 1.1 (read/write) (r=@tschaub,@ahocevar)
2013-08-15 02:12:58 -07:00
Bart van den Eijnden ab7d446e25 Merge pull request #3 from tschaub/bartvde-ogcfilter2
Suggestions for filter encoding
2013-08-15 02:12:03 -07:00
Tim Schaub db658e491f Correct use of expect with spies 2013-08-14 11:57:53 -04:00
Tim Schaub 89daf91c0b Proper use of expect 2013-08-14 11:50:18 -04:00
Tim Schaub 6c8ec8ed95 Test names and instanceof checks 2013-08-14 11:35:44 -04:00
Tim Schaub 2d95488906 Remove special write-only handling for dates 2013-08-14 11:26:01 -04:00
Tim Schaub 824c950824 Parse distance as a number 2013-08-14 09:33:47 -04:00
Tom Payne e23cbbac13 Merge pull request #902 from twpayne/fix-color
Fix opacity in createFromString
2013-08-14 05:29:09 -07:00
Tom Payne 362ace01da Fix opacity in createFromString 2013-08-14 12:02:23 +02:00
Bruno Binet 7b95509970 Merge pull request #899 from bbinet/renderer-refactoring
Renderer refactoring related to the layer groups
2013-08-13 08:25:33 -07:00
Bruno Binet 88da6da3a7 Trigger CHANGE event only when required
For example only when layer is both ready and visible.
2013-08-13 16:41:43 +02:00
Bruno Binet 8b435059f7 Update color matrices based on framestate values
In getColorMatrix method, we'll update the color matrices only if layerstate
color properties has changed in the framestate.
2013-08-13 16:24:44 +02:00
Bruno Binet 46ea218d0f Make layer renderers more stupid
Layer renderers should not be responsible for listening to layer
properties change and triggering a render.
Layer change events are now forwarded to the map which will trigger a render.
2013-08-13 16:24:44 +02:00
Bruno Binet a13d4bdded Merge pull request #797 from bbinet/layergroup
Layer group support
2013-08-13 07:24:21 -07: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 3ecb5b89ff Create a custom event type for vector layers
Vector layers will now dispatch ol.layer.VectorLayerEventType.ADD and
ol.layer.VectorLayerEventType.REMOVE event types instead of the generic
goog.events.EventType.CHANGE event type.
This will fix a maximum call stack size exceeded javascript error.
2013-08-13 12:27:38 +02:00
Bruno Binet e4c36378ac ol.Map now have a LAYERGROUP property
The LAYERS property is gone.
2013-08-13 12:27:38 +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 1100cc67da Get opacity from layerState in webglmaprenderer
instead of getting it from layer.getOpacity().
Fix the issue of changing opacity which didn't work with LayerGroups in webgl.
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 1aa695580b Add tests for layer.getLayerState() 2013-08-13 12:27:38 +02:00
Bruno Binet 31c8644716 Add tests for ol.layer.LayerGroup 2013-08-13 12:27:38 +02:00
Bruno Binet 1d15d840ac Add layergroup exports 2013-08-13 12:27:37 +02:00
Bruno Binet 097ce52060 Add layergroup support 2013-08-13 12:27:37 +02:00
Bruno Binet f731d5632c Merge pull request #898 from bbinet/input-valueasnumber
Add support for binding input value as number
2013-08-13 03:24:54 -07:00
Bruno Binet dddea56c2c Add a temporary html5 externs file
This is needed because the current version of closure compiler we use does not
include externs for valueAsNumber which we now use in ol.dom.Input.
So this backports patch from issue:
https://code.google.com/p/closure-compiler/issues/detail?id=1060

This patch should be reverted when the next closure compiler release is out
with valueAsNumber externs.
2013-08-13 11:31:58 +02:00
Bruno Binet 2dd6321c74 Fix bind-input example to use valueAsNumber 2013-08-13 11:31:58 +02:00
Bruno Binet afee1ab975 Add VALUE_AS_NUMBER property to ol.dom.Input
This should be used when one want to bind a number instead of a string.
2013-08-13 11:31:58 +02:00
Tim Schaub a3ec0d776c Building an expression with constructors instead of ol.expr.parse 2013-08-09 17:15:42 -06:00
Bart van den Eijnden 09c27f430d remove accidentally committed swap file 2013-08-09 15:58:31 +02:00
Bart van den Eijnden 8792973c08 make sure the _expression reader can deal with combined propertyname and literals 2013-08-09 15:57:29 +02:00
Bart van den Eijnden 29954d2ff9 trim the string before passing it off to ol.expr.parse 2013-08-09 11:08:19 +02:00
Bart van den Eijnden deb88a5a6d change _expression reader 2013-08-09 10:42:16 +02:00
Bart van den Eijnden 1948233d1f merge with master - solving conflicts 2013-08-09 09:55:44 +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 2f37816608 Use X, Y or I, J depending on WMS version
This also adds consistency - Pixel coordinates are now always
rounded to integers.
2013-08-08 14:43:49 +02:00
Tim Schaub bfff0197d7 Merge pull request #894 from tschaub/more-geojson
Allowing all GeoJSON types to be read as an array of features.  This makes the parser more useful when used with a source that may not already be a feature collection.
2013-08-08 05:41:11 -07:00
ahocevar c1746f2549 No array needed for a single event
Thanks @bartvde.
2013-08-08 13:19:26 +02:00
Tim Schaub 254f325f29 Provide a method for parsing any GeoJSON as an array of features 2013-08-07 11:50:37 -06:00
Tim Schaub 1f588821b4 Merge pull request #892 from tschaub/symbolizer-opacity
Separate fill and stroke opacity.
2013-08-07 07:52:49 -07:00
Tom Payne 9fdcfedd96 Merge pull request #893 from twpayne/plovr-81ed862
Use plovr-81ed862
2013-08-06 07:05:46 -07:00
Tom Payne 05c950156a Use plovr-81ed862 2013-08-06 15:20:43 +02:00