ahocevar
43c646b6da
Use new Opera event name as well
...
As pointed out by @bartvde, according to
http://stackoverflow.com/questions/5819912/webkit-transition-end-in-mozilla-and-opera ,
Opera uses otransitionend or oTransitionEnd, depending on the version.
2012-12-21 13:01:15 +01:00
ahocevar
dd244e6988
Use transitionend listeners where available
...
In addition to relying on removeBackBufferDelay, we can remove the
backbuffer earlier without flicker in an ontransitionend listener on the
last loaded tile.
2012-12-21 12:33:28 +01:00
ahocevar
86db8fabc6
Merge pull request #807 from ahocevar/units
...
WMTS Example misaligning with OSM base layer. r=@sbrunner
2012-12-20 14:35:57 -08:00
ahocevar
fc64b2c5f8
Fixing tests properly, as suggested by @sbrunner
2012-12-20 16:30:58 +01:00
ahocevar
f5d7f794c9
Some tweaks to make tests pass again
2012-12-19 23:13:11 +01:00
ahocevar
893966dfae
'm' and 'Meters' in OpenLayers.INCHES_PER_UNIT are not the same
...
OpenLayers.INCHES_PER_UNIT.m should equal
OpenLayers.INCHES_PER_UNIT.Meters, just like OpenLayers.INCHES_PER_UNIT.km
should equal OpenLayers.Inches_PER_UNIT.Kilometers. This confusion probably
comes from mixing International inches with US Survey inches when compiling
the unit conversion list (1 meter is 39.37007874 International inches, but
39.37 US Survey inches. It may not be obvious, but 'inches'/'Inch' in
OpenLayers means US Survey inch, and 'IInch' means International inch).
This change also fixes offsets caused by incorrect resolution calculations in
OpenLayers.Format.WMTSCapabilities.
2012-12-19 22:23:45 +01:00
Pierre GIRAUD
b404ca0a7a
Merge pull request #802 from pgiraud/pinch_preserve_center_
...
Pinch preserve center
2012-12-18 00:20:18 -08:00
Pierre GIRAUD
c9fa5aabad
Merge pull request #801 from pgiraud/map_movestart_zoomchanged
...
Send zoomChanged value when triggering movestart event
2012-12-17 04:56:32 -08:00
Pierre GIRAUD
6c21c2043f
Completing the doc strings
2012-12-17 13:55:32 +01:00
Pierre GIRAUD
d0c85850f5
More detailed documentation
2012-12-17 13:43:16 +01:00
Pierre GIRAUD
06597f1897
Missing var
2012-12-17 13:23:10 +01:00
Pierre GIRAUD
69580cd698
Don't change the example
2012-12-17 12:56:09 +01:00
Pierre GIRAUD
00c3ca47c0
Adding test for new preserveCenter option
2012-12-17 11:56:33 +01:00
Pierre GIRAUD
0a131f380a
Adding preserveCenter config option
2012-12-17 11:56:18 +01:00
Pierre GIRAUD
ee5796cb78
Send zoomChanged value when triggering movestart event
2012-12-17 11:45:10 +01:00
ahocevar
257b249b9d
Updating notes after 84cf468
2012-12-14 09:35:15 +01:00
ahocevar
84cf468a22
Use http protocol for non-http (i.e. file) URIs (see #700 )
2012-12-14 09:30:13 +01:00
ahocevar
083fcca882
Fixing tests (see #700 )
2012-12-14 09:07:26 +01:00
ahocevar
ab5035ba05
Note about Bing protocol change (see #700 )
2012-12-14 01:28:21 +01:00
ahocevar
bb788fdd0b
Merge pull request #700 from rjmackay/bing-maps-ssl-699
...
Make Bing maps use SSL (if current document does)
2012-12-13 16:23:54 -08:00
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
Robbie Mackay
3189a473fb
Fetch Bing map tiles and logo over HTTPS if document uses https
...
The Bing REST api still returns HTTP urls in meta data even if
we hit the API over SSL. This replaces http:// with // to
avoid any SSL browser errors.
Default to replacing with // but can force http: or https: with the
protocol parameter
2012-12-14 12:13:24 +13:00
ahocevar
7061cbf0fa
Merge pull request #787 from ahocevar/mousewheel-event
...
Wheel handler does not work on IE when interval is set. r=@bartvde
2012-12-10 14:02:58 -08: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
e295e3b70f
Merge pull request #788 from ahocevar/no-opacity
...
Rework of Google layer leads to map div transparency. r=@bartvde
2012-12-10 00:49:54 -08:00
ahocevar
e2dcfb7965
Merge pull request #791 from ahocevar/google-tilesloaded
...
Do not add viewport to GMaps object before it is fully rendered. r=@bartvde
2012-12-10 00:48:30 -08:00
Tim Schaub
3d777cd263
Merge pull request #790 from justb4/master
...
Atom.js: typo in Polygon parsing causes empty GeoRSS Polygon geometry (closes #789 )
2012-12-08 12:02:18 -08:00
ahocevar
6724098f5b
Notes about Google.v3 layers (see #484 )
2012-12-08 20:10:52 +01: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
Just van den Broecke
1225c817b4
Fix typo causing empty Polygon geometry
...
See OpenLayers issue 789, var 'points' needs to be passed, not 'components' at line 649.
2012-12-08 14:44:45 +01:00
ahocevar
64508c741e
Avoid transparent OpenLayers content on top of Google layer
2012-12-08 01:53:44 +01:00
ahocevar
c36b897878
Removing unused code
...
Because this method is called by OpenLayers.Function.bindAsEventListener,
which conditionally assigns window.event already, e cannot be null or
undefined here.
2012-12-07 21:10:20 +01:00
ahocevar
8701a54603
Cloning event for use in delayed function
...
In IE, where window.event is used, the event can change during the delay.
To avoid this, we store the event properties in a new object.
2012-12-07 21:09:09 +01:00
ahocevar
1b1e90c268
Merge pull request #484 from ahocevar/484
...
Rework Google layer. r=@bartvde
2012-12-06 02:48:55 -08:00
ahocevar
978cb4be9f
Only create Google control once
...
The control div is now an empty container that we can always append to and
remove from without having to worry about GMaps changing styles on it. It
also makes sure that the control is appended before Google's own
attribution control, so the "Report a map error" link will always be
clickable.
2012-12-06 11:44:49 +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
Frédéric Junod
6075b599f3
Merge pull request #786 from probins/xyztypo
...
XYZ: fix typo
2012-12-05 05:59:05 -08:00
Peter Robins
8a4bf871f1
XYZ: fix typo
2012-12-05 13:54:43 +00:00
Éric Lemoine
b5364727a2
Merge pull request #785 from finn-no/pinch-zoom-fix-issue778
...
Fix for Issue #778 as suggested by elemoine
2012-12-04 08:09:12 -08:00
Gregers Gram Rygg
262153eecc
Fix for Issue #778 as suggested by elemoine
2012-12-04 16:58:40 +01:00
ahocevar
df6e0a0846
Easier workaround for border image squeezing issue
2012-12-04 14:10:33 +01:00
ahocevar
470cce73ab
Merge pull request #775 from ahocevar/wmts-resolutions
...
Fix regression introduced by #732 . r=@sbrunner
2012-11-28 05:50:22 -08:00
ahocevar
1cc07232a7
Fixing regression introduced by #732
...
Now that serverResolutions are set for all layers, we need to generate
resolutions also for non-baselayers.
2012-11-28 07:12:29 -06:00
Antoine Abt
9ddd3d3ed9
Merge pull request #769 from tonio/noimportant
...
Avoid !important when not needed. img.olTileImage is precise enough to override boostrap’s rule.
2012-11-26 00:02:26 -08:00
Antoine Abt
862a53ddaf
Avoid !important when not needed.
...
This css selector is sufficient to override bootstrap’s one.
2012-11-26 08:54:02 +01:00
Bart van den Eijnden
eef879c152
Merge pull request #767 from bartvde/projdefaults
...
make sure we do not fail if OpenLayers.Projection.defaults has not been set (r=@ahocevar) thanks @pvgenuchten for the report
2012-11-23 06:08:32 -08: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
1d3eb0e60c
Merge pull request #763 from bartvde/insertresult
...
WFST 1.0.0 InsertResult not read correctly (r=@pgiraud) thanks Pierre for the quick review and thanks to @fgravin for the detailed bug report
2012-11-23 03:39:48 -08:00
Bart van den Eijnden
195352c403
make sure we can have multiple feature ids in InsertResults
2012-11-21 13:08:37 +01:00