Commit Graph

4260 Commits

Author SHA1 Message Date
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
tschaub 596ac680da Use correct track attribute
Previously, the last track attribute name would be used as the
feature attribute name.  For tracks with multiple attributes, this
doesn't work.
2012-10-23 14:15:22 -06:00
ahocevar 4b7a0b43b1 Merge pull request #709 from jorix/ghostClusters
Bug: Ghost clusters
2012-10-17 10:33:30 -07:00
Stéphane Brunner 788d49a3bb Merge pull request #666 from sbrunner/Prevent.KeyboardDefaults-ie
Prevent KeyboardDefaults.js from triggering keyboard events when user is...
2012-10-17 03:01:58 -07:00
Xavier Mamano 3c416a4d60 Clear the cache on Strategy.Cluster when features are removed.
This prevents reappearing the removed features after zooming.
2012-10-16 18:43:53 +02:00
Tom Hughes 628978f894 Clear the bounds in Protocol.BBOX when a load fails
If a load fails then we won't have any features, but we also won't
try and load them again for any part of that area because the bounds
tell us we have already loaded them. So clear the bounds in order
that reloads will be triggered.
2012-10-16 14:16:37 +01:00
Bart van den Eijnden d098897c79 Merge pull request #717 from walkermatt/master
Support for PropertyIsNull Filter
2012-10-16 00:24:23 -07: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 bccd0824b9 Removed duplicate line that gets the filter value 2012-10-15 09:47:10 +01:00
ahocevar c3b13b5df3 Using radix parameter to make linter happy 2012-10-15 08:27:01 +02:00
Matt Walker 0707bb49bd Merge remote-tracking branch 'upstream/master' 2012-10-13 19:59:41 +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
ahocevar a0acf1e550 Calculating rowSign only once 2012-10-12 16:16:44 +02:00
ahocevar 0eb8949ad2 Updating and fixing API docs 2012-10-12 16:11:10 +02:00
ahocevar e5feda7ad7 Camel casing method name 2012-10-12 15:03:38 +02:00
ahocevar 157dd9e1c2 Fixing typo 2012-10-12 14:44:48 +02:00
ahocevar 6607bcc0bb Do not cache data from aborted tile loads
This also results in a simplified cache method that can more easily be
overridden for use with other storage providers.
2012-10-12 14:06:08 +02:00
ahocevar ff4a1b2468 Optimizing positions for rendering
Calculating pixel positions from origin and grid index causes alignment
issues in the grid. By going back to incremental positioning, we get a
result without blank spaces between tiles again.
2012-10-12 03:23:56 +02:00
ahocevar 66455600c7 Better precision for right and top corners 2012-10-12 03:10:42 +02:00
ahocevar 7df5e3ca8e Fixing KaMap layer
This also fixes an issue that has gone unnoticed for a while: the grid did
not cover the bottom of the map viewport, but instead covered an invisible
area above the top of the map viewport.
2012-10-11 23:54:04 +02:00
ahocevar e7292ecbe2 Fixing ArcGISCache layer
This is done by caching the tileOrigin at grid creation time.
2012-10-11 22:26:59 +02:00
ahocevar c5bb52d93f No deltas for tile bounds/position calculation
Now we also do not use deltas for shiftRow and shiftColumn. Some
refactoring was done so we do not need different calculateGridLayout
methods for layers with top-left and bottom-left tile origin.

