ahocevar
ebeb49b5e7
blankImageUrl is no longer needed for image tiles
2012-11-05 10:40:05 +01: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
ahocevar
99dd0bbcb2
URL switching for all REST encoded WMTS layers.
2012-06-02 01:48:20 +02:00
ahocevar
a29009be91
Revert "URL switching for all REST encoded WMTS layers."
...
This was accidentally committed to master.
This reverts commit df44a79e1b .
2012-06-02 01:43:31 +02:00
ahocevar
2ff5a7b599
Merge pull request #498 from gregersrygg/remove-old-opera-mouse-wheel-fix
2012-05-30 23:12:14 +02:00
ahocevar
1d957c7f5c
Merge branch 'master' of github.com:openlayers/openlayers into upstream/master
2012-05-30 23:08:06 +02:00
ahocevar
c1690b26c4
Merge pull request #483 from gregersrygg/master
...
Improve analog mouse wheel zooming
2012-05-30 14:03:51 -07:00
ahocevar
5c42aa6fce
Merge pull request #491 from probins/kmlname
...
KML createPlacemark should use attributes.name
2012-05-28 04:58:58 -07:00
ahocevar
ff1f99a03f
Don't reuse tile images unless we have a new url to load.
...
Without this change, some browsers don't cache the images. See #454 for a discussion about this issue.
2012-05-25 18:47:57 +02:00
ahocevar
88fd8038c8
Simplifying configuration.
2012-05-25 18:37:12 +02:00
ahocevar
440b9fb6d3
Using updated URLs.
2012-05-25 17:30:27 +02:00
ahocevar
df44a79e1b
URL switching for all REST encoded WMTS layers.
2012-05-25 14:54:06 +02:00
ahocevar
5879a71f9c
Don't use fade effect on labels.
2012-05-25 13:54:31 +02:00
ahocevar
120cc0680d
Using display:block instead of position:absolute.
...
This fixes a regression that can be seen e.g. when using the FeatureRenderer in GeoExt, causing an incorrect alignment of the renderer.
2012-05-18 12:38:34 +02:00
ahocevar
92f04a7a42
Merge pull request #472 from probins/goopop
...
Fix Google terms/poweredby/popup. Thanks @probins for the quick fix.
2012-05-17 11:31:51 -07:00
ahocevar
e2c9662fa1
Merge pull request #451 from ahocevar/more-title
...
There is no reason to restrict graphicTitle to externalGraphic symbols.
2012-05-15 07:46:33 -07:00
ahocevar
7cabcb10c1
Merge pull request #7 from fredj/more-title
...
Rename style.graphicTitle to style.title
2012-05-15 06:28:49 -07:00
ahocevar
72d1b54956
Also taking into account zoomOffset.
...
Now the meaning of getServerZoom is fully clarified, and we can get rid of some code again as well.
2012-05-11 00:26:09 -06:00
ahocevar
40b4cc49e0
Using OpenLayers.Util.indexOf.
...
Thanks @jorix for catching this.
2012-05-11 00:26:09 -06:00
ahocevar
9585341d9c
Changing/fixing the meaning of getServerZoom.
...
If a layer is configured with serverResolutions, then getServerZoom should return the zoom level as index of the current resolution in the serverResolutions array.
2012-05-11 00:26:08 -06:00
ahocevar
18b4d6808d
Adding missing dependency. Non-functional change.
2012-05-09 11:03:57 +02:00
ahocevar
d01f57d3e6
There is no reason to restrict graphicTitle to externalGraphic symbols.
2012-05-05 12:49:25 +02:00
ahocevar
f4a77cad06
Merge pull request #432 from ahocevar/iframe-opacity
...
Long URLs messing up Opacity. r=@elemoine,@lewinmadrid
2012-04-24 12:32:48 -07:00
ahocevar
fc0b15ad45
Overriding onImageLoad to set the opacity on the correct element.
2012-04-24 08:08:41 -04:00
ahocevar
179433da2f
For IFrame tiles, we need to set opacity on the IFrame's parent.
2012-04-23 18:46:28 -04:00
ahocevar
a57c56ed96
Revert "Merge pull request #432 from ahocevar/iframe-opacity"
...
This reverts commit af046b9af8 , reversing
changes made to f36fd5f0d1 . The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
ahocevar
af046b9af8
Merge pull request #432 from ahocevar/iframe-opacity
...
Long URLs messing up Opacity. r=@elemoine
2012-04-23 14:14:08 -07:00
ahocevar
11cc960be5
Setting opacity on the IFrame's parent, like we used to do in 2.11.
2012-04-23 10:36:51 -04:00
ahocevar
07114fc894
Setting opacity on the last child.
...
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -04:00
ahocevar
bd4c092943
Merge pull request #419 from ahocevar/bing-attribution
...
Incorrect Bing attribution when custom maxResolution is set. r=@elemoine
2012-04-20 06:11:31 -07:00
ahocevar
9ab6d08fb0
Calculate zoom level from serverResolutions.
...
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00