Commit Graph
100 Commits
Author SHA1 Message Date
ahocevar 7530751d98 Merge pull request #747 from ahocevar/wpsexecute-mixin
Filter.v1 methods need to be available when using Filter writers. r=@bartvde
2012-11-07 09:51:07 -08:00
ahocevar a2fe036e2c Filter.v1 methods need to be available when using Filter writers
Format classes that define member methods need to be mixed into other
format classes that use their writers. In this case, methods from
Filter.v1 were missing so a test for Format.WPSExecute failed.
2012-11-07 18:14:56 +01:00
ahocevar d431b504bd Missing change that should have gone in with #705 2012-11-07 16:54:26 +01:00
ahocevar 4f5bcdbe76 Fixing mock 2012-11-07 16:25:34 +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
ahocevar 65fa1aaa2d Make sure we do not make abandoned tiles visible 2012-11-05 10:43:05 +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
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
ahocevar 4b7a0b43b1 Merge pull request #709 from jorix/ghostClusters
Bug: Ghost clusters
2012-10-17 10:33:30 -07:00
ahocevar c3b13b5df3 Using radix parameter to make linter happy 2012-10-15 08:27:01 +02:00
ahocevar e38ab01752 Fixing image-layer example 2012-10-13 09:26:45 +02: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 f757580ed4 Merge pull request #634 from ahocevar/634
CacheWrite caches an empty image if the tile is unloaded before the image is loaded. r=@bartvde
2012-10-12 06:41:24 -07: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 cf3ea0c7db Register application listener after the control's 2012-10-12 13:41:54 +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 f78d127b1c Removing console.log line 2012-10-11 23:59:17 +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
ahocevar 0b3f582e10 Merge pull request #708 from mpriour/displayEvent
Fire the 'changelayer:visibility' event from layer's display method
2012-10-09 14:23:28 -07:00
ahocevar 7e5e221c8d Image loading performance improvements
Performance improvements are achieved by using requestAnimationFrame when
a tile's visibility changes, and by not starting with a blank image when
creating a new tile image. It seems that even Firefox does not show a
loading placeholder when the tile is made visible in an animation.
2012-10-05 09:24:53 +02:00
ahocevar 8317744d31 Merge pull request #697 from ahocevar/describelayer
Applying VersionedOGC pattern to WMSDescribeLayer format. r=@bartvde
2012-10-03 05:44:54 -07:00
ahocevar 47379ff7a2 Do not provide an 1.1 parser 2012-10-02 16:28:59 +02:00
ahocevar 88a7b7d3e2 Testing backwards compatibility 2012-10-02 16:11:27 +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
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
ahocevar 503fff32b6 Merge pull request #455 from ahocevar/455
Support Subdomains in Openlayers WMTS. r=@sbrunner
2012-09-13 07:07:11 -07:00
ahocevar c88ad36600 Comment about side effect.
I wonder why isFixed is advertised as APIProperty for Vector layers.
2012-09-07 12:18:12 +02:00
ahocevar 2197f1656a Updating row/col sizes in tests (see #639) 2012-08-31 11:11:34 +02:00
ahocevar ec26dd6564 Merge pull request #644 from fastrde/ModifyFeatureDocumentDrag
Adds documentDrag to ModifyFeature
2012-08-27 02:53:39 -07:00
ahocevar ddd4c4c022 Merge pull request #517 from ahocevar/no-percent
No more percentage based positioning. r=@bartvde,@elemoine,@rdewit
2012-08-21 05:02:11 -07:00
ahocevar 75f2e1f847 Addressing @bartdve's review comments. 2012-08-21 14:00:48 +02:00
ahocevar a3ec0f77e0 Using integer pixel space to avoid whitespace between tiles. 2012-08-21 13:57:11 +02:00
ahocevar 475cd7cd60 Fixing test (backBufferLonLat should not be OpenLayers.Bounds).
Thanks @rdewit for the IE7 test report - this fixes one of the reported issues.
2012-08-21 13:57:11 +02:00
ahocevar b2210d00a9 Removing no longer needed code.
Thanks @elemoine for catching the IE6 reflow in Tile/Image.js.
2012-08-21 13:57:11 +02:00
ahocevar f0ad48597f No more percentage based positioning.
Client zoom now supports both over- and undersampling.
2012-08-21 13:57:11 +02:00
ahocevar 405cebd482 Merge pull request #639 from ahocevar/grid-align
When using a buffer, the grid lacks rows/columns at the top/left. r=@bartvde
2012-08-21 04:47:10 -07:00
ahocevar 26d4fe3ce8 Making row and column size consistent, as suggested by @bartvde. 2012-08-21 13:37:48 +02:00
ahocevar 0f58868830 When using a buffer, the grid lacks rows/columns at the top/left.
This is because the threshold used for deciding when a column or row is shifted is too far to the bottom right. A tiny fix, but effective. A new test makes sure that we don't shift columns more than necessary when the layer is dragged.
2012-08-20 18:52:17 +02:00
ahocevar 87e7cfe29c Merge pull request #632 from ahocevar/wps-client
WPS Client. r=@bartvde,@tschaub
2012-08-18 10:01:01 -07:00
ahocevar e04d7cd627 Addressing final review comments. 2012-08-18 18:56:36 +02:00
ahocevar 88572303fb Addressing @tschaub's review comment. 2012-08-14 13:31:41 +02:00
ahocevar 5fff368a2d Addressing review suggestions and fixing asynchronous function calls.
This commit addresses @bartvde's review comments, adds more documentation, and fixes asynchronous function calls. Previously, when creating multiple processes with the same identifier, the describe callback would only have been called for the first process. This was fixed to move DescribeProcess handling from WPSProcess to WPSClient.
2012-08-14 13:17:07 +02:00
ahocevar 006d98151f Use the correct name of the result, not just hard-coded 'result'. 2012-08-13 13:29:34 +02:00
ahocevar 94f3ab393f Giving the test code more time to execute. 2012-08-12 22:08:43 +02:00
ahocevar 4e3f3e2080 Adding dependencies. 2012-08-12 21:39:15 +02:00
ahocevar 96db01006c Making Firefox happy. 2012-08-11 19:32:17 +02:00
ahocevar e2acbc56d0 More docs and unit tests. 2012-08-11 19:32:17 +02:00
ahocevar ebc71b492e Making sure that the process description is not loaded. 2012-08-11 19:32:17 +02:00
ahocevar ec9ab8129e Adding support for chaining processes. 2012-08-11 19:32:17 +02:00
ahocevar c64621f510 Adding unit tests. 2012-08-11 19:32:17 +02:00
ahocevar b61120d3b5 Cache of DescribeProcess responses on the client. 2012-08-11 19:32:17 +02:00
ahocevar 9bc7bb8115 Using proxy and demo server. 2012-08-11 19:32:17 +02:00
ahocevar 0108250ed9 WPSClient and WPSProcess for convenient WPS interaction. 2012-08-11 19:32:17 +02:00
ahocevar 49227967bc Merge pull request #624 from milkypostman/master
return response object on "loadend" event for Fixed strategy. Also closes #85.
2012-08-08 07:51:56 -07:00
ahocevar 159ee7c7b4 Merge pull request #612 from ahocevar/612
Touch events do not trigger the default action in attribution links. r=@marcjansen
2012-08-01 04:16:38 -07:00
ahocevar aef5517bfa Adding unit tests. 2012-08-01 13:15:59 +02:00
ahocevar 98569203a6 Check whether an event target should be considered for handling. 2012-08-01 10:20:25 +02:00
ahocevar 7249510553 Using the safe unicode representation of the minus sign.
No functional change; see #588.
2012-07-20 09:41:42 +02:00
ahocevar c786952219 Fixing tests. 2012-07-20 09:19:20 +02:00
ahocevar af70240191 Merge pull request #580 from jorix/_onImgLoad
Fix typo "_onImageLoad" is "_onImgLoad"
2012-07-08 23:37:18 -07:00
ahocevar f3b0c2ec9d Merge pull request #558 from dregade/zoomify
fix size initialization and resolution/zoom usage. Thanks @dregade - this change makes fractional zoom work with Layer.Zoomify.
2012-06-29 05:27:08 -07:00
ahocevar f686589d1e Merge pull request #551 from finn-no/projection-test-fix
Fixed broken test
2012-06-27 23:59:56 -07:00
ahocevar 0d8b76d2b2 Merge pull request #546 from finn-no/vendor-prefixes
Vendor prefix detection. Thanks @gregersrygg for this excellent contribution.
2012-06-27 23:29:15 -07:00
ahocevar 293d173079 Simple example with an OSM map, a marker and a popup. 2012-06-25 17:19:53 +02:00
ahocevar 78d07c8d8a Merge pull request #524 from ahocevar/panzoombar
Zoom level restriction improvements. r=@bartvde
2012-06-22 16:59:13 -07:00
ahocevar c8161ed4ee Updating note about the "dimension" attribute. 2012-06-15 11:49:14 +02:00
ahocevar 96dcf6063e Merge pull request #530 from ahocevar/srs-dimension
Respect the srsDimension attribute. r=@bartvde
2012-06-14 06:42:44 -07:00
ahocevar 6052d19c2f Note about mysterious "dimension" attribute. 2012-06-14 15:27:22 +02:00
ahocevar 88982e043f Moving SRSReferenceGroup parser from Base to v3. 2012-06-14 15:18:26 +02:00
ahocevar fa90a42806 Respect the srsDimension attribute.
This also fixes http://trac.osgeo.org/openlayers/ticket/2762. Note: it seems there is no "dimension" attribute for posList in the spec. This attribute name is only used in some examples of the GML 3.1 specification, but it is not mentioned in any of the XSDs.
2012-06-14 12:44:20 +02:00
ahocevar fe31af5c80 Adding unit tests. 2012-06-13 23:14:34 +02:00
ahocevar 032df4b90a Adding a getMinZoom API method.
This can be used by zoom slider controls, e.g. the GeoExt.ZoomSlider. Note that adjustZoom now also respects the map's fractionalZoom setting.
2012-06-13 21:37:59 +02:00
ahocevar 7141d237d9 Create a new reliable updatesize event.
The resize event is not fired in all browsers. What we actually need is an event that is called every time the updateSize method is called.
2012-06-13 21:36:17 +02:00
ahocevar 1d680df6d0 Respect zoom level restriction. 2012-06-12 23:39:29 +02:00
ahocevar 3a5abf552a Merge pull request #519 from ahocevar/zoom-click
New zoomOnClick option for ZoomBox control. r=@bartvde
2012-06-11 10:24:06 -07:00
ahocevar 8ad7ad326a Review comments from @bartvde. 2012-06-11 19:22:05 +02:00
ahocevar 958544f2a7 New zoomOnClick option for ZoomBox control.
This change also finally adds tests for the ZoomBox control.
2012-06-11 19:07:17 +02:00
ahocevar 96359fbc99 Fixing test that broke in FF with ff1f99a03f. 2012-06-11 13:38:42 +02:00
ahocevar 8b2bab9d51 Improvements for Android: no buggy tile transitions, no flicker when tapping. 2012-06-02 22:18:49 +02:00
ahocevar df64798bbb Updating tests after #487. 2012-06-02 14:41:44 +02:00
ahocevar d455d3a62f Merge pull request #487 from ahocevar/better-cache
Don't reuse tile images unless we have a new url to load
2012-06-02 05:23:39 -07:00