Robbie Mackay
ec5df48d01
Add unit test for OpenLayers.Layer.Bing.protocol
...
* Test that attribution logo uses correct protocol
* Test that tile urls use correct protocol
2012-12-14 12:34:26 +13:00
Tim Schaub
0d78dda8c4
Additional test for filter parsing
...
This confirms that literals are properly parsed when they have text node siblings (see #794 ).
2012-12-10 08:59:03 -07:00
ahocevar
ab53f7c311
Do not add viewport to GMaps object before it is fully rendered
...
This avoids issues with Elements renderers, where the nodeFactory method
cannot find nodes while the map viewport is transitioning from the mapDiv
to the googleControl.
2012-12-08 14:53:48 +01:00
ahocevar
d75e3ecac9
Removing google.css from other examples and tests
2012-12-06 10:35:03 +01:00
ahocevar
00d9664b95
No longer touching internal GMaps DOM elements.
...
Simple and effective: As soon as a map has a Google layer, the whole map viewport is added as control to the GMap. As soon as no Google layer is visible on the map any more, the map viewport is appended to the map container again. With this change, OpenLayers strictly limits its GMaps integration to the GMaps API.
Also note that there are no css overrides for the attribution any more. Instead, controls can now be conditionally positioned differently for Google layer by using the .olForeignContainer selector.
2012-12-06 10:35:03 +01:00
Bart van den Eijnden
663ba16b59
make sure we do not fail if OpenLayers.Projection.defaults has not been set for a custom projection
2012-11-23 13:26:26 +01:00
Bart van den Eijnden
195352c403
make sure we can have multiple feature ids in InsertResults
2012-11-21 13:08:37 +01:00
Bart van den Eijnden
ec294af55a
Merge pull request #762 from bartvde/schema
...
parse annotation from WFS DescribeFeatureType schemas (r=@ahocevar)
2012-11-20 08:07:29 -08:00
ahocevar
c48458faa5
Merge pull request #760 from ahocevar/wmscaps-scalehint
...
Correct handling of 0 and Infinity ScaleHint. r=@marcjansen
2012-11-20 08:01:48 -08:00
Bart van den Eijnden
52d69ecfda
documentation is also an array, and lang is optional thanks @ahocevar for the catch
2012-11-20 16:48:50 +01:00
Bart van den Eijnden
cbd9a90477
appinfo can be specified multiple times, so use an array instead thanks @ahocevar
2012-11-20 16:42:06 +01:00
Bart van den Eijnden
f410cd7e41
remove JSON parsing from format, applications should handle this, as suggested by @ahocevar
2012-11-20 16:36:12 +01:00
Bart van den Eijnden
14f009e2f7
parse annotation from WFS DescribeFeatureType schemas
2012-11-20 15:48:48 +01:00
Marc Jansen
798d2b2cb7
Fix exporting empty vector layers to OWSContext.
...
When a vector layer is exported to an OWSContext document, we throw an
exception when the layer contains no features, and the geometries are to be
exported inside of an InlineGeometry-element.
This commit fixes this behaviour by exporting sth. like this in such cases:
<Layer name="vector" hidden="0">i
<ows:Title xmlns:ows="http://www.opengis.net/ows "/>
<InlineGeometry/>
</Layer>
2012-11-20 10:38:25 +01:00
ahocevar
cbc4f4e422
Correct handling of 0 and Infinity ScaleHint
...
minScale and maxScale values of 0 and Infinity do not make sense in
OpenLayers, but they are used in WMS GetCapabilities 1.1.1 to indicate
that there is no minScale or maxScale restriction. Assuming that the
capability values for minScale and maxScale are passed as config options
to a WMS layer, it is better to not set minScale and maxScale when 0 or
Infinity are found in the ScaleHint.
2012-11-16 17:31:45 +01:00
Tim Schaub
12046503ca
Merge pull request #435 from tschaub/kind-transform
...
Stay on the world when transforming coords.
2012-11-14 11:26:11 -08:00
Bart van den Eijnden
3265b0e73f
Make sure config.headers does not overwrite DEFAULT_CONFIG.headers in OpenLayers.Request.issue
2012-11-13 16:12:14 +01:00
ahocevar
4f5bcdbe76
Fixing mock
2012-11-07 16:25:34 +01:00
Bart van den Eijnden
a4df9a871b
when using BBOX or Fixed strategies, pass on the filter used in the request to the loadstart event. This is mostly important in the case of BBOX, since there is no other way to get the filter used in the request. An example use case is doing a hitCount request using the same filter to find out the true number of features matched on the server-side
2012-11-07 11:43:18 +01:00
Bart van den Eijnden
c420fc6aad
fix up Strategy.BBOX tests
2012-11-06 15:14:22 +01:00
Éric Lemoine
7ecbce28aa
Merge pull request #742 from finn-no/scroll-touch-fix
...
Fixed problems with touch events on a scrollable page
2012-11-06 06:04:07 -08:00
Gregers Gram Rygg
4842c9e572
Renamed _mochWin to olMochWin
2012-11-05 23:04:32 +01:00
Gregers Gram Rygg
0fbe28a348
Removed debugger statement
2012-11-05 22:31:15 +01:00
ahocevar
a54ecca32b
Merge pull request #705 from ahocevar/animation
...
Remove complexity from the image loading sequence. r=@elemoine,@tschaub
2012-11-05 10:33:59 -08:00
ahocevar
5a3bcc716b
Not using requestAnimationFrame
...
Using the Timeline tab of the Chrome Developer Tools, no significant
difference of Paint events can be observed when requestAnimationFrame is
used. So I agree with @elemoine that there is no need to introduce
asynchronous behavior here.
2012-11-05 17:28:10 +01:00
Bart van den Eijnden
b45f903198
Merge pull request #744 from bartvde/cqlnull
...
add support for OpenLayers.Filter.Comparison.IS_NULL in CQL format (thanks @elemoine for the review)
2012-11-05 06:42:38 -08:00
Bart van den Eijnden
41ac2dea08
add support for OpenLayers.Filter.Comparison.IS_NULL in OpenLayers.Format.CQL
2012-11-05 13:21:51 +01:00
ahocevar
796a349c61
Synchronous image loading for opacity and backbuffer tests
2012-11-05 10:40:50 +01:00
ahocevar
ebeb49b5e7
blankImageUrl is no longer needed for image tiles
2012-11-05 10:40:05 +01:00
tschaub
47ef7e87f7
Handle whitespace and escaped quotes in CQL values
...
See #743 .
2012-11-02 11:44:41 -06:00
Gregers Gram Rygg
a2a391d3b5
Fixed problems with touch events on a scrollable page
2012-11-02 14:22:46 +01:00
Tim Schaub
8d0da09454
Merge pull request #733 from tschaub/filter-tweaks
...
Allow writer functions to use document fragments when they need to append more than a single child to the parent.
2012-10-26 09:45:53 -07:00
Tim Schaub
8d8a9f3105
Merge pull request #729 from tschaub/date
...
WFS date filter literal not sent as ISO format
2012-10-26 09:01:54 -07:00
tschaub
e6399a265d
Use document fragments to write multiple nodes
...
For writer functions that need to generate multiple nodes, the
createDocumentFragment method can be used.
2012-10-25 11:56:48 -06:00
tschaub
81d3584e09
Test custom encodeLiteral function
2012-10-25 11:24:55 -06:00
ahocevar
7f2ce74dd7
Merge pull request #732 from ahocevar/wmts-serverresolutions
...
WMTS layers created from capabilities have no serverResolutions. r=@sbrunner
2012-10-25 08:06:05 -07:00
ahocevar
ca532c5db6
WMTS layers created from capabilities have no serverResolutions
...
By adding serverResolutions to the WMTS configuration, it is possible to
use WMTS layers as overlays, even if the map or the base layer is
configured with different resolutions than the WMTS.
2012-10-25 14:40:26 +02:00
Tim Schaub
ed66271be3
Use ISO 8601 formatting for dates in filters
2012-10-24 11:16:29 -06:00
tschaub
edb4798518
Testing multiple track attributes
2012-10-23 14:24:48 -06:00
Xavier Mamano
ee34448844
Add test remove features and zoom on Strategy/Cluster.html
2012-10-17 19:06:53 +02:00
Matt Walker
a65a231da3
Updated IS_NULL filter to check for strict null.
...
The IS_NULL filter evaluates to true only when the
property is null. Updated tests to reflect this
change.
2012-10-16 08:11:59 +01:00
Matt Walker
ea5a510d45
Moved node var declaration to the top of the function
2012-10-15 11:16:00 +01:00
Matt Walker
a9494394da
Comparing the filter XML written using t.xml_eq.
...
The PropertyIsNull test now used the t.xml_eq method
to verify the XML output when the filter is written.
Tided up variable names to be consistent with other
tests.
2012-10-15 11:09:52 +01:00
Matt Walker
41dac08cfa
Resolved redefinition of filter variable in test
2012-10-15 09:51:56 +01:00
Matt Walker
8f860e516e
Removed stray console.log in PropertyIsNull test
2012-10-13 20:05:43 +01:00
Matt Walker
0707bb49bd
Merge remote-tracking branch 'upstream/master'
2012-10-13 19:59:41 +01:00
Matt Walker
f08c562955
Added IS_NULL evaluate feature tests
2012-10-13 09:47:23 +01:00
Matt Walker
6a37e72ae3
Added some comments to Format/Filter tests.
2012-10-12 22:49:30 +01:00
Matt Walker
d5013d6df5
Added support for PropertyIsNull filter.
...
Added a simple comparison and read/write for PropertyIsNull
encoded as XML including tests for each.
2012-10-12 22:40:56 +01:00
ahocevar
583dc15700
Merge pull request #587 from ahocevar/587
...
Layer.WMS: BBOX precision errors in URLs. r=@bartvde
2012-10-12 08:53:23 -07:00