TODO: With this commit, ArcGisCache and KaMap layers are broken.
2012-10-11 21:22:52 +02:00
ahocevar d4f011d00c Absolute calculation of tile bounds
This avoids cumulated tile bounds errors for layer types that do not use a
tile row/column index in requests (e.g. WMS).
2012-10-10 12:22:57 +02:00
Stéphane Brunner f1e7425821 use OpenLayers.Event.element 2012-10-10 11:28:18 +02:00
Stéphane Brunner 2e44aff5f0 Prevent KeyboardDefaults.js from triggering keyboard events when user is typing into the form elements for IE 2012-10-10 11:28:18 +02:00
Matt Priour e8cc0deeb5 Remove extra event firing logic from Layer::setVisibility 2012-10-09 12:21:25 -05:00
Matt Priour f17a3c70e4 Fire the 'changelayer:visibility' event from layer's display method
Move the changelayer event firing logic for in / out of resolution range
from the Map class to the Layer class. Tests have been also been created
to specifically test that the display method works correctly and fires
events only when needed.
2012-10-09 11:10:55 -05:00
Bart van den Eijnden ec8fa47a39 remove duplicate line in comment 2012-10-08 16:34:12 +02:00
Bart van den Eijnden fd6e7ebe03 allow versioned profiled parsers to fallback to the non-profiled parser, this will help deal with situations in which a WMSC parser is created, the server is requested for WMS 1.1.1, but returns 1.1.0 2012-10-08 16:28:19 +02:00
Tim Schaub c0bff1c3ff Use protocol-relative URL for Bing metadata.
The [URI standard](http://tools.ietf.org/html/rfc3986#section-4.2) allows for URI without a scheme.  Where http is used to load the app, using a schemeless URL for the Bing metadata loads a script using http - and the same goes for https.
2012-10-03 21:44:48 -06:00
ahocevar 47379ff7a2 Do not provide an 1.1 parser 2012-10-02 16:28:59 +02:00
ahocevar 3d1b0f0bd9 Less intrusive version fallback 2012-10-02 16:07:35 +02:00
ahocevar e326a9ea2f Adding TODO, as suggested by @bartvde 2012-10-02 14:40:37 +02:00
ahocevar 84a8d8d1f6 Applying VersionedOGC pattern to WMSDescribeLayer format
The WMSDescribeLayer format currently differs from other formats that
inhreit from VersionedOGC by having an array instead of an object as return
type. This especially bad since the VersionedOGC superclass sets a version
property on the array. With this change, the WMSDescribeLayer format will
also be compatible with GeoServer's new JSON response type for
DescribeLayer - see
http://sourceforge.net/mailarchive/message.php?msg_id=29912776.

Another change included here is the removal of the WMSDescribeLayer
format's getVersion hack, which was replaced by a generic fallback to less
generic parsers, e.g. from a v1_1_1 parser to a v1_1 parser if v1_1_1 is
not implemented.
2012-10-02 14:35:05 +02:00
ahocevar 95839728a1 Declaring undeclared variable 2012-10-02 13:30:47 +02:00
ahocevar 9113bc4004 Merge pull request #695 from ahocevar/wmts
Support for multiple resource urls for WMTS. r=@sbrunner
2012-10-02 01:58:00 -07:00
ahocevar ea86afec16 Addressing @sbrunner's review comment 2012-10-02 10:56:41 +02:00
ahocevar f055f13a3a Fixing typo
Thanks @sbrunner for catching this. That's what I got from making
last-minute changes before committing without testing again.
2012-10-02 10:56:06 +02:00
ahocevar 363306bcd1 Multiple URLs also for unconstrained GetTile resources 2012-10-02 08:58:47 +02:00
ahocevar 22c5e76b0b Support for multiple resource urls
With this change, createLayer generates url arrays for both KVP and REST
encoding if multiple resource urls are provided. To make this work, the
WMTSCapabilities format got a new resourceUrls property, because
previously only the first resourceUrl for a format was stored.
2012-10-01 15:28:30 +02:00
Pierre GIRAUD b63ce9af18 Merge pull request #690 from pgiraud/client_zoom
call stopObserving before setting img.src to blank image as well
2012-10-01 00:36:15 -07:00
ahocevar 51ae75a54f Merge pull request #660 from m-click/fix-setAttributeNS
Fix DOM API call to setAttributeNS()
2012-09-28 03:56:58 -07:00
Pierre GIRAUD 8d8abac32a call stopObserving before setting img.src to blank image as well 2012-09-21 11:32:48 +02:00
Stéphane Brunner e8987c0683 Gets the right url (#608 / 3) 2012-09-14 15:39:12 +02:00
ahocevar 503fff32b6 Merge pull request #455 from ahocevar/455
Support Subdomains in Openlayers WMTS. r=@sbrunner
2012-09-13 07:07:11 -07:00
Stéphane Brunner 4b91b9c304 Merge pull request #615 from sbrunner/wmts-first-matrix-set
gets the first matrix set instance of only the unique one
2012-09-13 06:06:04 -07:00
Tim Schaub 9607ee480a Using the entity reference for copyright symbol. 2012-09-12 21:38:30 -06:00
tschaub 499055e247 Updating attribution for OSM layer.
See http://www.openstreetmap.org/copyright for details.
2012-09-12 09:15:46 -06:00