Éric Lemoine
98fb795f97
set VERSION_NUMBER to 2.12-rc3
2012-05-05 14:27:12 +02:00
Éric Lemoine
23d8057222
Merge pull request #449 from elemoine/449
...
Issues with window resize in IE9 for OL 2.12RC2
2012-05-05 04:49:55 -07:00
Éric Lemoine
2608a0ebe7
fix resize handling in IE 9 and better (refs #449 )
2012-05-04 14:28:12 +02:00
Éric Lemoine
ac3d361778
Merge pull request #441 from elemoine/gutter
...
Tiles with gutters are shifted
2012-05-02 02:35:32 -07:00
Éric Lemoine
612401a644
fix bug where tiles with gutters are shifted (refs #441 )
2012-04-28 21:23:55 +02:00
Frederic Junod
5f1651a30f
Add missing hover option to the SelectFeature control.
...
Thanks Arnie Shore.
2012-04-25 10:34:40 +02:00
Éric Lemoine
1ace4df160
set OpenLayers.VERSION_NUMBER to Release 2.12-rc2
2012-04-24 21:55:49 +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
Éric Lemoine
07533fcdcb
Merge pull request #426 from elemoine/moveend-bug
...
pan() triggers moveend event twice
2012-04-24 04:02:36 -07: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
Éric Lemoine
c6c1bf1f77
fix movestart, move, moveend sequence on pan with animate:false
2012-04-23 23:57:48 +02: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
Éric Lemoine
f36fd5f0d1
Merge pull request #393 from elemoine/393
...
grid layers may be misplaced
2012-04-20 06:27:27 -07: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
Éric Lemoine
e998335718
Merge pull request #399 from elemoine/399
...
adding an OverviewMap to an OSM map no longer just works
2012-04-20 05:10:34 -07:00
Frédéric Junod
7ec0071823
Merge pull request #403 from fredj/403
...
Util.html test fail with Chrome and Chromium. r=elemoine
2012-04-17 06:53:43 -07:00
Frederic Junod
e14d7d686e
Fix Util.html test for Chrome/Chromium browsers.
2012-04-16 10:41:07 +02:00
Éric Lemoine
c88a610f21
Merge pull request #406 from elemoine/406
...
TMS zoomOffset test sets NaN maxResolution values in the map
2012-04-14 05:25:07 -07:00
Éric Lemoine
bfd6be634f
if maxResolution is "auto" calculate maxResolution based on maxExtent and map size, else calculate maxResolution based on maxExtent and tile size
2012-04-11 17:45:34 +02:00
Éric Lemoine
ebfbb354ed
fix the TMS zoomOffset test
2012-04-11 17:43:17 +02:00
Bart van den Eijnden
344e2124c9
Merge pull request #400 from bartvde/bing
...
fix Bing attribution issue caused by reverse axis order (r=@elemoine). Thanks Eric Blasenheim for the detailed report.
2012-04-10 06:02:30 -07:00
Bart van den Eijnden
59cc18d85b
fix Bing attribution issue reported by PitneyBowes
2012-04-10 14:31:20 +02:00
Éric Lemoine
ae75fdacd7
Revert "Merge pull request #116 from elemoine/redraw"
...
This reverts commit 7a5b469192 , reversing
changes made to a719de7e93 .
Conflicts:
tests/Tile/Image.html
2012-04-07 21:07:03 +02:00
Éric Lemoine
58e86a37f5
Revert "Declare zoomChanged."
...
This reverts commit b910a5f4d0 .
2012-04-07 21:02:24 +02:00
Éric Lemoine
4df1104b7a
Revert "Merge pull request #312 from elemoine/redraw"
...
This reverts commit 7f94945244 , reversing
changes made to dfa70fafac .
Conflicts:
lib/OpenLayers/Layer/Vector.js
2012-04-07 21:01:52 +02:00
Éric Lemoine
685eae7c04
Merge pull request #390 from elemoine/scriptlocation
...
_getScriptLocation regexp not robust enough
2012-04-04 21:43:08 -07:00
Tim Schaub
0554637c56
Merge pull request #388 from tschaub/offline
...
Make cache writing work when cross-origin.
2012-04-04 17:49:24 -07:00
Éric Lemoine
b1b4736315
make _getScriptLocation RegExp more robust, p=jpfiset, t,r=me
2012-04-04 20:30:50 +02:00
Tim Schaub
2582e762b7
Avoid undefined url.
2012-04-03 16:49:23 -10:00
Éric Lemoine
5c597de900
Merge pull request #384 from elemoine/gridclass
...
renaming from olLayerGridTile to olLayerGrid
2012-04-03 08:55:49 -07:00
Frederic Junod
f2dd130256
update mapbox example.
...
* use Zoom control instead of ZoomPanel
* wrap date line
* attribution control already at the bottom of the map
* use html entities for the copyright symbol
* layer has 17 levels, update numZoomLevels
2012-04-02 21:13:42 -10:00
Éric Lemoine
f870417a30
class name olLayerGridTile renamed olLayerGrid
2012-04-03 06:28:06 +02:00
Éric Lemoine
eb2d62dacb
Merge pull request #365 from elemoine/anim2
...
Display issues with backbuffer delay on single tiled transparent layers
2012-04-02 12:02:05 -07:00
Éric Lemoine
9d23b81dae
update 2.12 notes
2012-04-02 21:00:20 +02:00
Éric Lemoine
d650ba20d9
Layer.Grid - better docs for transitionEffect, removeBackBufferDelay, and className
2012-04-02 20:59:16 +02:00
Éric Lemoine
d8473f9249
make Layer.Grid.prototype.className an API property
2012-04-02 17:57:37 +02:00
Éric Lemoine
8c6466bf2a
move transitionEffect to Layer.Grid.prototype, and discourage the use of transitionEffect:"resize" on non-opaque layers
2012-03-31 21:32:49 +02:00
Éric Lemoine
d252a6156a
add tests for className and removeBackBufferDelay default values
2012-03-31 21:24:45 +02:00
Éric Lemoine
8f20ff8ca0
update 2.12 release notes
2012-03-31 21:24:18 +02:00
Éric Lemoine
5b40ffe474
change CSS accessor for tile transition
2012-03-31 21:24:03 +02:00
Éric Lemoine
1e5f83593c
removeBackBufferDelay defaults to 0 for singleTile layers
2012-03-31 21:23:21 +02:00
Éric Lemoine
86cd9c7bf7
add class to Layer.Grid layer div
2012-03-31 21:22:36 +02:00
Frédéric Junod
35333681c1
Merge pull request #377 from probins/rmfc
...
Remove framedCloud.css. p=probins
2012-03-30 05:53:52 -07:00
Éric Lemoine
b876f815fb
Merge pull request #376 from probins/rmsvn
...
Further tidy-up of svn refs
2012-03-30 05:45:06 -07:00
Peter Robins
d5adedb708
Remove framedCloud.css
2012-03-30 12:00:52 +01:00
Peter Robins
349fc2f69e
Further tidy-up of svn refs
2012-03-30 11:36:40 +01:00
Éric Lemoine
e0b93c2e45
The OpenLayers code is published under the 2-clause BSD license
2012-03-30 08:33:55 +02:00
Éric Lemoine
650df2a8f1
change copyright header in every OpenLayers js file
2012-03-29 22:14:56 +02:00
Éric Lemoine
95eb1454f4
change copyright dates in build/license.txt
2012-03-29 22:01:48 +02:00
Éric Lemoine
f5cc652685
remove any reference to svn.openlayers.org from license.txt
2012-03-29 22:00:56 +02:00
Éric Lemoine
2cc0090f81
move the licenses dir to the root of the repo
2012-03-29 21:59:58 +02:00
Éric Lemoine
6b04ff1c94
move authors.txt to the root of the repo
2012-03-29 21:58:54 +02:00
Éric Lemoine
5f4519b378
remove doc/customization and doc/readme.txt
2012-03-29 21:57:42 +02:00
Éric Lemoine
3a925d9903
remove release-license.txt and repository-license.txt
2012-03-29 21:56:24 +02:00
Peter Robins
4c0d85ee67
Fusiontables example correction
2012-03-28 23:06:36 -07:00
Peter Robins
bb09ff341e
Fusion Tables example
2012-03-28 23:06:12 -07:00
Éric Lemoine
801b32a667
Merge pull request #345 from elemoine/flickr
...
timed out on "examples/strategy-cluster.html"
2012-03-28 21:31:17 -07:00
Éric Lemoine
9a9a5ba452
rely on the Flickr APIs in the strategy-cluster example
2012-03-28 14:20:24 +02:00
Éric Lemoine
d574f09e6a
rely on the Flickr APIs in the strategy-paging example
2012-03-28 14:13:31 +02:00
Éric Lemoine
74a34ec14b
rely on the Flickr APIs in the strategy-bbox example
2012-03-28 14:13:08 +02:00
ahocevar
032293c26f
Merge pull request #352 from ahocevar/352
...
Layer/Grid.html tests fail. r=@elemoine
2012-03-27 16:27:00 -07:00
ahocevar
3eedfce46e
Fixing test after 5e9104a2a2.
2012-03-27 13:10:28 -07:00
Éric Lemoine
11395e7e84
Merge pull request #363 from probins/projex2.12
...
Improve proj4js examples docs 2.12
2012-03-27 08:30:53 -07:00
Peter Robins
1a59ade32a
Improve proj4js examples docs
2012-03-27 15:53:01 +01:00
Frédéric Junod
31c2d183f6
Merge pull request #359 from fredj/projdocs
...
Improvements for projection docs. p=probins
2012-03-27 06:13:12 -07:00
Peter Robins
720a815479
Improvements for projection docs
2012-03-27 14:07:58 +02:00
Antoine Abt
eb74d93d48
Merge pull request #355 from tonio/blue
...
Zoom control, back to blue
2012-03-27 00:03:25 -07:00
Antoine Abt
935c56961b
Merge pull request #356 from tonio/transition
...
Add css transitions to mobile example stylesheet
2012-03-26 23:50:25 -07:00
Antoine Abt
87763af644
add css transition for mobile examples
2012-03-26 22:19:00 +02:00
Antoine Abt
8f3f5d1366
blue’s back — Zoom control refresh
2012-03-26 21:53:11 +02:00
Tim Schaub
febf048d9d
Merge pull request #351 from elemoine/pinch2
...
After great sleuthing from @elemoine, we have a solution closer to the heart of the problem. In a funny twist, the excessive call to `updateSize` ended up hinting at the solution. Thanks to `git bisect` for making things a bit easier.
2012-03-23 14:19:49 -07:00
Éric Lemoine
d680cb45a0
force a reflow after pinch
2012-03-23 22:10:16 +01:00
Éric Lemoine
863011b2b7
set VERSION_NUMBER to Release 2.12-rc1
2012-03-22 18:59:14 +01:00
Éric Lemoine
1febb44376
Merge pull request #342 from mpriour/multiple-builds
...
Add specific light build example and tag eligible 'light' build examples
2012-03-22 02:13:32 -07:00
Matt Priour
a38e4ecc9a
Remove light tag from wms-long-url example
2012-03-22 04:01:28 -05:00
Éric Lemoine
d563084745
fix the layerLoadMonitoring.html example, refs #342
2012-03-22 07:04:13 +01:00
ahocevar
9db42f6747
Merge pull request #343 from ahocevar/cache-map
...
Fixing typo which causes CacheRead to fail when CacheWrite is active. r=@tschaub
2012-03-21 23:35:02 +01:00
ahocevar
8d42f33a28
Fixing typo which causes CacheRead to fail when CacheWrite is active
2012-03-21 23:21:24 +01:00
Tim Schaub
97582d637f
Merge pull request #341 from tschaub/script
...
Correcting the callback for the script protocol.
2012-03-21 15:07:31 -07:00
tschaub
609e5f7f09
Taking brackets out of the callback.
...
The Yahoo API doesn't accept quotes in the callback (e.g. foo['bar']). Since the callback registry is an object and all identifiers are prefixed with "c" now, we can use dot notation.
2012-03-21 09:18:23 -06:00
ahocevar
5e9104a2a2
Revert "Merge pull request #304 from mpriour/singleTile"
...
This reverts commit 84fb15e1d2 , reversing
changes made to d0d116efdf .
2012-03-21 10:05:22 +01:00
Matt Priour
2ba9c5ffda
Remove 'light' tag from some examples it doesn't work for
2012-03-20 23:18:41 -05:00
Matt Priour
6eee5025f2
Add light tag to examples that could use the light build
2012-03-20 22:29:58 -05:00
Matt Priour
386dacffb3
Add a specific example which uses the OpenLayers.light.debug.js library, instead of the normal full multi-file debug version used for most examples
2012-03-20 20:16:03 -05:00
tschaub
127abf8782
Correcting the callback for the script protocol.
...
In f08119b01e , the default syntax for the script protocol's callback made it so the callbacks looked like `OpenLayers.Protocol.Script.registry[c1]`. This essentially breaks the script protocol everywhere except where `c1` is defined and equals "c1" (the string).
Tests with this change demonstrate that default callbacks will now look like `OpenLayers.Protocol.Script.registry['c1']` (properly accessing the `c1` property of the registry object).
2012-03-20 17:07:52 -06:00
tschaub
0feefaa4bc
Moving attribution from the middle of the map.
...
I believe this should be the default. In rare cases where people want it somewhere in the middle of the map, they should provide custom css.
2012-03-20 16:43:33 -06:00
tschaub
c02d5a4dbf
Correct URL for sencha css and js.
2012-03-20 16:42:56 -06:00
Éric Lemoine
86de06517f
Merge pull request #337 from ahocevar/337
...
controls.html example broken
2012-03-20 02:22:23 -07:00
ahocevar
90c9b525ed
Nullifying more properties - previous change did not fix the issue.
2012-03-20 10:13:14 +01:00
ahocevar
8bd6de0fae
Merge pull request #337 from ahocevar/337
...
controls.html example broken. r=@elemoine
2012-03-19 16:06:24 -07:00
ahocevar
d31a8da839
Clone needs a fresh backBuffer and tileQueue.
2012-03-19 21:09:43 +01:00
Éric Lemoine
acd11005b6
Merge pull request #333 from elemoine/patch-1
...
Tiles@Home has been discontinued so it should be removed from the doc as well
2012-03-19 09:21:58 -07:00
Antoine Abt
f90c3503e2
Merge pull request #336 from tonio/examples
...
fixes mobile examples which were using ZoomPanel
2012-03-19 06:51:54 -07:00
Antoine Abt
ffa71c0d1a
update doc in mobile navigation
2012-03-19 14:47:02 +01:00
Antoine Abt
d81f0796d4
fixes mobile examples which were using ZoomPanel
2012-03-19 14:42:34 +01:00
ahocevar
ed45ab66e3
Merge pull request #331 from ahocevar/331
...
gutter and maxGetUrlLength broken. r=@elemoine
2012-03-19 03:23:44 -07:00
Frédéric Junod
c6374606bc
Merge pull request #327 from fredj/jshint
...
jshint. r=tschaub
2012-03-19 03:07:09 -07:00
Mark Prins
87540d4ef1
Tiles@Home has been discontinued so it should be removed from the example as well. My choice for OpenCycleMap is arbitrary, but since it is currently up on the main OSM slippy map, imo a valid choice.
...
See also: #330
2012-03-19 10:52:16 +01:00
Bart van den Eijnden
4c02529d00
Merge pull request #332 from bartvde/backbuffer
...
backBuffer style left and top need to be rounded (original patch by @ahocevar, r=me,elemoine)
2012-03-19 02:43:04 -07:00
Éric Lemoine
a0e53931e4
Merge branch '2.12'
2012-03-19 10:32:28 +01:00
Bart van den Eijnden
c1944eb6da
backBuffer style left and top need to be rounded
2012-03-19 10:15:13 +01:00
ahocevar
f32bfa2240
Making backbuffer work again for tiles with frame.
2012-03-19 10:10:40 +01:00
Frederic Junod
1a5d491dae
CSS: remove unit when value is 0
2012-03-19 09:49:13 +01:00
Frédéric Junod
cd8cd1e6c8
Merge pull request #328 from fredj/multimap-tests
...
Remove the OpenLayers.Layer.MultiMap class as the MultiMap service was discontinued.
2012-03-19 01:21:34 -07:00
Frederic Junod
5e0c064359
Extra comma.
2012-03-19 09:13:01 +01:00
Frederic Junod
5557693df1
Confusing use of '!'.
2012-03-19 09:13:01 +01:00
Frederic Junod
20e35b19ff
Replace tabs with spaces.
2012-03-19 09:13:01 +01:00
Frederic Junod
2de2fe2563
Unnecessary and missing semicolon.
2012-03-19 09:13:01 +01:00
Antoine Abt
2b41c8926b
Merge pull request #321 from tonio/zoomdefault
...
Make Zoom control be default instead of PanZoom.
2012-03-19 00:50:53 -07:00
Frédéric Junod
d2a09cbfb1
Merge pull request #4 from elemoine/multimap-tests
...
add a MultiMap Layer Removal section in the 2.12 release notes
2012-03-18 23:47:53 -07:00
Antoine Abt
b10e6707e6
fixes button stay «active» on mobile, in default theme, and mobile example stylesheet
2012-03-18 20:43:33 +01:00
Antoine Abt
457f0285b5
better readability of button with text-shadow
2012-03-18 20:42:25 +01:00
Éric Lemoine
926283fa69
Merge branch '2.12'
2012-03-18 14:09:25 +01:00
ahocevar
472e400078
Adding "mobile" tag to offline storage exmaples.
2012-03-18 13:18:58 +01:00
ahocevar
46c5ac8e55
Merge pull request #322 from ahocevar/loadend
...
WMS loadend event does not always fire. r=@elemoine
2012-03-18 03:00:47 -07:00
ahocevar
99f116ee98
With tileQueue, we need a different way of handling loadstart/loadend.
2012-03-17 16:10:10 +01:00
Éric Lemoine
de9716564f
Merge pull request #330 from elemoine/osmarander
...
remove the osmarander layer in spherical-mercator.html
2012-03-17 07:44:29 -07:00
Éric Lemoine
5834eeed40
add a MultiMap Layer Removal section in the 2.12 release notes
2012-03-17 15:35:16 +01:00
Éric Lemoine
853ad096bb
remove the osmarander layer from spherical-mercator.html, as the osmarander tiles (tah.openstreetmap.org) are no longer available
2012-03-17 15:20:31 +01:00
Bart van den Eijnden
1935d6da6d
Merge pull request #329 from bartvde/master
...
merge 2.12 into master
2012-03-16 07:06:53 -07:00
Bart van den Eijnden
b6dff22e3b
Merge branch '2.12'
2012-03-16 15:02:37 +01:00
Frederic Junod
2ddca7f8cd
Remove Layer.MultiMap tests and code.
...
The API code from http://developer.multimap.com is no longer available.
2012-03-16 14:59:10 +01:00
ahocevar
85b836de23
Merge pull request #322 from ahocevar/322
...
WMS loadend event does not always fire
2012-03-16 00:48:29 -07:00
tschaub
fb631ac0ba
Updating zoom style for mobile examples.
...
Sticking with sans-serif gives a more uniform experience on desktop Webkit, Safari on iOS, and the default Android browser.
Using `-webkit-tap-highlight-color` gets rid of the blue highlight when clicking on the map tiles or zoom control.
2012-03-15 17:59:16 -06:00
Éric Lemoine
8acab59320
Merge pull request #326 from fredj/proj4js-url
...
Fix proj4js script.src
2012-03-15 15:21:14 -07:00
Éric Lemoine
a72403b219
Merge pull request #325 from bartvde/foo
...
do not cast to LonLat if center is null in Map moveTo
2012-03-15 12:03:32 -07:00
ahocevar
193983b2b0
tileQueue has nothing to do with numLoadingTiles.
...
The tileQueue might have entries again after zooming when the previous zoom level hasn't finished loading yet. Removing the check for the tileQueue's length makes layers report loadend correctly again.
2012-03-15 17:44:30 +01:00
Frederic Junod
46309b5265
Fix proj4js script.src
2012-03-15 17:13:10 +01:00
Bart van den Eijnden
a3874b8f97
do not cast to LonLat if center is null in Map moveTo
2012-03-15 16:53:22 +01:00
Antoine Abt
e50c44b63c
update doc for control fallback
2012-03-15 10:12:38 +01:00
Éric Lemoine
bb6cf0c2d1
provide links to issues/pull requests in 2.12.md
2012-03-15 09:48:37 +01:00
Tim Schaub
9070c2e3dd
Cosmetic typo fix thanks @probins.
2012-03-15 01:26:00 -06:00
Marc Jansen
0cc81202a1
Add missing requires directive for OpenLayers.Format.WMSGetFeatureInfo.
2012-03-15 08:20:11 +01:00
Antoine Abt
a96c2da6c2
add PanZoom control if Zoom isn’t in build
2012-03-14 22:31:47 +01:00
Antoine Abt
ee7efdeb08
trailing spaces
2012-03-14 20:25:07 +01:00
Antoine Abt
23b0971c2f
update mobile example to use Zoom control. update build config file
2012-03-14 20:25:07 +01:00
Antoine Abt
b2727c88f2
make Zoom default instead of PanZoom
2012-03-14 20:25:07 +01:00
Éric Lemoine
0786a5c532
Merge remote branch 'ahocevar/320' into 2.12
2012-03-14 20:21:25 +01:00
Éric Lemoine
22997b473d
Merge remote branch 'upstream/master' into 2.12
2012-03-14 20:20:12 +01:00
ahocevar
ef3155d6e6
Fixing test.
2012-03-14 18:27:35 +01:00
Frédéric Junod
fe7f7cfc45
Merge pull request #306 from fredj/deprecate-svg2-ng
...
Deprecate SVG2 renderer, r+p=@ahocevar
2012-03-14 08:23:01 -07:00
Frédéric Junod
dbb380b0e1
Merge pull request #3 from ahocevar/deprecate-svg2-ng
...
Monkey-patching Layer.Vector with deprecated Renderer.NG logic
2012-03-14 04:35:25 -07:00
ahocevar
e1fba99c73
Monkey-patching Layer.Vector with deprecated Renderer.NG logic
2012-03-14 10:49:05 +01:00
Frederic Junod
61f01f20e0
Remove Renderer.NG related code
2012-03-14 09:17:42 +01:00
Frederic Junod
42431a4164
Add Renderer.NG and Renderer.SVG2 to the deprecation list in notes/2.12.md
2012-03-14 09:17:42 +01:00
fredj
23380e5d4a
Move NG renderer to deprecated.js
2012-03-14 09:17:42 +01:00
fredj
420a6f4dd2
Move SVG2 renderer to deprecated.js
2012-03-14 09:17:42 +01:00
Tim Schaub
a462be52a8
Removing unused bind var.
...
Thanks @jorix for catching this.
2012-03-13 23:08:28 -06:00
Éric Lemoine
f018887ac2
fix typo in notes/2.12.md
2012-03-13 15:10:34 +01:00
ahocevar
f3fa799a27
Edits to tile related improvements.
2012-03-13 12:39:33 +01:00
ahocevar
0a8db1629d
Merge pull request #319 from ahocevar/console-fix
...
Using OpenLayers.Console if window.console is unavailable.
2012-03-13 04:17:35 -07:00
ahocevar
da3a07fbde
Using OpenLayers.Console if window.console is unavailable.
2012-03-13 11:38:45 +01:00
Éric Lemoine
7833077039
Merge pull request #317 from mpriour/multiple-builds
...
Document alternate builds
2012-03-13 00:50:43 -07:00
Antoine Abt
bed3edeb46
Merge pull request #281 from ejn/master
...
Improve iconOn/iconOff class name matching in Panel.js; add unit tests
2012-03-13 00:37:54 -07:00
Matt Priour
8b3b999a64
correct typo in readme
2012-03-13 00:07:18 -05:00
Matt Priour
a969f46ed5
add multiple build information in readme
2012-03-12 23:08:44 -05:00
Éric Lemoine
f9cda4d9f4
Merge pull request #316 from elemoine/rem-scripts
...
remove outdated shell scripts
2012-03-12 14:42:46 -07:00
Éric Lemoine
fd03c4a8c9
remove outdated shell scripts
2012-03-12 22:23:34 +01:00
ahocevar
6b5dba3f93
Merge pull request #301 from ahocevar/offline
...
Adding CacheRead and CacheWrite controls. r=@elemoine,@fredj
2012-03-12 08:29:00 -07:00
Éric Lemoine
c66371ebf8
Merge pull request #288 from mpriour/multiple-builds
...
Make the getScriptLocation function work with mobile & light builds
2012-03-12 07:19:42 -07:00
Matt Priour
9e90af914d
Merge pull request #2 from elemoine/multiple-builds
...
Multiple builds
2012-03-12 06:20:28 -07:00
ahocevar
7693c2480d
Merge pull request #296 from ajkopinga/canvas-edge-hit2
...
added hit detection for symbol edges to canvas renderer with unit tests
2012-03-12 06:12:57 -07:00
Éric Lemoine
56e25fc9fe
Merge pull request #309 from bartvde/ie8doubleclick
...
prevent double click from firing click callback in IE
2012-03-12 02:37:38 -07:00
Bart van den Eijnden
1dba227db4
add comment as to why clearTimer is needed here, and change control flow back to what it was before breakage, i.e. do not call clearTimer if it does not pass the tolerance
2012-03-12 09:59:25 +01:00
Éric Lemoine
645e2f4016
add tests for SingleFile._getScriptLocation
2012-03-12 09:06:27 +01:00
Éric Lemoine
1ea71fd030
use two slashes in RegExp strings for escapement (see http://stackoverflow.com/questions/7735749/fix-jslint-bad-escapement-warning-in-regex )
2012-03-12 09:05:54 +01:00
Matt Priour
ef0da77e06
Merge branch 'master' into multiple-builds
2012-03-11 20:49:47 -05:00
ahocevar
bd262fce41
Addressing @elemoine's review comments.
...
Now the application no longer needs to care about the tile origin, because the CacheWrite control modifies the url if the CORS image loading is disabled and it is from a different origin. This only requires OpenLayers.ProxyHost to be properly configured. Also local storage keys use the original url instead of the proxied url, to make the CacheRead control work without proxy settings.
No deferred exceptions are thrown any more. Instead, OpenLayers.Console is used to show an error message for security exceptions.
We now check for OpenLayers.Tile.Image, because other tile types (e.g. UTFGrid) are not supported (yet).
To make the same origin handling in the CacheWrite control easier, OpenLayers.Request now exposes the same origin logic from request.issue as a separate function, so it can also be used by other components.
2012-03-11 22:15:34 +01:00
Frédéric Junod
f468cbf086
Merge pull request #313 from vmx/patch-1
...
The `loadcancel` event doesn't really exist. p=@vmx
2012-03-11 11:10:08 -07:00
Volker Mische
c02f295836
The loadcancel event doesn't really exist
2012-03-11 17:26:06 +01:00
Éric Lemoine
7f94945244
Merge pull request #312 from elemoine/redraw
...
Vector.Redraw should set zoomChanged to true in moveTo
2012-03-10 00:55:31 -08:00
ahocevar
dfa70fafac
Remove other references to unavailable external resources.
...
For me, several Image.html tests still failed in Firefox without this change (see #311 )
2012-03-10 01:55:57 +01:00
ahocevar
84fb15e1d2
Merge pull request #304 from mpriour/singleTile
...
Modify Grid.js to respect layer's maxExtent in singleTile mode
2012-03-09 16:24:27 -08:00
Éric Lemoine
d0d116efdf
add missing blank.gif file in tests/Tile
2012-03-10 00:34:39 +01:00
Éric Lemoine
0fa9651ee8
fix Tile/Image tests - we should not rely on external resources like http://labs.metacarta.com/wms/vmap0 , refs #311
2012-03-10 00:30:04 +01:00
Matt Priour
9df23e56b1
Merge pull request #1 from ahocevar/singleTile
...
Do not check for layer.maxExtent.
2012-03-09 15:07:41 -08:00
ahocevar
e52c97f741
Don't check based on layer.maxExtent.
...
layer.maxExtent is always set as soon as the layer is added to a map. Instead, making behavior consistent with tiled layers: don't display outside maxExtent except when displayOutsideMaxExtent is set to true or the layer's extent equals the world bounds for maps with a baseLayer that has wrapDateLine set to true.
2012-03-09 23:50:09 +01:00
Éric Lemoine
c693884f5f
redraw on vector layers should set zoomChanged to true in the moveTo call (refs #305 )
2012-03-09 23:40:34 +01:00
Matt Priour
0ff2f9a457
Simplify maxExtent restriction logic and prevent unneeded calls to `getLayerPxFromLonLat`
2012-03-09 14:26:48 -06:00
Matt Priour
f6c8b81f3a
Merge branch 'master' into singleTile
2012-03-09 14:04:21 -06:00
ahocevar
3d8a9168f0
Always set the tile url.
...
This avoids false positives in the url check in CacheWrite::cache when the CacheRead control is also active.
2012-03-09 19:07:54 +01:00
ahocevar
5f48e546bc
Simplified example.
2012-03-09 19:07:20 +01:00
ahocevar
51a11e053f
Additional simple examples for just CacheRead and CacheWrite.
...
* Abort seeding immediately when cache is full.
* Abort seeding immediately when CORS image requests are not supported.
2012-03-09 19:06:10 +01:00
Tim Schaub
1a444589e0
Merge pull request #274 from tschaub/utfgrid
...
UTFGrid Tile, Layer, and Control. This adds support for responsive handling of interactions with large numbers of features represented by UTFGrids.
2012-03-09 08:49:30 -08:00
Bart van den Eijnden
f28c432b34
prevent double click from firing click callback in IE
2012-03-09 14:05:48 +01:00
Tim Schaub
021ad521a8
Tests for the getTileData method.
...
Tests pass on Chrome 17, Firefox 10, IE 8, and IE 6.
2012-03-08 19:18:32 -06:00
Matt Priour
3e50817623
Correct else code style error
2012-03-08 16:54:50 -06:00
Éric Lemoine
7cd5ad64fa
2.12.md minor updates
2012-03-08 23:44:29 +01:00
Éric Lemoine
dcaefe2dd1
more information in 2.12.md
2012-03-08 23:36:52 +01:00
Matt Priour
9fbd3072b7
Merge branch 'master' into singleTile
2012-03-08 16:36:41 -06:00
Matt Priour
176e00e902
correct git errors
2012-03-08 16:32:49 -06:00
Matt Priour
9d0dd67843
Add tests for initSingleTile function, which is where all the important singleTile logic is
2012-03-08 16:26:46 -06:00
Matt Priour
3fd1cecf04
SingleTile WMS layers don't respect maxExtent values set on the layer
2012-03-08 16:20:23 -06:00
Éric Lemoine
16cece25a4
Merge pull request #303 from ZiglioNZ/rule-dependency
...
Added missing dependency
2012-03-08 13:29:29 -08:00
Emanuele Ziglioli
197c8053fa
Added extra dependencies: StyleMap.js and Layer/Vector.js. See:
...
https://github.com/openlayers/openlayers/pull/303#issuecomment-4401757
2012-03-09 09:51:24 +13:00
Emanuele Ziglioli
46191897cb
Added missing dependency
2012-03-09 08:54:51 +13:00
ahocevar
e366722375
Note about terms of service.
2012-03-08 18:37:45 +01:00
ahocevar
4434d195ea
Merge pull request #295 from probins/mapdocs
...
Improve docs for bounds/lonlat, Layer and Map
2012-03-08 09:11:30 -08:00
Éric Lemoine
89cf93d994
fix the Grid tests that fail in slow browsers, suggested by @ahocevar (refs #299 )
2012-03-08 17:53:09 +01:00
Bart van den Eijnden
05e40e5cf0
Merge pull request #302 from bartvde/graphic
...
don't output graphic inside of textsymbolizer if graphic is set to false (@r=ahocevar)
2012-03-08 08:10:02 -08:00
ahocevar
636ac640ca
Don't test VML if SVG is also supported.
...
The VML renderer does not work in IE9 standards mode, and SVG takes precedence over VML. So it is safe to skip these tests if both VML and SVG report "supported". See #285
2012-03-08 16:27:51 +01:00
Bart van den Eijnden
9707a388c3
typo
2012-03-08 15:52:03 +01:00
Bart van den Eijnden
5d9791133e
do not output graphic inside of textsymbolizer if graphic is set to false
2012-03-08 15:47:43 +01:00
ahocevar
f18ac9911b
Adding CacheRead and CacheWrite controls.
...
These controls read from and write to the browser's offline storage. Example with a seeding tool included.
2012-03-08 14:18:44 +01:00
Matt Priour
fe2d80973a
Merge branch 'master' into singleTile
2012-03-08 00:32:08 -06:00
Matt Priour
9fbadfa79f
Modify initSingleTile to respect map or layer maxExtent when set and layer is not the map's baseLayer
2012-03-08 00:31:05 -06:00
Éric Lemoine
877f4b4cc6
make the PanZoom tests pass in IE 9+, by not running tests that rely on document.createEvent in this browser too, no functional change (refs #277 )
2012-03-07 22:01:39 +01:00
Frederic Junod
0566b0a5bb
Add examples/osm-grayscale.html (see #297 )
...
Thanks to @ahocevar for the help on the firefox issue.
2012-03-07 10:35:06 +01:00
ahocevar
2f4ca63a39
Merge pull request #297 from ahocevar/tileloadstart
...
tileloadstart event and fixed crossorigin handling. r=@fredj
2012-03-07 01:30:36 -08:00
Marc Jansen
d122ebcf4e
Merge pull request #286 from marcjansen/imgpath
...
Declare ImgPath property of OpenLayers in OpenLayers.js (r=@elemoine,@ahocevar)
2012-03-06 23:02:25 -08:00
Tim Schaub
46054b8543
Correctly getting tile data for a location.
...
The UTFGrid layer's `getTileInfo` method was not correctly handling dateline wrapping (and was a bit more complicated than it needed to be). Since it would be useful to all grid layers to be able to retrieve a tile and pixel offset for any map location, this functionality deserves to be on the Grid layer.
The WMTS layer currently exposes a `getTileInfo` method that is used within the layer and by the WMTSGetFeatureInfo control. This method could be renamed to `getRemoteTileInfo` or something to differentiate it from a method that gets locally cached tile info. Until that change is made, the method on the Grid layer will be called `getGridData`.
2012-03-06 16:06:15 -07:00
ahocevar
81e7913075
Fixing crossorigin attribute handling.
2012-03-06 23:21:25 +01:00
Matt Priour
e45d37b386
Merge branch 'master' into multiple-builds
2012-03-06 14:21:14 -06:00
Marc Jansen
c9dbebf4aa
ImgPath should not be an an APIProperty in SingleFile.js.
2012-03-06 20:34:46 +01:00
Tim Schaub
9e47c02156
Merge pull request #292 from tonio/zoom
...
cosmetic changes on zoom control
2012-03-06 09:24:18 -08:00
Arjen Kopinga
677659df96
broadening stroke width in symbol edge hit detection test to lessen sensitivity to browser antialiasing differences
2012-03-06 15:27:26 +01:00
ahocevar
a05eab29db
Adding tileloadstart event to layer.
...
For this to be useful (i.e. so listeners can see/modify the tile url), a change in Tile.Image is required so we do not fire the loadstart event before we have the url to load.
2012-03-06 14:40:08 +01:00
Arjen Kopinga
a836224a14
added hit detection for symbol edges to canvas renderer with unit tests
...
Added unit tests for hit detection on invisible canvas layer
simplified unit test for hit detection on invisible canvas
2012-03-06 14:12:53 +01:00
ahocevar
da3bbbe231
Merge pull request #293 from probins/defnav
...
Map: default controls should include TouchNavigation if present
2012-03-06 04:18:02 -08:00
Peter Robins
93028bbcf8
Map: defaults controls should include TouchNavigation if present
2012-03-06 11:47:27 +00:00
Peter Robins
e8af06e6ae
Improve docs for bounds/lonlat as array
2012-03-06 11:30:28 +00:00
Éric Lemoine
81b2b524ec
add pl.js to API docs, refs #241
2012-03-06 09:26:12 +01:00
Éric Lemoine
539e2fc4db
Merge pull request #241 from argson/master
...
Added translations for Polish language
2012-03-06 00:24:15 -08:00
Antoine Abt
35a6407820
cosmetic changes on zoom control
2012-03-06 09:16:09 +01:00
Éric Lemoine
3b860ca4d7
Merge pull request #168 from jorix/Docs-issues3
...
Some problems in the documentation
2012-03-06 00:05:52 -08:00
Marc Jansen
e8744edd24
Minor formatting of API doc comments.
2012-03-06 08:39:00 +01:00
Marc Jansen
36886a2bc5
Better documentation for the property ImgPath of OpenLayers.
2012-03-06 08:33:39 +01:00
Tim Schaub
0e4953efdd
Simplify.
2012-03-06 00:08:20 -07:00
Marc Jansen
3cee434199
Also add the declaration of ImgPath to SingleFile.js.
2012-03-06 08:08:09 +01:00
Tim Schaub
cf30e71b9f
Merge branch 'master' of github.com:openlayers/openlayers into utfgrid
2012-03-06 00:06:15 -07:00
Tim Schaub
83fe251ef6
Merge pull request #291 from tschaub/zoom
...
Zoom Control
2012-03-05 23:02:55 -08:00
Tim Schaub
28687257d6
Use existing methods on XYZ layer.
2012-03-05 23:07:28 -07:00
Tim Schaub
8d6bddf0ac
A simple zoom control with zoom in/out links.
...
The zoom control allows for zoom in/out links that can be styled with CSS.
Note: This change was originally captured in #269 . It involves nice additions thanks @ahocevar. The changes were unintentionally merged and then reverted with fb3caf1561 , so the history of commits is not immediately apparent (though still likely there somewhere due to the magic of git).
2012-03-05 22:11:36 -07:00
Matt Priour
405a2225e8
Make the getScriptLocation function work with mobile & light builds and any other extended OpenLayers script naming convention
2012-03-05 19:53:35 -06:00
Éric Lemoine
d5da1130b5
Merge pull request #207 from probins/script
...
Change Protocol/Script registry to object
2012-03-05 13:52:44 -08:00
Marc Jansen
25bba1c937
Remove not needed document.getElementById in test.
2012-03-05 21:41:39 +01:00
Marc Jansen
8f0280e8bd
Add two trivial tests for the presence and default
...
value of OpenLayers.ImgPath.
2012-03-05 21:23:40 +01:00
Marc Jansen
768ad0108d
Move the declaration of OpenLayers.ImgPath from Util.js to OpenLayers.js.
2012-03-05 21:00:05 +01:00
ahocevar
fb3caf1561
Revert "Merge branch 'master' of github.com:openlayers/openlayers"
...
This reverts commit 12f191a690 , reversing
changes made to 49b3dc85c2 . See #269 .
2012-03-05 18:56:50 +01:00
Éric Lemoine
c8f0dfd728
Merge pull request #261 from mpriour/multiple-builds
...
Package OpenLayers with 3 pre-built versions (Full, light, & mobile)
2012-03-05 09:02:52 -08:00
Éric Lemoine
44cb6a404b
Merge pull request #254 from mpriour/light-build
...
Initial light build config file
2012-03-05 09:01:21 -08:00
Matt Priour
b8f396f44d
Remove GML, KML, & WmsGFI for vector shapes on non-interactive tiles use case
2012-03-05 10:48:49 -06:00
Matt Priour
ba5f638120
Merge branch 'master' into light-build
2012-03-05 10:46:04 -06:00
ahocevar
abbf679ab6
Fixing typo in docs
2012-03-05 16:46:45 +01:00
ahocevar
d6ffd60199
Merge pull request #283 from ahocevar/tileerror
...
New events: loaderror for Tile, tileerror for Layer.Grid. r=@bartvde
2012-03-05 06:10:22 -08:00
ahocevar
fe63d0aa63
New events: loaderror for Tile, tileerror for Layer.Grid.
2012-03-05 14:20:01 +01:00
Éric Lemoine
8c0d6880df
Merge pull request #282 from probins/img
...
OpenLayers.ImgPath should be API property
2012-03-05 05:19:08 -08:00
Peter Robins
eb4bf5d438
OpenLayers.ImgPath should be API property
2012-03-05 13:13:51 +00:00
ejn
fbc3b5475d
Improved regex, added tests
2012-03-05 12:14:56 +01:00
ahocevar
d7533096e9
Fixing Renderer/SVG.html tests for IE9 (see #277 ).
2012-03-05 12:00:18 +01:00
ahocevar
5674d440c8
Fixing IFrame test for IE9 (see #277 ).
2012-03-05 11:49:07 +01:00
Xavier Mamano
bfb379f349
Fix some problems in the documentation.
2012-03-05 11:43:09 +01:00
Bart van den Eijnden
d3a4275136
Merge pull request #279 from bartvde/gfi_exceptions
...
GetFeatureInfo requests should take EXCEPTIONS parameter from the WMS layer (r=@ahocevar)
2012-03-05 01:07:17 -08:00
Bart van den Eijnden
17f7b2feab
use separate testcase as suggested by @ahocevar
2012-03-05 10:04:15 +01:00
Bart van den Eijnden
6204fe50c6
GetFeatureInfo requests should take EXCEPTIONS parameter from the WMS layer
2012-03-05 09:56:31 +01:00
Bart van den Eijnden
cf9cc27279
fix typo
2012-03-05 09:47:37 +01:00
Éric Lemoine
ba7e820adb
Merge pull request #278 from elemoine/revert-camelize-removal
...
Revert camelize removal
2012-03-05 00:37:32 -08:00
Tim Schaub
938cd65116
Merge pull request #275 from probins/newex
...
New example using YQL for cross-origin xml (thanks @probins).
2012-03-04 20:28:46 -08:00
Tim Schaub
80ab5d5161
Resize on zoom (would that it were the default).
2012-03-04 20:45:42 -07:00
Tim Schaub
6345e87f04
Merge pull request #276 from jorix/remove_unused_code
...
Remove unused snappingOptions.
2012-03-04 19:10:41 -08:00
Tim Schaub
55d14698aa
Reverting the doc menu changes.
...
While these were legitimate changes, I'm reverting the API doc menu changes to separate concerns.
2012-03-04 20:01:35 -07:00
Éric Lemoine
c58f093615
Revert "Removing camelize method."
...
This reverts commit 43ef0920c2 .
2012-03-04 23:22:21 +01:00
Éric Lemoine
55a52008d6
Revert "Moving camelize and its tests to deprecated"
...
This reverts commit 5875b50a51 .
2012-03-04 23:21:54 +01:00
Éric Lemoine
526ff5f6ed
Revert "indicate that String.camelize is deprecated in the 2.12 release notes, refs #64 , no functional change"
...
This reverts commit acf6a8a97d .
2012-03-04 23:21:41 +01:00
ahocevar
1072511be7
Fixing tests - popup only needed in Firefox.
...
See #249 .
2012-03-04 22:45:38 +01:00
Éric Lemoine
9f06a17647
fix the Protocol/CSW tests in IE, refs #249
2012-03-04 22:18:07 +01:00
Éric Lemoine
dc9dd219fc
fix the "too much recursion" exceptions in the Grid.html tests
2012-03-04 21:15:04 +01:00
ahocevar
ffac63045e
Removing duplicate setCanvasStyle method.
...
Thanks @jorix for catching this (see #238 ).
2012-03-04 19:56:41 +01:00
Xavier Mamano
af8a483f10
"snappingOptions" option is not used neither in lib examples and evidence.
2012-03-04 17:01:06 +01:00
Éric Lemoine
e409b77caa
fix deprecated/WMS and deprecated/MapServer tests
2012-03-04 15:56:15 +01:00
Peter Robins
e267c3a53d
Example for cross-origin xml
2012-03-04 12:52:58 +00:00
ahocevar
1b746a6461
Fixing Tween tests.
...
Thanks @tschaub for the requestAnimationFrame hint. See #249
2012-03-04 11:36:28 +01:00
ahocevar
12f191a690
Merge branch 'master' of github.com:openlayers/openlayers
2012-03-04 11:25:10 +01:00
Tim Schaub
c6aa996d2a
UTFGrid geography class example.
2012-03-04 01:58:22 -07:00
Tim Schaub
32db586fba
Provide map and pixel location to callback.
2012-03-04 01:56:26 -07:00
Éric Lemoine
49b3dc85c2
Merge pull request #56 from jorix/3576-MeasureImm
...
#3576 Incorrect geometry passed to measurePartial
2012-03-03 23:59:54 -08:00
Tim Schaub
268b84286b
Tests for UTFGrid layer and control.
2012-03-03 17:29:38 -07:00
Tim Schaub
dc4df928ed
Doc cleanup for UTFGrid layer.
2012-03-03 17:28:55 -07:00
Tim Schaub
36d22bbb15
Single argument constructor for UTFGrid layer.
2012-03-03 16:07:50 -07:00
Tim Schaub
2feb860983
Separating UTFGrid example markup and js source.
2012-03-03 16:07:50 -07:00
Éric Lemoine
e576eba862
add missing statement-ending semi-colon, refs #272
2012-03-03 23:57:02 +01:00
Éric Lemoine
9242846954
Merge pull request #272 from elemoine/revert-hasownproperty
...
do not generalize use of hasOwnProperty
2012-03-03 14:54:48 -08:00
Éric Lemoine
d6f8095535
add @tschaub's test_extend_event back
2012-03-03 23:50:28 +01:00
Tim Schaub
bb76893abb
Merge pull request #273 from tschaub/permalink
...
Make permalink destruction safe (r: @ahocevar).
2012-03-03 14:07:54 -08:00
Tim Schaub
9a3b723ba4
Making it safe to destroy a permalink.
...
Previously, a map could not be destroyed if it included a permalink control without an "element". In addition, a permalink control could not be destroyed if it didn't have a reference to a map.
2012-03-03 14:42:43 -07:00
Tim Schaub
ac884a4de7
Merge pull request #270 from probins/argparsercenter
...
Make options.center compatible with permalink.
2012-03-03 13:37:26 -08:00
Éric Lemoine
9a116b21b9
Revert "protect for in loops with hasOwnProperty"
...
This reverts commit e3cc96dbfb .
2012-03-03 22:35:39 +01:00
Éric Lemoine
161b54b6f1
Revert "Fixing the extend method to work on IE."
...
This reverts commit 71276b5323 .
2012-03-03 22:35:31 +01:00
Éric Lemoine
6712dd9680
Revert "Collecting tests together."
...
This reverts commit fb748bae81 .
2012-03-03 22:35:17 +01:00
Tim Schaub
935d621113
Testing that the permalink works with map options.
...
The permalink/argparser combo doesn't properly handle map configurations where layers and a map location are provided (see #270 ).
2012-03-03 14:30:03 -07:00
ahocevar
221f299650
Using buttonclick event to avoid issues on touch devices.
2012-03-03 22:21:01 +01:00
ahocevar
9860d60518
Merge branch 'zoom' of https://github.com/tschaub/openlayers into zoom
2012-03-03 22:20:49 +01:00
ahocevar
47d0eb1013
Documenting params
2012-03-03 19:14:52 +01:00
Peter Robins
bcba6bb0fd
Map: make options.center compatible with permalink
2012-03-03 17:06:14 +00:00
Tim Schaub
3b028e0017
Merge pull request #268 from tschaub/has
...
Fixing the extend method to work on IE.
2012-03-03 07:12:56 -08:00
Tim Schaub
fb748bae81
Collecting tests together.
2012-03-03 08:11:42 -07:00
Tim Schaub
c6650087cc
Update zoom example to demonstrate custom style.
2012-03-02 23:51:39 -07:00
Tim Schaub
f45043967b
Zoom control tests.
2012-03-02 22:52:18 -07:00
Tim Schaub
45b9c48c43
Accommodations for IE.
2012-03-02 22:11:40 -07:00
Tim Schaub
b9b471f57b
Merge branch 'master' into zoom
2012-03-02 21:26:58 -07:00
tschaub
66e8fafdf2
Correcting example typo. Thanks @probins.
2012-03-02 18:38:42 -07:00
tschaub
59578931c2
Making testing in IE a tiny bit less painful.
...
The super handy quick filter that Marc added in 57c16b7345 was causing a bit of trouble in IE. First, `input` was undefined where it was used as a misspelling for `window`. After that, IE choked on the nice CSS3 selector when filtering the test list. It turns out we don't need to be as selective and can treat all anchor elements within the table rows as candidates.
2012-03-02 18:29:25 -07:00
tschaub
71276b5323
Fixing the extend method to work on IE.
...
In IE, events don't have a `hasOwnProperty` method. Instead of trusting that the source objects have this method, we call the same on the Object prototype. If we want to be safer about the `hasOwnProperty` calling done in e3cc96dbfb , we could create an `OpenLayers.Object.has` method that also used the Object prototype.
2012-03-02 16:54:59 -07:00
tschaub
0ce7674be6
Adding a simple zoom control.
...
This control generates simple zoom in/out links that can be styled with CSS.
2012-03-02 15:45:30 -07:00
Éric Lemoine
9b2e46d9c5
Merge pull request #189 from jorix/popup-bug_onImageLoad
...
A popup can be destroyed before obtaining the images of `contentDiv`.
2012-03-02 14:34:24 -08:00
Éric Lemoine
26be40a1bd
Merge pull request #186 from jorix/Build-monitor-errors
...
Build: Monitor the errors from the merge process.
2012-03-02 14:33:31 -08:00
Marc Jansen
1ef5cfd9a0
fix link to NaturalDocs
2012-03-02 21:30:05 +01:00
ahocevar
39962a6179
Using v3.6 of the GMaps v3 API everywhere.
2012-03-02 11:02:22 +01:00
Bart van den Eijnden
456a17b61c
fix up test in Tile/Image/IFrame see 221d7caf70 (commitcomment-1032985)
2012-03-02 09:40:58 +01:00
tschaub
9b3a78ed5e
Fixing the build by adding missing var.
...
An undeclared variable snuck in with 930206fb57 . This breaks builds using closure compiler. Another reason to set up a CI server and a builds@ list.
2012-03-01 17:00:26 -07:00
tschaub
5a355f3760
Attribution update.
2012-03-01 16:33:50 -07:00
Tim Schaub
485317567e
Merge pull request #266 from tschaub/permalink
...
Making map construction work with permalink.
2012-03-01 15:11:10 -08:00
ahocevar
930206fb57
Merge pull request #247 from probins/kmlatts
...
KML: write attributes; add option for kvp attributes
2012-03-01 14:30:11 -08:00
tschaub
4e9701caa8
Making map construction work with permalink.
...
If a map is configured with a permalink control and a center, the permalink control tries to work with the map center before setCenter is called. This sequence assumes that the map center will already be a LonLat. This fails if the map is constructed with a coordinate array. Safer move is to convert center to LonLat before controls are added.
2012-03-01 13:47:42 -07:00
tschaub
31219c90f5
Adding XYZ example using MapBox tiles.
2012-03-01 13:13:35 -07:00
Peter Robins
eb47d97774
KML: write attributes; add option for kvp attributes
2012-03-01 12:56:38 +00:00
Pierre GIRAUD
6d5544ca96
Merge pull request #264 from pgiraud/osm
...
Use the 3 available sub-domains for OSM by default
2012-03-01 03:00:07 -08:00
Pierre GIRAUD
45daaf5dd2
Use the 3 available sub-domains for OSM by default
2012-03-01 11:54:07 +01:00
Bart van den Eijnden
726b9dead8
Merge pull request #262 from bartvde/forloops
...
protect for in loops with hasOwnProperty (r=@elemoine,@marcjansen)
2012-03-01 01:09:19 -08:00
Tim Schaub
de68e00a58
Merge pull request #263 from jorix/always_requires
...
Avoid using the [first] section. Specify dependencies in the lib.
2012-02-29 19:31:15 -08:00
Bart van den Eijnden
e3cc96dbfb
protect for in loops with hasOwnProperty
2012-02-29 18:43:55 +01:00
Matt Priour
5c42b2f3ff
Remove canvas renderer, as it is redundant with SVG and SVG is better supported and more robust across non-IE browsers
2012-02-29 10:13:57 -06:00
Xavier Mamano
fe33e29000
If using OpenLayers namespace must have at least one requirement.
2012-02-29 17:07:41 +01:00
Matt Priour
dd11c75625
Merge branch 'master' into light-build
2012-02-29 10:02:22 -06:00
Matt Priour
da1a79018a
Build full, light & mobile minified & debug versions of OpenLayers during release & dev dir update process
2012-02-29 09:58:23 -06:00
ahocevar
d7a3ecac08
Merge pull request #259 from ahocevar/259
...
Don't overwrite params, and use params in Layer.ArcGISCache. r=@elemoine
2012-02-29 07:55:53 -08:00
ahocevar
fa30c1da5c
Don't overwrite params, and use params in Layer.ArcGISCache
2012-02-29 16:52:31 +01:00
Bart van den Eijnden
85b997fa0e
Merge pull request #258 from bartvde/textplacement
...
PointPlacement and LinePlacement are choices, so don't output both (r=@ahocevar)
2012-02-29 05:54:00 -08:00
Bart van den Eijnden
2421ed6da3
add comments to the test (suggestion by @ahocevar)
2012-02-29 14:53:20 +01:00
Bart van den Eijnden
0e1a30b3cd
PointPlacement and LinePlacement are choices, so don't output both
2012-02-29 14:42:11 +01:00
Éric Lemoine
8273f153dc
Merge pull request #223 from camptocamp/access_panelbutton
...
make it possible to create accessible panel buttons
2012-02-29 04:39:57 -08:00
Éric Lemoine
98ff5473a6
add tests for buttonclick.getPressedButton
2012-02-29 13:36:07 +01:00
Éric Lemoine
6a43fcaefc
change buttonclick.getPressedButton depth value from 5 to 3, this allows buttons with grand children (2 levels)
2012-02-29 13:34:47 +01:00
ahocevar
8ea3b1bd3e
Merge pull request #255 from ahocevar/255
...
LayerSwitcher broken when rendered to custom div. r=@elemoine
2012-02-29 04:25:18 -08:00
Éric Lemoine
3f99354d8c
Merge pull request #257 from probins/opacity
...
Make layer opacity api property
2012-02-29 04:00:06 -08:00
Peter Robins
55c18076d3
Make layer opacity api property
2012-02-29 10:40:20 +00:00
Bart van den Eijnden
2955302650
Merge pull request #256 from bartvde/vendoroptions
...
make vendorOptions an object instead of an array (r=@ahocevar)
2012-02-29 02:11:41 -08:00
Bart van den Eijnden
b699afa57f
make vendorOptions an object instead of an array, which makes it more convenient to prevent duplicate vendorOptions
2012-02-29 10:57:08 +01:00
ahocevar
557d7ab0d7
Fixing typo.
2012-02-29 10:49:40 +01:00
ahocevar
d0c782ca74
Making LayerSwitcher work again outside viewport.
2012-02-29 10:40:45 +01:00
ahocevar
b7eba35077
Notes on incorrect maxResolution of 156543.0339 and defaults coupled with projection
2012-02-29 08:11:14 +01:00
Matt Priour
cd2a6aaaaf
Merge branch 'master' of https://github.com/openlayers/openlayers into light-build
2012-02-28 23:26:29 -06:00
Matt Priour
3667428692
Add LayerSwitcher and remove vector editing
2012-02-28 22:52:40 -06:00
Éric Lemoine
00909404ab
[Event.buttonclick] make buttonclick work if target element is a child of the clicked button
2012-02-29 00:56:52 +01:00
Xavier Mamano
9e48825205
Preserve the title and the className if they are set in createControlMarkup.
2012-02-28 22:28:33 +01:00
Éric Lemoine
3b7585be24
avoid useless deref
2012-02-28 22:28:33 +01:00
Éric Lemoine
0f0e60c336
[examples] more docs in the accessible-panel example
2012-02-28 22:28:33 +01:00
Éric Lemoine
aedc96f030
[examples] add an accessible-panel example
2012-02-28 22:28:33 +01:00
Éric Lemoine
e551fc672c
[Event.buttonclick] make buttonclick work on RETURN/SPACE keydown
2012-02-28 22:28:33 +01:00
Éric Lemoine
5539f6e958
[Control.Panel] place code creating the control markup in a separate function
2012-02-28 22:28:33 +01:00
tschaub
396b016220
Mask requestAnimationFrame so tiles load in FF.
2012-02-28 12:03:27 -07:00
Matt Priour
d0ccfacb66
Add GetFeature control & FramedCloud popups. Use OSM.js rather than XYZ.js
2012-02-28 11:51:35 -06:00
Éric Lemoine
cb71eccb34
Merge pull request #252 from probins/doc
...
Remove doc/walkthru.html
2012-02-28 09:43:03 -08:00
Matt Priour
62f62510c8
Initial light build config file
2012-02-28 10:52:49 -06:00
Frédéric Junod
e14347dbc3
Merge pull request #29 from fredj/map-original-options
...
Expose map original options. r=@elemoine
2012-02-28 07:07:31 -08:00
ahocevar
2e6fe7d330
Notes about wrapDateLine.
2012-02-28 15:07:03 +01:00
Éric Lemoine
3cc0b8f51c
Merge pull request #253 from probins/readme
...
Fix broken link in readme
2012-02-28 05:03:17 -08:00
Peter Robins
f9b64d945a
Fix broken link in readme
2012-02-28 12:52:53 +00:00
Tim Schaub
4d31a3ed3a
Method for getting both feature id and data.
...
Having to call two methods to get complete feature information (id and data) is cumbersome. The `getFeatureInfo` method returns an object with both feature id and data.
2012-02-28 05:37:28 -07:00
Bart van den Eijnden
afe2966385
Merge pull request #208 from bartvde/wfs11
...
implement readers for URL endpoints in WFS 1.1, this meant restructuring the WFS Capabilities format to use the new readers and writers structures (r=@ahocevar)
2012-02-28 04:32:59 -08:00
Marc Jansen
631f6b5d3d
Merge pull request #218 from marcjansen/testsuite-fixes
...
Testsuite fixes
2012-02-28 04:32:36 -08:00
Bart van den Eijnden
dd97bed3b4
merge with trunk
2012-02-28 13:31:14 +01:00
Peter Robins
2f3f849597
Remove doc/walkthru.html
2012-02-28 12:14:43 +00:00
Éric Lemoine
cb27e9def4
Merge pull request #250 from camptocamp/access_clickexample
...
Accessible click control example
2012-02-28 03:15:43 -08:00
ahocevar
94e8fff9e6
Fixing test (see #249 )
2012-02-28 12:05:13 +01:00
Éric Lemoine
43809ea330
Merge pull request #222 from camptocamp/access_keyboardcontrol
...
KeyboardDefaults control improvements
2012-02-28 03:02:19 -08:00
Arjen Kopinga
1c6d44e5d5
Moved symbol definitions to Renderer.js
2012-02-28 11:52:46 +01:00
Arkadiusz Grabka
8fcc3c79f8
Added translations for Polish language.
2012-02-28 10:57:17 +01:00
ahocevar
7c72b6dd95
Merge pull request #240 from ajkopinga.
2012-02-28 10:49:54 +01:00
Éric Lemoine
9c2255706c
click-keyboard example renamed to accessible-click-control
2012-02-28 10:48:50 +01:00
Éric Lemoine
eb700d98e1
add an example for an accessible click control implementation
2012-02-28 10:46:49 +01:00
ahocevar
4ee28dc63e
Simplifying logic that returns undefined when root is invisible.
2012-02-28 10:45:18 +01:00
Arjen Kopinga
d4a9f60c93
simplified unit test for hit detection on invisible canvas
2012-02-28 10:43:11 +01:00
unknown
f8189f2862
Added unit tests for hit detection on invisible canvas layer
2012-02-28 10:43:11 +01:00
Arjen Kopinga
bf834e6b8e
being a good coder and adding braces around if statement body
2012-02-28 10:43:10 +01:00
Arjen Kopinga
4efa03eb59
Fix for being able to select a feature from an invisible layer that uses the Canvas renderer
2012-02-28 10:43:10 +01:00
fredj
f3c48d6963
Store the original map options into 'options' property
2012-02-28 10:07:59 +01:00
Éric Lemoine
acf6a8a97d
indicate that String.camelize is deprecated in the 2.12 release notes, refs #64 , no functional change
2012-02-28 09:53:41 +01:00
ahocevar
c55a8b554d
Merge pull request #229 from ahocevar/post-blank
...
Using a blankImageUrl that works for IFrames in IE9. r=@elemoine.
2012-02-28 00:23:51 -08:00
Éric Lemoine
5444fbcfc8
make the Google Closure compiler happier, no functional change
2012-02-28 09:08:13 +01:00
ahocevar
c2b8f9cdb5
Merge pull request #64 from tmcw/no-camel
...
Removing camelize method.
2012-02-28 00:05:58 -08:00
Bart van den Eijnden
6258c89d8c
Merge pull request #242 from bartvde/sld2
...
Add support for LabelPlacement of sld:TextSymbolizer (r=@ahocevar)
2012-02-28 00:00:01 -08:00
tschaub
19a11561e8
Correcting typo.
2012-02-27 17:21:35 -07:00
tschaub
0aa8705299
Test the demo utfgrid file (currently failing).
2012-02-27 16:48:33 -07:00
tschaub
fd595e6282
Clearer tile method names.
2012-02-27 16:47:11 -07:00
tschaub
89e8a872a5
Making the default UTFGrid resolution 2.
...
According to the latest [spec](https://github.com/mapbox/utfgrid-spec/blob/master/1.2/utfgrid.md ): "By default, UTFGrid operates on a 2x2 grid."
2012-02-27 08:57:22 -07:00
Tim Schaub
551c582ab1
Layer and tile API update.
...
The tile now has responsibility for resolving feature ids and fetching feature data given x, y pixel offsets with getFeatureId and getFeatureData methods. The layer has corresponding getFeatureId and getFeatureData methods that take a map location, lookup the appropriate tile, and delegate to the tile for the rest of the work.
2012-02-26 21:05:12 -07:00
Tim Schaub
fc03f57591
Simplify constructor by setting projection.
2012-02-26 19:23:22 -07:00
ahocevar
fa656e7ed6
Merge pull request #239 from ahocevar/3625
...
Removing imageOffset and using getImageSize. r=@elemoine
2012-02-26 09:25:29 -08:00
Éric Lemoine
3113aba7f1
Merge pull request #203 from probins/http
...
HTTP protocol: enable POST for update/delete
2012-02-26 01:16:49 -08:00
Tim Schaub
faeb691f3a
Tests for UTFGrid tiles.
2012-02-25 23:07:31 -07:00
Tim Schaub
8c95a90052
The parseData method doesn't need to know of XHR.
2012-02-25 20:51:03 -07:00
Tim Schaub
12fa9b54ef
Consistency with tile loading events.
...
Since loadstart is being fired here, it makes sense to fire loadend as well. The isLoading flag also needs to be cleared. Needs tests still.
2012-02-25 20:45:18 -07:00
Tim Schaub
c18f6a23be
Use JSON format for parsing JSON.
...
To get IE7 support, the OpenLayers.Format.JSON parser should be used. This leverages the native JSON.parse method where available. It does add extra weight to UTFGrid builds. However, as of this commit date, we lose large portions of US govt agencies when we exclude IE7.
2012-02-25 20:18:23 -07:00
Tim Schaub
e6f0aa08e5
Cleanup use of Script protocol.
...
I would think there would still be an error thrown here. Will put together a test to determine for sure, but I'd think that the default GeoJSON parser used by the protocol would choke on the UTFGrid json.
2012-02-25 20:09:34 -07:00
Tim Schaub
73e6973ab5
Remove cargo culted image tile bits.
2012-02-25 20:03:40 -07:00
Tim Schaub
65233dd0bc
Add dependency on UTFGrid tile.
2012-02-25 20:01:14 -07:00
Tim Schaub
6ffce8cfb6
Remove unused list item.
2012-02-25 20:00:46 -07:00
mperry
bd8e4b55ef
Merge remote-tracking branch 'tschaub/utfgrid' into utfgrid
2012-02-25 17:58:51 -08:00
mperry
ede6da8e6f
Merge remote-tracking branch 'upstream/master' into utfgrid
2012-02-25 17:51:56 -08:00
Tim Schaub
e1dffacdde
Providing a method to get data from the layer.
...
I think it should be the job of the layer to retrieve data for a given location (instead of the control). The first part of this change creates a `getData` method on the layer and updates the control to use this method.
The second part of this change removes the assumption that the data returned will be an simple object representing feature attributes. The UTFGrid specification doesn't say anything about the structure of property values in the optional data member. The examples given in the spec use string values. The default callback previously assumed that the data could be rendered in a two column table. I think it would make more sense not to make this assumption. With this change, the user must always provide a callback to do anything with returned data.
2012-02-25 17:33:32 -07:00
Tim Schaub
55ffdffd60
Removing debugging method.
2012-02-25 16:42:45 -07:00
Tim Schaub
6284e44d2e
Making the UTFGrid examples more like the rest.
2012-02-25 16:18:43 -07:00
Tim Schaub
34a9c46243
Add UTFGrid components to debug loader.
2012-02-25 16:12:19 -07:00
Tim Schaub
f4465c516d
Merge branch 'master' into utfgrid
2012-02-25 16:08:11 -07:00
ahocevar
a2d658f75a
Merge pull request #245 from probins/mapdefaults
...
Map: check default controls are in build
2012-02-25 10:12:20 -08:00
Peter Robins
27e5aaf8f0
Map: check default controls are in build
2012-02-25 17:06:30 +00:00
Bart van den Eijnden
12d8220992
add a testcase for the labelAlign to AnchorPoint translation
2012-02-24 18:35:20 +01:00
Bart van den Eijnden
617ba736a2
if labelAlign is set, translate to AnchorPointX and AnchorPointY
2012-02-24 18:20:41 +01:00
Bart van den Eijnden
3b81b423a5
do not use rotation but use labelRotation instead (thanks @ahocevar for the catch)
2012-02-24 17:48:35 +01:00
Bart van den Eijnden
66d3b81929
remove accidentally commited swap file
2012-02-24 17:03:49 +01:00
ahocevar
284ec6a957
Merge pull request #243 from ahocevar/bing-maxresolution
...
If maxResolution is not set, we want the serverResolution. r=@bartvde
2012-02-24 07:27:28 -08:00
Bart van den Eijnden
63874e55d3
Merge pull request #237 from bartvde/sld
...
Add a GeoServer profile of SLD version 1.0.0 (r=@ahocevar)
2012-02-24 07:18:21 -08:00
ahocevar
094bedda9a
If maxResolution is not set, we want the serverResolution.
...
After 2fe882f4d8 , no default maxResolution is set. To make the Math.min not return 0, we need a fallback if no maxResolution was configured.
2012-02-24 16:04:07 +01:00
Bart van den Eijnden
c7a631c2e5
correct typo
2012-02-24 15:59:14 +01:00
Bart van den Eijnden
f05564cdb3
add support for LinePlacement
2012-02-24 15:42:49 +01:00
Bart van den Eijnden
6411a6c0ef
implement TextSymbolizer->PointPlacement
2012-02-24 14:58:36 +01:00
Bart van den Eijnden
2e69d68102
map fill-opacity in TextSymbolizer to fontOpacity
2012-02-23 15:55:40 +01:00
Bart van den Eijnden
330777dd82
Merge branch 'master' of github.com:openlayers/openlayers into sld
2012-02-23 15:37:26 +01:00
ahocevar
8ce712adb6
Merge pull request #238 from ajkopinga/master
2012-02-22 17:26:54 +01:00
ahocevar
69660e3530
Minor coding style improvements.
2012-02-22 17:22:30 +01:00
Bart van den Eijnden
7fb62b6933
more complete inheritance of readers and writers
2012-02-22 16:18:41 +01:00
Arjen Kopinga
bb3ae99713
forgot to actually used featureId in getFeatureIdFromEvent
2012-02-22 15:57:54 +01:00
Arjen Kopinga
65aeaec284
returned graphic-name.js to its original state
2012-02-22 15:52:01 +01:00
Arjen Kopinga
1119146486
Small fix for hit detection on a canvas layer as an illegal feature id might result at a location where the edge of one feature intersects the interior of another. This is due to antialiasing on the hit context canvas which can't be turned off, unfortunately.
2012-02-22 15:39:31 +01:00
Arjen Kopinga
d6e28e5ab9
Added support for named graphics to Canvas renderer
2012-02-22 15:26:21 +01:00
Bart van den Eijnden
941f3c0913
change comment to highlight it's both read and write
2012-02-22 12:23:20 +01:00
Bart van den Eijnden
d4e0947f1a
even though the parsing and writing is the same for all VendorOption tags, add a more complete list in the test SLD
2012-02-22 12:18:56 +01:00
Bart van den Eijnden
f0cb98a9bf
a bit of restructuring, also making sure that a Graphic in a TextSymbolizer can be read and written (this is a GeoServer extension to produce e.g. highway shields)
2012-02-22 11:57:42 +01:00
Bart van den Eijnden
82a8602b45
use a more clean way to achieve the same
2012-02-22 11:50:37 +01:00
Bart van den Eijnden
b2f95bd537
TextSymbolizer->Fill->CssParameter['fill'] should map to fontColor instead
2012-02-22 11:03:48 +01:00
Bart van den Eijnden
050f72b443
start on a GeoServer profile for SLD
2012-02-22 09:55:45 +01:00
ahocevar
85498cb23f
Removing imageOffset and using getImageSize.
...
This fixes a regression that was introduced with the Tile.Image overhaul. See http://trac.osgeo.org/openlayers/ticket/3625 .
2012-02-21 15:06:32 +01:00
Bart van den Eijnden
a569873ff1
Merge pull request #235 from bartvde/bbox
...
add noAbort option to OpenLayers.Strategy.BBOX (r=@ahocevar)
2012-02-21 03:18:15 -08:00
Bart van den Eijnden
990a33662e
incorporate @ahocevar's review
2012-02-21 12:09:19 +01:00
Bart van den Eijnden
815cafd900
add an option to OpenLayers.Strategy.BBOX to allow not aborting previous requests
2012-02-21 07:53:43 +01:00
fredj
79b539c1f9
Simplify parent call (don't use intermediate array)
2012-02-20 13:55:12 +01:00
ahocevar
221d7caf70
Using a blankImgUrl that works for IFrames in IE9.
...
See http://trac.osgeo.org/openlayers/ticket/3624 .
2012-02-20 12:01:56 +01:00
fredj
3fefe91580
Remove tabs
2012-02-17 09:12:59 +01:00
ahocevar
69bac049c4
Merge pull request #227 from ahocevar/tileloaded-event
...
Making loaded tile available to tileloaded listeners. r=@fredj,@elemoine
2012-02-16 14:34:51 -08:00
Marc Jansen
03ba4dac88
Remove superfluous comment closing (*/), thanks @mprins.
2012-02-16 21:43:36 +01:00
tschaub
977c334fa3
Doc cleanup.
2012-02-16 10:41:05 -07:00
tschaub
2b5ade2dde
Adding back events documentation.
...
When the list of event types became unconstrained in 501b42228a , we lost the documentation for events that are triggered. This change adds the list of events triggered to the API docs for events properties.
2012-02-16 10:36:34 -07:00
ahocevar
93e4d0b94c
Making loaded tile available to tileloaded listeners.
2012-02-16 16:29:06 +01:00
ahocevar
ed502f6f19
Merge pull request #226 from probins/gpx
...
GPX read should allow for blank attribute nodes
2012-02-16 07:02:09 -08:00
fredj
17f96f68a2
Preserve numZoomLevels from options. r=@tonio (see #219 )
2012-02-16 15:24:33 +01:00
Peter Robins
584d33eaa3
GPX read should allow for blank attribute nodes
2012-02-16 13:32:10 +00:00
fredj
0727f5558a
Remove maxExtent, maxResolution and units options. See #219
2012-02-16 13:55:53 +01:00
ahocevar
2fe882f4d8
Merge pull request #219 from ahocevar/proj-defaults
...
New OpenLayers.Projection.defaults property. r=@tschaub,@fredj
2012-02-16 01:29:29 -08:00
ahocevar
79bab72269
Merge pull request #4 from fredj/proj-defaults
...
Proj defaults: update examples
2012-02-16 00:53:19 -08:00
fredj
b3ad241055
Use jQuery Mobile 1.0.1 Release
2012-02-16 09:42:46 +01:00
fredj
1cc8770476
Use OpenLayers.Projection.defaults values.
2012-02-16 09:20:41 +01:00
ahocevar
94fb14c378
Merge pull request #225 from drnextgis/master
...
Fix basic ESRI Map Cache Example
2012-02-15 22:39:35 -08:00
_DR_
30ad3adb9d
Fix Basic ESRI Map Cache Example
2012-02-16 08:50:17 +04:00
ahocevar
6b8ba43e20
Adding a scaled layer.
2012-02-15 22:00:54 +01:00
ahocevar
262e2d5bc0
Calculating maxResolution instead of having it in defaults.
2012-02-15 21:09:39 +01:00
Marc Jansen
67ea250cca
Fix a Control.OverviewMap test that failed in Firefox 10.0.1 (Linux).
2012-02-15 14:11:54 +01:00
Éric Lemoine
c0b02b278a
add an observeElement option to Handler.Keyboard and Control.KeyboardDefaults to control the DOM element on which key events are observed
2012-02-15 13:58:48 +01:00
Éric Lemoine
2ecec3ddc3
fix the Handler.Keyboard tests
2012-02-15 13:58:48 +01:00
Éric Lemoine
cbebcd0bf6
make the KeyboardDefaults control prevent browser default after handling a key press
2012-02-15 13:58:48 +01:00
Éric Lemoine
81e8b4200d
improve the accessible.html example
2012-02-15 13:58:47 +01:00
Éric Lemoine
e15dde0561
make the keyboard handler work on the map div as opposed to the document
2012-02-15 13:58:47 +01:00
ahocevar
2e423df3d2
Use the layer's projection.
...
In setMap, the layer gets the map's projection if it doesn't have its own. And since a layer can have a different SRS code than the map (but a compatible one, i.e. with OpenLayers.Projection.transforms[mapProj][layerProj] being OpenLayer.Projection.nullTransform), the axis order can be different.
2012-02-15 13:41:25 +01:00
Pierre GIRAUD
cd41548c01
Merge pull request #221 from pgiraud/gpx
...
Fixing XML Validation failure
2012-02-15 04:33:18 -08:00
ahocevar
1b57783eb0
Merge pull request #3 from fredj/proj-defaults
...
Proj defaults
2012-02-15 04:23:47 -08:00
fredj
147b32b7e3
Don't compute limit if it's not needed
2012-02-15 12:33:14 +01:00
fredj
cd3ffa2058
Simplify parent call (don't use intermediate array)
2012-02-15 12:32:25 +01:00
fredj
a40ae7ef11
If sphericalMercator, use default values from Projection.defaults
2012-02-15 12:30:05 +01:00
Pierre GIRAUD
cfaaa352f8
Update lib/OpenLayers/Format/GPX.js
2012-02-15 12:17:39 +01:00
Pierre GIRAUD
6608f5fd94
GPX Format - Adding the mandatory creator attribute
2012-02-15 11:58:52 +01:00
Pierre GIRAUD
cb65b69556
The root element shouldn't be prefixed, this is not XML valid. (checked using xmllint --noout --schema http://www.topografix.com/GPX/1/1/gpx.xsd mygpx.gpx)
2012-02-15 11:50:55 +01:00
ahocevar
11966d231f
New OpenLayers.Projection.defaults property.
...
This allows us to simplify the map and layer configuration, because now the projection also defines defaults for maxExtent, maxResolution and units.
This change also adds transforms for SRS aliases for EPSG:4326 and centralizes axis order information in OpenLayers.Projection.defaults.
2012-02-15 11:09:55 +01:00
Marc Jansen
79540f346d
Reformatting of testfile prior to fixing failing test in Firefox 10.0.1.
...
No functional change.
2012-02-15 11:09:45 +01:00
Marc Jansen
436301c9ed
Fix Format.XML test where a defined variable wasn't used. This resulted in an
...
"DOM Exception: INVALID_CHARACTER_ERR (5)" in Chrome 17.
2012-02-15 10:44:34 +01:00
Marc Jansen
c776dac2c2
Make precision in test configurable.
2012-02-15 10:02:33 +01:00
Marc Jansen
5faea8e083
Fix Strategy.BBOX test that failed due to mixed precision of coordinates.
2012-02-15 09:54:58 +01:00
Marc Jansen
48a47b993a
Fix a Format.WKT test that failed due to rounding / precision of values.
2012-02-15 09:38:57 +01:00
Marc Jansen
52931daf32
Fix spelling in test-function. No functional change.
2012-02-15 09:14:31 +01:00
Matthew Perry
df3977e94c
Set default mode to click and properly pass is default handler options
2012-02-14 11:17:16 -08:00
Matthew Perry
bdf9e1b99e
Just call read; don't store variable
2012-02-14 11:16:41 -08:00
ahocevar
da3dc76a6d
Making the delay for removing the backbuffer configurable.
...
This helps users who want to avoid having old and new tiles on the screen for transparent single tile layers.
r=@elemoine (closes #216 )
2012-02-14 20:12:09 +01:00
ahocevar
5e734f20dc
Merge pull request #179 from ahocevar/tile-queue
...
A tile queue that can be aborted. r=@elemoine,@fredj,@tonio
2012-02-14 10:59:12 -08:00
Éric Lemoine
c5f25aa1de
Merge pull request #217 from jorix/remove-library_cfg
...
Remove `library.cfg`
2012-02-14 10:47:09 -08:00
Xavier Mamano
ab3325498e
A configuration file based on a directive [exclude] is a anti-pattern, so is proposed to remove library.cfg.
2012-02-14 18:56:46 +01:00
ahocevar
fe8a00d5c9
Support the culture attribute in the Bing Layer.
...
p=dcabasson, r=me (closes http://trac.osgeo.org/openlayers/ticket/3598 )
2012-02-14 17:23:01 +01:00
Éric Lemoine
745400fa74
Merge pull request #173 from jorix/3505-ignore-space-requires
...
Build: ignore trailing space in @requires dependencies
2012-02-14 07:57:59 -08:00
Xavier Mamano
cd8fa55b0e
Build: ignore trailing space in @requires dependencies
2012-02-14 16:43:15 +01:00
fredj
add094b284
tileSize property already defined in parent class (Layer.Grid)
2012-02-14 14:49:31 +01:00
fredj
692fe2dd12
Bounds.fromSize: size can be a simple object, update doc.
2012-02-14 14:32:15 +01:00
ahocevar
d387add3e2
Note about size limitations.
2012-02-14 12:28:29 +01:00
Matthew Perry
867080a074
Option for loading utfgrid via jsonp
2012-02-13 16:56:35 -08:00
ahocevar
fe0bc333ca
Improving example documentation.
2012-02-14 00:16:12 +01:00
ahocevar
ce71a5a3fd
Google Static Maps API. Simple and limited to 1000 views.
2012-02-14 00:07:57 +01:00
Frederic Junod
2dabac734c
Revert "Move the popup close box sizing to CSS"
...
Moving the box size to CSS broke `Popup.setSize()`; the function
expects a width for the padding computation. Because this function is
called before the div is added to the DOM, the size can't be
computed.
This reverts commit 134f24480a .
2012-02-13 19:59:59 +01:00
Éric Lemoine
16c30b8e6d
Merge pull request #45 from twpayne/initial-bearing-to
...
Add OpenLayers.Spherical, including utility functions for calculations on the basis of a spherical earth, patch from @twpayne
2012-02-13 05:35:13 -08:00
Bart van den Eijnden
1f539470bb
add box drawing to draw-feature control example so it is easier to find for people
2012-02-13 09:42:09 +01:00
Frédéric Junod
d106aabacf
Merge pull request #214 from fredj/popup-css
...
Move the popup close box sizing to CSS. r=ahocevar
2012-02-12 13:10:20 -08:00
Frederic Junod
134f24480a
Move the popup close box sizing to CSS
2012-02-12 21:56:41 +01:00
ahocevar
3fae6c0d29
Merge pull request #195 from ahocevar/layerswitcher-simplified
...
No additional events registered on the LayerSwitcher. r=@fredj.
2012-02-12 03:32:20 -08:00
ahocevar
5586368b73
Merge pull request #212 from oleg-poligon/patch-2
...
set GMaps API version to 3.6 in allOverlays Layer Example
2012-02-11 15:46:17 -08:00
oleg-poligon
718679a025
set GMaps API version to 3.6 in allOverlays Layer Example
2012-02-12 02:04:03 +04:00
ahocevar
8df3dffa8c
Merge pull request #210 from ahocevar/attribution-template
...
Template for the Attribution control. r=@elemoine
2012-02-11 04:32:00 -08:00
ahocevar
6385be7ffe
Template for the Attribution control.
...
This allows to add map specific copyright, or copyright required for tools like geocoders that are used in the context of the map.
2012-02-11 12:34:40 +01:00
ahocevar
ca2c3526b3
Adding notes about the crossOriginKeyword tile option for Layer.OSM and Layer.Bing.
2012-02-11 11:16:21 +01:00
Marc Jansen
c6312b613b
correct a typo in release notes CSS example
2012-02-10 23:55:51 +01:00
ahocevar
68a6c62f0b
Documenting tileOptions defaults.
2012-02-10 18:03:22 +01:00
ahocevar
b17c7b69f2
Adding comment about GMaps API version.
...
Closes http://trac.osgeo.org/openlayers/ticket/2984 .
2012-02-10 15:46:45 +01:00
Frédéric Junod
ad201f3a80
Merge pull request #160 from fredj/tile-canvas
...
Tile.Image and canvas. r=ahocevar,tschaub
2012-02-10 06:43:09 -08:00
ahocevar
334f83ff85
Updated tests for cebc7e60de.
...
See http://trac.osgeo.org/openlayers/ticket/3616 .
2012-02-10 14:15:51 +01:00
fredj
f8099e9ab1
Unset crossOrigin when setting blankImageUrl to the image.
...
Tested with FF 10, Chrome 16 and 18.
2012-02-10 13:46:13 +01:00
Frédéric Junod
f518e5a538
Merge pull request #2 from ahocevar/tile-canvas
...
New crossOriginKeyword property
2012-02-10 04:25:35 -08:00
Frédéric Junod
85beb32e85
Merge pull request #209 from fredj/modify-feature-create-vertices
...
New createVertices option for Control.ModifyFeature. r=bartvde
2012-02-10 04:16:45 -08:00
ahocevar
cebc7e60de
Don't displayOutsideMaxExtent when wrapDateLine is set.
...
p=scaddenp, r=me (closes http://trac.osgeo.org/openlayers/ticket/3616 )
2012-02-10 13:03:18 +01:00
ahocevar
342d624616
New crossOriginKeyword property.
...
Set to 'anonymous' for Layer.OSM and Layer.Bing, and not used by default for other layers.
2012-02-10 12:50:13 +01:00
Bart van den Eijnden
6bbcb20fac
rewrite WFSCapabilities parser to the new readers structure, and use OWSCommon readers. This will mean that the return structure will differ for WFS 1.0 and WFS 1.1, but I think it's better to adhere to OWSCommon structures here since this will allow similar structures over different OGC Web Services
2012-02-10 10:12:55 +01:00
Tom Payne
8d6c9ef1ee
Correct documentation
2012-02-10 09:42:52 +01:00
Tom Payne
3c30929858
Correct spelling
2012-02-10 09:42:08 +01:00
Tom Payne
9c95aaaa26
Merge pull request #1 from elemoine/spherical
...
make OpenLayers.js autoload Spherical.js, plus doc improvements
2012-02-10 00:41:19 -08:00
Bart van den Eijnden
707e6406d9
Merge branch 'master' of github.com:openlayers/openlayers into wfs11
2012-02-10 08:53:51 +01:00
Éric Lemoine
50629f3e50
add Spherical to the API doc menu
2012-02-09 16:59:20 +01:00
Éric Lemoine
4cc1bf1899
better docs for the Spherical namespace
2012-02-09 16:59:02 +01:00
Peter Robins
21d06b092a
Protocol/Script: add test for callbackTemplate
2012-02-09 15:58:41 +00:00
Éric Lemoine
b1cc0c1b9d
make OpenLayers.js auto-load Spherical.js
2012-02-09 16:58:36 +01:00
fredj
b34f272fa7
Optimize the string test
2012-02-09 15:35:35 +01:00
fredj
e9097ce066
More APIdoc for OpenLayers.Tile.Image.getCanvasContext
2012-02-09 15:34:08 +01:00
fredj
b4ac0af5d8
New OpenLayers.Tile.Image.getCanvasContext function
2012-02-09 15:34:00 +01:00
fredj
57ae02f381
Set image.crossOrigin attribute in OpenLayers.Tile.Image
2012-02-09 15:33:54 +01:00
fredj
14624cb815
New OpenLayers.CANVAS_SUPPORTED constant
2012-02-09 15:33:46 +01:00
Peter Robins
f08119b01e
Change Protocol/Script registry to object
2012-02-09 14:16:15 +00:00
Bart van den Eijnden
2c0b13957e
Merge pull request #206 from bartvde/viewportDiv
...
create APIMethod for obtaining the view port (r=fredj,ahocevar)
2012-02-09 05:35:17 -08:00
fredj
6daecd677d
New createVertices option for Control.ModifyFeature
2012-02-09 14:12:52 +01:00
Bart van den Eijnden
3a23f15041
implement readers for URL endpoints in WFS 1.1
2012-02-09 14:10:49 +01:00
Bart van den Eijnden
e9ffef03c7
create APIMethod for obtaining the view port, this is needed by GeoExt to append the map panel items there so that they don't interfere with the zoombox for example
2012-02-09 10:33:24 +01:00
Matthew Perry
5857af5fec
Adding multi grid html
2012-02-08 12:04:09 -08:00
Matthew Perry
5d00c76c92
Updated examples with another showing multiple grid support
2012-02-08 11:36:50 -08:00
Matthew Perry
b01026bd80
Cleaning up the docs to a marginally acceptable level.
2012-02-08 11:16:50 -08:00
Peter Robins
9732cf77aa
HTTP protocol: enable POST for update/delete
2012-02-08 11:20:06 +00:00
Pierre GIRAUD
85b9d5f7f9
Merge pull request #200 from pgiraud/gpx
...
Adding missing schemalocation, version. Better management of the namespaces.
2012-02-08 02:47:38 -08:00
Pierre GIRAUD
734f150f4f
Adding behavior change node
2012-02-08 10:50:38 +01:00
Pierre GIRAUD
92f8040938
More up-to-date way to create or set namespacedj elements or attributes.
2012-02-08 10:39:31 +01:00
Matthew Perry
0cf589b337
Hide bullets
2012-02-07 16:05:31 -08:00
Matthew Perry
47876746a5
Adjust default handler options
2012-02-07 16:05:04 -08:00
Éric Lemoine
e7eae00246
Merge pull request #202 from probins/http
...
ReadWithPOST should pass through options.headers (patch from @probins)
2012-02-07 13:28:05 -08:00
Matthew Perry
0a74cb45f8
Filled out the html example page
2012-02-07 12:21:03 -08:00
Matthew Perry
80656cdfd0
Support specifying grid resolution at the layer level
2012-02-07 12:20:29 -08:00
Matthew Perry
4e84a7113d
Fix event handling.. no need to detect lastXY
2012-02-07 11:23:04 -08:00
Matthew Perry
47222a9401
Adding example utfgrid json files
2012-02-07 11:22:29 -08:00
Matthew Perry
d46092f717
Fix up the constructor
2012-02-07 10:03:03 -08:00
Matthew Perry
54e9fdb784
Initial example html/js page
2012-02-07 10:02:19 -08:00
Peter Robins
00a00db127
ReadWithPOST should pass through options.headers
2012-02-07 11:57:29 +00:00
Matthew Perry
d900028c2a
function to reset handler
2012-02-06 19:56:02 -08:00
Matthew Perry
9e3bd972f4
Refactor Control to allow multiple handler types (move, hover, click)
2012-02-06 15:22:28 -08:00
Antoine Abt
4b971a12b2
Merge pull request #201 from tonio/labeldefault
...
re-add default labelAlign
2012-02-06 13:50:06 -08:00
Antoine Abt
0d27dc82ae
re-add default labelAlign, but avoid duplicate declaration accross renderers
2012-02-06 21:45:57 +01:00
Matthew Perry
fb791e14fa
Update Tile/UTFGrid.js to remove traces of images.
2012-02-06 09:46:57 -08:00
Matthew Perry
8aaaecc9ee
Fix a problem determining zoom levels. Updated some docs.
2012-02-06 09:06:49 -08:00
Frédéric Junod
e3ab08bca3
Merge pull request #199 from fredj/create-callback
...
Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback. r=bartvde
2012-02-06 00:56:58 -08:00
Matthew Perry
6ff3b895c9
Some refactoring and cleaning up rounding errors in tile math. Added
...
debugging mechanism.
2012-02-05 11:17:02 -08:00
Matthew Perry
be4db93e9b
Preliminary working implementation.. still lots of slop to clean up
2012-02-05 09:33:32 -08:00
Matthew Perry
92cbac468c
Merge remote-tracking branch 'upstream/master' into utfgrid
2012-02-04 17:03:25 -08:00
Matthew Perry
a6df52ff83
Initial import of UTFGrid support. Needs work.
2012-02-04 12:22:27 -08:00
fredj
d72b5b4810
Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback, already defined in OpenLayers.Protocol
2012-02-03 12:37:53 +01:00
Frédéric Junod
63dc27cd3a
Merge pull request #197 from fredj/simple-objects
...
Replace LonLat instances with simple objects
2012-02-02 22:50:37 -08:00
fredj
79a64f4be6
Tile.Image tests: add missing scope params (see #184 )
2012-02-02 17:03:35 +01:00
fredj
3a69729074
Update OpenLayers.Bounds.containsLonLat input type
...
'll' parameter can now be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
657b47abb0
Update Control.OverviewMap.getOverviewPxFromLonLat input type
...
'lonlat' parameter can be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
8558b6ee5c
Update OpenLayers.Layer.Grid.calculateGridLayout inputs type.
...
No need to clone the passed bounds (read only access).
'bounds' can be either a Bounds instance or a simple javascript
object. Same for 'origin': LonLat instance or a simple javascript
object.
2012-02-02 16:35:30 +01:00
Frédéric Junod
2d0714990d
Merge pull request #184 from fredj/get-url-async
...
Change getUrlAsync parameters. r=ahocevar
2012-02-02 05:59:13 -08:00
ahocevar
7de254fecc
Merge pull request #196 from ahocevar/baselayer-visibility
...
Making sure that a new base layer becomes visible. r=@bartvde.
2012-02-02 05:37:51 -08:00
ahocevar
abdd3a2e5b
Making sure that new base layer becomes visible.
...
The new base layer may previously have been out of range, in which case setVisibility(true) would do nothing if the layer was visible already. So we check if it was previously out of range, and redraw it if necessary.
2012-02-02 13:53:37 +01:00
Pierre GIRAUD
030f8fdbb9
Adding missing schemalocation, version
2012-02-02 13:13:05 +01:00
Frédéric Junod
aba04d7c42
Merge pull request #193 from fredj/event-listeners
...
New eventListeners APIProperty for OpenLayers.Tile. r=elemoine
2012-02-01 23:52:35 -08:00
ahocevar
a278986442
No additional events registered on the LayerSwitcher.
...
With the buttonclick event, we can also handle clicks on layer names and checkboxes/radiobuttons when they get the olButton class. To make this work on iOS, we have to add a check in buttonclick.js to handle the case where the event occurred on a text element (nodeType === 3).
2012-02-02 00:02:51 +01:00
fredj
263b429c49
Add eventListeners usage example in APIdoc
2012-02-01 15:32:14 +01:00
fredj
fc0152ea1e
New eventListeners APIProperty for OpenLayers.Tile.
...
Same behavior as Map.eventListeners or Layer.eventListeners.
New listeners can be registered using the options parameter:
new OpenLayers.Tile.Image(layer, position, bounds, null, size, {
eventListeners: {
loadstart: function(evt) {
// ...
},
loadend: function(evt) {
// ...
}
}
});
2012-02-01 11:57:47 +01:00
fredj
742ada16bf
Allow testing of specific renderers via '?renderer=<name>'
2012-02-01 11:18:17 +01:00
Frederic Junod
56d22ff9ad
coding standards: replace 'new Array()' with '[]'
2012-02-01 11:08:56 +01:00
Éric Lemoine
271e3b61bd
Events.buttonclick should be part of the API
2012-01-31 17:07:47 +01:00
ahocevar
99a68b0d20
Clear queue in more appropriate places.
2012-01-31 12:04:03 +01:00
ahocevar
cc749a7967
Don't queue tiles multiple times.
...
This results in a smaller queue that we don't have to unqueue from.
2012-01-31 11:55:19 +01:00
Xavier Mamano
fa3d89f572
A popup can be destroyed before obtaining the images of contentDiv.
2012-01-30 19:42:23 +01:00
ahocevar
e77b06dbc4
Using stripped down stylesheet in example.
2012-01-30 09:43:25 +01:00
fredj
1f43df33f8
Add a note into notes/2.12.md about getURLasync changes
2012-01-30 09:04:41 +01:00
ahocevar
720c49c040
Re-introducing tileLoadingDelay.
...
Only use it if no native requestAnimationFrame function is available. This should improve performance on mobile devices.
2012-01-29 18:50:03 +01:00
ahocevar
8efce71271
Fixing a fatal typo.
2012-01-28 23:35:56 +01:00
Xavier Mamano
1996f5cb25
Monitor the errors from the merge process.
2012-01-28 19:13:28 +01:00
ahocevar
e64ed565e2
Adding tests fo verify tile queue management.
2012-01-28 16:24:56 +01:00
ahocevar
dde45696f7
Simplified tile queue; using the tile's beforedraw listener.
...
Since draw is the only tile operation that we defer, the tile queue can be an array of tiles and queue handling can be simplified. We now use the beforedraw event to defer drawing, and remove all occurrences of a tile from the tile queue when we draw it.
Instead of layers that want to defer tile drawing having to override the tile's draw method, layers can now abort drawing by returning false from a beforedraw listener, and later call draw(true) to draw the tile directly, without clearing it first.
2012-01-28 16:12:29 +01:00
fredj
0e435b5483
Simplify moveGriddedTiles code.
...
Saves 3 unnecessary instances creation and 6 parseFloat calls.
2012-01-28 15:30:39 +01:00
ahocevar
ef85f43d21
A tile queue that can be aborted.
...
This saves server requests, and because we use OpenLayers.Animation, setting img.src on a tile should not freeze iOS any more, so we can hopefully get rid of scheduleMoveGriddedTiles.
2012-01-28 15:30:20 +01:00
fredj
40806dbe68
Pass the callback scope to getURLasync
2012-01-27 14:50:34 +01:00
fredj
fe202cef14
Change getUrlAsync parameters.
...
Instead of giving the function a bound, a scope, a property to update
and a callback, only give the bound and a callback.
When the url is retrieved by getUrlAsync, simply call the callback
with the url as argument and let the caller manage this.
2012-01-27 13:23:08 +01:00
Frédéric Junod
9aa1c4450e
Merge pull request #183 from fredj/transform-control
...
Transform control. r=ahocevar
2012-01-27 03:45:08 -08:00
fredj
becb7af745
Update the transform-feature example to show how the 'role' attribute can be used
2012-01-27 12:35:26 +01:00
fredj
4e73df0115
Set Control.TransformFeature handle role (rotate) into attributes.
2012-01-27 11:42:24 +01:00
fredj
717e13fb44
transformFeature() already call drawHandles
2012-01-27 11:42:24 +01:00
Pierre GIRAUD
a75d8ab235
Merge pull request #180 from pgiraud/xls_typo
...
Fixing typo
2012-01-26 06:56:59 -08:00
Pierre GIRAUD
359d48f466
Fixing typo
2012-01-26 15:37:13 +01:00
fredj
f627071274
Remove unnecessary initialize functions (only calls the parent).
2012-01-26 15:14:10 +01:00
Tom Payne
1a1cb9fe4e
Add OpenLayers/Spherical.js
2012-01-25 16:26:28 +01:00
fredj
8062f70e1b
Pass unmodified arguments array to the parent class
2012-01-25 14:53:31 +01:00
fredj
586a39ca30
Layer.Zoomify: url already defined in Layer.HTTPRequest
2012-01-25 14:52:18 +01:00
Éric Lemoine
c66e5da29a
mock map.pan, map.zoomIn and map.zoomOut in the Control.KeyboardDefaults tests, references #176
2012-01-25 13:08:13 +01:00
ahocevar
ca8a801ff0
Using t.eq to better show the issue (see #162 )
2012-01-25 11:49:21 +01:00
Éric Lemoine
2f66031603
remove multiple variable declarations in Control/KeyboardDefaults.js, non functional change
2012-01-25 10:54:39 +01:00
Éric Lemoine
7652b0e983
change test function name in Handler/Keyboard.html, non-functional change
2012-01-25 10:48:54 +01:00
Frédéric Junod
22cdabe3b1
Merge pull request #175 from fredj/transform-control
...
Transform control, r=ahocevar
2012-01-24 23:35:30 -08:00
fredj
1d422dbc73
Remove unsetFeature call in Control.TransformFeature.deactivate
2012-01-24 15:13:19 +01:00
fredj
d9de788b3b
Don't create unneded local variable (box)
2012-01-24 15:13:19 +01:00
fredj
eceaf1a319
Add more properties to destroy in destroy()
2012-01-24 15:13:19 +01:00
fredj
cea7b3e55c
Set Control.TransformFeature handle role (resize) into attributes.
2012-01-24 15:13:18 +01:00
ahocevar
dc03537132
Merge pull request #167 from ahocevar/button-controls-improved
...
Fixing PanZoomBar and Panel issues after #164 . r=@elemoine
2012-01-24 05:17:00 -08:00
fredj
2bd9721fd8
remove tabs
2012-01-24 12:13:41 +01:00
fredj
ac1eee6ac2
Allow testing of specific renderers via '?renderer=<name>'
2012-01-24 10:57:03 +01:00
ahocevar
def2085915
vertexRenderIntent for all sketch modes.
...
Fixed whitespace from original patch.
p=mosesonline, r=me (closes http://trac.openlayers.org/ticket/3581 )
2012-01-23 14:39:06 +01:00
ahocevar
ae55f1a70c
Adding boxselectionstart and boxselectionend events.
...
Whitespace fixed from patch, and removed docs for beforefeatureselected and featureselected events because they are fired on the layer, not the control.
p=mosesonline, r=me (closes http://trac.osgeo.org/openlayers/ticket/3538 )
2012-01-23 14:30:36 +01:00
Frédéric Junod
d579f42539
Merge pull request #170 from fredj/prototype-pollution
...
Initialize variables in the code to keep the prototype clean.
2012-01-22 22:49:20 -08:00
Éric Lemoine
df82e73130
Merge pull request #171 from probins/ignore
...
Add example-lists to gitignore
2012-01-22 13:53:52 -08:00
Peter Robins
2286b9ac9d
Add example-lists to gitignore
2012-01-22 21:40:55 +00:00
ahocevar
5a1378cdab
Improved extension example docs and destroy method.
2012-01-22 21:30:41 +01:00
ahocevar
ed88941280
Incorporating review comments from @jorix.
2012-01-22 21:30:41 +01:00
ahocevar
e7107b96cb
Fixing PanZoomBar and Panel issues after #164 .
...
For PanZoomBar, this fixes the slider behavior. Now the buttonclick listener argument also includes a buttonXY property, and PanZoomPanel does not need an Events instance for the zoombarDiv any more.
For Panel, this fixes events for panels outside the map. Just setting the element on the Events instance was no longer enough after e70569b2bb . Events::attachToElement is now used, and it needed to be modified to also work if the Events instance had no element previously.
Finally, I renamed the button property of the buttonclick listener argument to buttonElement, to not confuse it with the browser event button property, and added some more tests and documentation.
2012-01-22 21:30:40 +01:00
Éric Lemoine
469005dead
feed .gitignore
2012-01-22 20:31:00 +01:00
ahocevar
1ecc5d6c90
Improving documentation for extensions.
...
Includes a currently non-functional change to make OpenLayers.Events work with extensions like the one in the code example.
2012-01-22 15:31:57 +01:00
Frederic Junod
b797614a17
Initialize variables in the code to keep the prototype clean.
2012-01-22 14:31:27 +01:00
ahocevar
3b96046669
Making GetFeatureInfo work with SLD defined layers.
...
Closes http://trac.osgeo.org/openlayers/ticket/3609 . p=h0nIg, r=me
2012-01-21 13:45:11 +01:00
ahocevar
e936ce7f2a
Setting SingleFile.js first (see #166 )
2012-01-21 13:01:16 +01:00
ahocevar
29a31ad910
extensions can be an APIProperty (see #164 ).
2012-01-21 10:52:38 +01:00
ahocevar
9f9feabfae
Let's not over-engineer things (see #164 ).
2012-01-21 10:46:44 +01:00
ahocevar
c38f4ce7bb
Fixing a typo.
2012-01-21 10:45:43 +01:00
ahocevar
b90e533552
Documenting the idea of extensions better (see #164 ).
2012-01-21 10:43:01 +01:00
ahocevar
07dc1b5d84
Merge pull request #164 from ahocevar/button-controls
...
Don't let button controls interfer with handlers. Closes http://trac.osgeo.org/openlayers/ticket/3363 . r=@bartvde
2012-01-20 07:09:34 -08:00
ahocevar
d9cc0c08ed
Check for outsideViewport - we may not have a parentNode yet.
2012-01-20 16:08:02 +01:00
ahocevar
1d4b68af7b
Fixing docs.
2012-01-20 15:48:01 +01:00
ahocevar
67eda3e2ae
Re-adding accidently removed "if" block.
2012-01-20 15:44:20 +01:00
Bart van den Eijnden
089ff636f9
fix up broken test in Format/CSWGetRecords/v2_0_2
2012-01-20 15:03:18 +01:00
ahocevar
e09ee34f23
Incorporate remaining review comments from @bartvde.
2012-01-20 14:18:15 +01:00
ahocevar
e70569b2bb
Use event handling of OpenLayers.Event, not the native one.
...
Also includes some of the fixes suggested by @bartvde.
2012-01-20 14:17:56 +01:00
Bart van den Eijnden
4385efe0c8
Merge pull request #152 from bartvde/pycsw
...
make GetRecords request work against pyCSW (r=fredj)
2012-01-20 04:53:54 -08:00
ahocevar
05de2b5109
Don't let button controls interfer with handlers.
...
This change involves removal of the map's eventsDiv and introduces an OpenLayers.Events.buttonclick component that adds a buttonclick event which makes sure that only events that are not related to clicking a button propagate. This allows button controls to be on the map's viewPortDiv again.
2012-01-20 03:37:11 +01:00
Bart van den Eijnden
e68acfe91a
fix up Layer.Bing tests, fix has been discussed with @ahocevar ( closes #163 )
2012-01-19 20:05:44 +01:00
Marc Jansen
015f5f95f6
Merge pull request #158 from drnextgis/master
...
Fix documentation error. Thanks @drnextgis
2012-01-18 23:53:05 -08:00
drnextgis
b10e380afd
Update lib/OpenLayers/Control/Split.js
2012-01-19 14:48:25 +07:00
ahocevar
eda8eb8dbe
Merge pull request #157 from mpriour/patch-1
...
Create the layer's metadata object in the initialize function. r=me
2012-01-18 13:20:08 -08:00
Matt Priour
55b52c6c9f
Create the metadata object in the initialize function, otherwise any assignment to an instance of an OpenLayers.Layer class or subclass add/modifies those properties on the OpenLayers.Layer prototype
2012-01-18 14:41:41 -06:00
fredj
a34dd40869
Fix APIdoc syntax
2012-01-18 14:25:42 +01:00
Frédéric Junod
1cbd88d230
Merge pull request #137 from fredj/simple-objects
...
Replace Size and Pixel instances with simple objects. r=elemoine,probins,tschaub
2012-01-18 04:12:02 -08:00
Frédéric Junod
8d838003dd
Merge pull request #156 from probins/buildreadme
...
Suggested addition to build README
2012-01-18 03:22:31 -08:00
Peter Robins
5cca86c233
Suggested addition to build README
2012-01-18 11:10:11 +00:00
Pierre GIRAUD
6c5ed6361f
Merge pull request #154 from pgiraud/unselectfeature
...
unselectFeature should be API
2012-01-18 00:20:52 -08:00
Tim Schaub
560295e78a
Update mobile build profile to include OSM.js.
...
Since 11454cbc1b , the OSM.js script must be included where the OSM layer is used.
2012-01-17 23:55:34 -07:00
Tim Schaub
6aaa9bb749
Fixing undeclared label.
...
Missing var in be585c5f23 causing closure compiler failure.
2012-01-17 23:41:04 -07:00
Tim Schaub
b910a5f4d0
Declare zoomChanged.
...
The zoomChanged variable has been undeclared since d42eec9775 , causing closure compiler to fail.
2012-01-17 23:04:20 -07:00
Éric Lemoine
37d21272b7
Merge pull request #127 from elemoine/tile-fade-in
...
CSS-based tile animation
2012-01-17 21:06:11 -08:00
Xavier Mamano
7c76b90a2d
Test Measure: Correct the text of expected result.
2012-01-17 22:45:25 +01:00
Tim Schaub
a5f4daa747
Merge pull request #135 from jorix/3496-Build_force_exclude
...
Skip files that are listed in the exclude config list even if they are dependencies of other files. Thanks @jorix for the enhancement.
2012-01-17 12:39:04 -08:00
Tim Schaub
d34d8f22a3
Merge pull request #128 from tschaub/animation
...
Use requestAnimationFrame where available.
2012-01-17 11:56:59 -08:00
Tim Schaub
974ed29de9
Merge pull request #153 from tschaub/proj
...
Move mercator transforms to Projection.js.
2012-01-17 11:46:36 -08:00
tschaub
9a6827f6b3
Documenting the functionality included in Projection.js.
...
This adds documentation for projection methods and includes detail in the release notes about build configuration related changes.
2012-01-17 12:38:31 -07:00
tschaub
bfa6f06bf3
Removing dependency on SphericalMercator.
...
The default transforms (b/w EPSG:4326 & EPSG:900913) now come with any layer type.
2012-01-17 12:35:50 -07:00
tschaub
6134ad6d91
Removing redundant dependency.
...
Projection.js gets pulled in as a transitive dependency of all layers.
2012-01-17 12:34:40 -07:00
tschaub
00975e79cc
Merge branch 'master' of github.com:openlayers/openlayers into proj
2012-01-17 08:52:03 -07:00
Antoine Abt
188be77570
Merge pull request #140 from aabt/outline
...
Add label outline to SVG and Canvas renderers
2012-01-17 04:45:50 -08:00
Éric Lemoine
22bc3e8f62
Merge pull request #155 from probins/kinetic
...
Suggested addition to Kinetic documentation
2012-01-17 04:25:58 -08:00
Peter Robins
ca6d93712a
Suggested addition to Kinetic documentation
2012-01-17 11:41:22 +00:00
Antoine Abt
4c22ceee4a
Document default labelAlign
2012-01-17 12:24:02 +01:00
Antoine Abt
58468c2850
don’t set labelAlign twice in example
2012-01-17 11:38:54 +01:00
Éric Lemoine
99ca32540d
Merge branch 'master' into tile-fade-in
...
Conflicts:
tests/Tile/Image.html
2012-01-17 09:27:55 +01:00
Pierre GIRAUD
059a400ab3
unselectFeature should be API
2012-01-17 09:27:36 +01:00
Éric Lemoine
11454cbc1b
Merge pull request #144 from elemoine/osm
...
move Layer.OSM in its own file
2012-01-17 00:11:55 -08:00
Éric Lemoine
8f57e34376
Merge branch 'master' into osm
...
Conflicts:
notes/2.12.md
2012-01-17 09:10:27 +01:00
Pierre GIRAUD
0aaa5265b4
Merge pull request #146 from openlayers/2492
...
Improving precision in LinearRing::containsPoint
2012-01-16 23:30:58 -08:00
Éric Lemoine
6373cce17e
Merge pull request #148 from probins/noqsf
...
Remove QueryStringFilter requires from Protocol/HTTP
2012-01-16 23:22:57 -08:00
Tim Schaub
32e870bebb
Remove SphericalMercator dependency from Bing.
2012-01-16 22:59:23 -07:00
Tim Schaub
4b949176d3
Move mercator transforms to Projection.js.
...
The SphericalMercator mixin is not required for coordinate transforms. Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
tschaub
483fe267b0
Update animation tests to run in a popup.
...
As an optimization, certain browsers (e.g. Firefox) may not execute functions sent to `requestAnimationFrame` while the window is not visible. Because our tests run in an iframe, the tests fail unless we open a popup to run the animation methods.
2012-01-16 17:44:55 -07:00
tschaub
02aa9bcc36
Tests with a description of the updated method.
...
The old `containsPoint` method was sensitive to failure when looking for ray crossings with nearly vertical edges. These added tests demonstrate the simple cases where `containsPoint` succeeds. The tests also now include a case that covers the failure for polygons with nearly vertical edges. The previous `getX` method (within the `containsPoint` method) and the new one are mathematically equivalent. The updated version performs better in cases using coordinates with many significant figures.
2012-01-16 16:59:54 -07:00
Éric Lemoine
e160628086
make OSM.js @require SphericalMercator.js, to be consistent with Bing.js
2012-01-16 20:53:09 +01:00
Bart van den Eijnden
33fd43d0ed
make GetRecords request work against pyCSW
2012-01-16 14:25:29 +01:00
fredj
0e8b3f2ff8
Popup tests: return false if map.events.listeners.movestart is undefined
2012-01-16 12:30:03 +01:00
fredj
42fcb70347
Coding standards: variable names to camel case
2012-01-16 09:20:05 +01:00
fredj
e6ab34bed1
Update OpenLayers.Icon.px type
...
'px' can be either a Pixel or a simple javascript object.
2012-01-16 09:06:59 +01:00
fredj
27a9ec26b0
Update OpenLayers.Marker.moveTo apidoc
...
'px' parameter can be either a Pixel or a simple javascript object.
2012-01-16 09:06:13 +01:00
Bart van den Eijnden
8905ef2fa5
Merge pull request #145 from bartvde/cswemptysubject
...
ignore empty subject tags in CSWGetRecords parser (r=ahocevar)
2012-01-15 23:50:36 -08:00
Frédéric Junod
bb94208468
Merge pull request #150 from probins/mobase
...
Fix typo in examples/mobile-base.js. p=probins, r=me
2012-01-15 09:36:53 -08:00
Peter Robins
92e5018b19
Fix typo in examples/mobile-base.js
2012-01-15 17:26:13 +00:00
Frederic Junod
511784d530
Update OpenLayers.Map.{min,max}Px apidoc
...
OpenLayers.Pixel to simple javascript object.
2012-01-15 18:22:22 +01:00
Frederic Junod
4e703abc0c
Fix OpenLayers.Control.GetFeature.selectBox apidoc
2012-01-15 18:14:31 +01:00
Frederic Junod
098899d165
Fix OpenLayers.Control.OverviewMap.getLonLatFromOverviewPx apidoc
2012-01-15 18:13:27 +01:00
Frederic Junod
5d173c1807
Fix OpenLayers.Icon apidoc
...
'size' parameter for OpenLayers.Icon.setSize can be either a Size or
a simple javascript object.
2012-01-15 18:09:11 +01:00
Frederic Junod
8f4fcc7f33
Fix OpenLayers.Icon apidoc
...
'size' can be either an OpenLayers.Size or a simple javascript object,
'offset' can be either an OpenLayers.Pixel or a simple javascript
object.
2012-01-15 18:05:07 +01:00
Frederic Junod
0af2acddb5
Fix OpenLayers.Layer and OpenLayers.Map apidoc
...
'viewPortPx' parameter for OpenLayers.Layer.getLonLatFromViewPortPx
can be either a Pixel or a simple javascript object. 'lonlat'
parameter for OpenLayers.Layer.getViewPortPxFromLonLat can be either a
LonLat or a simple javascript object.
'px' parameter for OpenLayers.Map.getLonLatFromViewPortPx and
OpenLayers.Map.getLonLatFromPixel can be either a Pixel or a simple
javascript object.
2012-01-15 17:52:36 +01:00
Frederic Junod
4d0a53ab31
Fix OpenLayers.Pixel and OpenLayers.Size apidoc
...
'px' parameter for OpenLayers.Pixel.offset and OpenLayers.Pixel.equals
can be either a Pixel or a simple javascript object.
'sz' parameter for OpenLayers.Size.equals can be either a Size or a
simple javascript object.
2012-01-15 10:59:08 +01:00
Frederic Junod
a9aa6d031e
Fix OpenLayers.Util apidoc
...
'px' and 'sz' parameters for modifyDOMElement, createDiv, createImage,
createAlphaImageDiv and modifyAlphaImageDiv can be either a
OpenLayers.Pixel/OpenLayers.Size or a simple javascript object.
2012-01-15 10:45:27 +01:00
Éric Lemoine
acf2c0f373
Merge remote branch 'upstream/master'
2012-01-14 21:54:10 +01:00
Éric Lemoine
99a42b273b
OpenLayers.Kinetic is not part of the API
2012-01-14 21:53:16 +01:00
Éric Lemoine
a9d919ab95
better docs for Layer.OSM
2012-01-14 21:13:01 +01:00
Peter Robins
b9f1b8b4ba
Add docs comment on QueryStringFilter
2012-01-14 15:02:53 +00:00
Peter Robins
3eee019fca
Remove QueryStringFilter requires from Protocol/HTTP
2012-01-14 14:51:03 +00:00
fredj
d3cc8e93ae
replace LonLat with simple object (OverviewMap.getLonLatFromOverviewPx, internal function)
2012-01-14 14:11:25 +01:00
fredj
2355f099be
remove map.getSize call to avoid creating new instances
2012-01-14 14:11:25 +01:00
fredj
b8257aa64c
replace Pixel argument with simple object (Util.createDiv)
2012-01-14 14:11:25 +01:00
fredj
b900144ce3
remove map.getSize call to avoid creating new instances
2012-01-14 14:11:25 +01:00
fredj
90452311f3
Remove tileSize.clone; not necessary to create a new size instance
2012-01-14 14:11:25 +01:00
fredj
c440a2916d
replace Size argument with simple object (maker.draw)
2012-01-14 14:11:25 +01:00
fredj
8825b32924
pass simple objects to Icon constructor
2012-01-14 14:11:25 +01:00
fredj
6abed6221f
replace Size argument with simple object (icon.setSize)
2012-01-14 14:11:25 +01:00
fredj
f199dd471e
Icon: use simple ojects for size and offset
2012-01-14 14:11:25 +01:00
fredj
8d11b169d3
OverviewMap.getOverviewPxFromLonLat: return simple object instead of OpenLayers.Pixel
2012-01-14 14:11:25 +01:00
fredj
1e6f56fe82
replace Pixel argument with simple object (OverviewMap.getLonLatFromOverviewPx)
2012-01-14 14:11:25 +01:00
fredj
07e3fa9624
replace Size instances with simple object
2012-01-14 14:11:25 +01:00
fredj
4844baf666
replace Pixel argument with simple object (Pixel.offset)
2012-01-14 14:11:24 +01:00
fredj
3cc62c3fc8
replace Pixel argument with simple object (Map.getMapObjectPixelFromXY)
2012-01-14 14:11:24 +01:00
fredj
a111808e06
replace Pixel argument with simple object (Map.getLonLatFromPixel)
2012-01-14 14:11:24 +01:00
fredj
69bc0fc772
replace map.minPx and map.maxPx with simple objects
2012-01-14 14:11:24 +01:00
fredj
8ef0ad8c17
replace Pixel argument with simple object (Map.getLonLatFromViewPortPx)
2012-01-14 14:11:24 +01:00
fredj
1df5cfa158
replace LonLat argument with simple object (Map.getLayerPxFromLonLat)
2012-01-14 14:11:24 +01:00
Éric Lemoine
7a5b469192
Merge pull request #116 from elemoine/redraw
...
make Layer.redraw not unconditionally set zoomChanged to true when calling Layer.moveTo
2012-01-13 08:37:09 -08:00
Pierre GIRAUD
7a0336a9ef
Fixing a wrong calculation in LinearRing::containsPoint
2012-01-13 17:36:23 +01:00
Pierre GIRAUD
a719de7e93
Fixing typo and documentation mistakes. No functional changes.
2012-01-13 17:12:14 +01:00
Bart van den Eijnden
c667e9a147
ignore empty subject tags in CSWGetRecords parser
2012-01-13 13:05:20 +01:00
Pierre GIRAUD
78714f6de4
Adding some documentation to the locationupdated documentation. No functional change.
2012-01-13 12:12:35 +01:00
Éric Lemoine
2f700bd894
Merge branch 'master' into osm
...
Conflicts:
apidoc_config/Menu.txt
2012-01-12 21:27:39 +01:00
Éric Lemoine
3cbd7b4b40
move Layer.OSM in its own script file
2012-01-12 21:22:58 +01:00
Éric Lemoine
e1ea3471e0
Merge pull request #143 from jorix/stop-freehand
...
Handler.Path: Stop freehand using "maxVertices"
2012-01-12 12:08:12 -08:00
Éric Lemoine
9ebb64edef
Merge pull request #142 from jorix/doc-links
...
Docs: Set many links as {<...>}
2012-01-12 11:25:03 -08:00
Xavier Mamano
59dfb7ec11
Add test for stop freehand using "maxVertices"
2012-01-12 20:23:01 +01:00
Xavier Mamano
5cbdd27706
Docs: Set many links as {<...>}
2012-01-12 20:03:40 +01:00
Antoine Abt
71d9d36266
when removeText, remove its outline too
2012-01-12 10:41:34 +01:00
fredj
cbfb68f397
Change all 'Parameter:' to 'Parameters:' in documentation. Non functional change
2012-01-12 09:32:49 +01:00
fredj
4fcd28fe08
Change some 'Parameter' to 'Property' in documentation. Non functional change
2012-01-12 09:30:51 +01:00
fredj
04ae5f8db8
Change all 'Return:' to 'Returns:' in documentation. Non functional change
2012-01-12 09:26:49 +01:00
fredj
4769e119a0
Correct spelling in documentation. Non functional change.
2012-01-12 09:12:07 +01:00
Xavier Mamano
70f42b0629
Stop freehand using "maxVertices"
2012-01-12 08:46:15 +01:00
ahocevar
f4c951c3ce
Merge pull request #132 from jorix/Docs-issues
...
Docs issues
2012-01-11 13:55:27 -08:00
Bart van den Eijnden
5393532f58
Merge pull request #136 from bartvde/csw
...
Add CS-W protocol based on the work from pgiraud (http://trac.osgeo.org/openlayers/ticket/2133 )
2012-01-11 06:35:04 -08:00
Bart van den Eijnden
9a80c5f30f
incorporate ahocevar's review
2012-01-11 15:33:25 +01:00
Éric Lemoine
d3db3011a3
in Tile.Image do the opacity filter setting where it was done before, i.e. right after the img creation
2012-01-10 21:24:09 +01:00
Tim Schaub
a7374db913
Merge pull request #134 from probins/splitnoml
...
Removing MultiLineString dependency from the Split control. Thanks @probins for the contribution.
2012-01-09 22:50:15 -08:00
fredj
9ad899c3a0
doc typo
2012-01-09 13:26:08 +01:00
Peter Robins
1b031bcd26
Control/Split isEligible() should check feature has a geometry
2012-01-09 11:13:36 +00:00
Peter Robins
128791be2c
Merge branch 'master' into splitnoml
2012-01-09 10:37:38 +00:00
Bart van den Eijnden
10d3394896
this part does not seem to be used anymore in the patch
2012-01-09 10:39:52 +01:00
Bart van den Eijnden
476d438578
minor doc adjustments and a bit more test coverage
2012-01-09 10:27:44 +01:00
Bart van den Eijnden
ab49a195e3
update copyright
2012-01-09 10:07:26 +01:00
Bart van den Eijnden
41370b3eb7
fix up broken test
2012-01-09 09:57:32 +01:00
Bart van den Eijnden
849189d136
Merge branch 'master' of github.com:bartvde/openlayers into csw
2012-01-09 09:41:59 +01:00
Bart van den Eijnden
a6be4a4b6c
start with the patch from OL Trac ticket 2133
2012-01-09 09:29:15 +01:00
Tim Schaub
0127806ee2
Assert that split control works with no geometry.
2012-01-08 21:14:17 -05:00
Xavier Mamano
6fd4d27700
Change docs to "Valid options:" in Util.createUrlObject
2012-01-09 00:35:54 +01:00
Xavier Mamano
f4a6d4c7b2
Set key as property in Bing.js and many links as {<...>}
2012-01-09 00:30:53 +01:00
Peter Robins
9453d0ce7c
Revised version for checking geometry splittable
2012-01-08 20:08:36 +00:00
Peter Robins
5f6bd6acee
Revised version for checking geometry splittable
2012-01-08 20:04:35 +00:00
Xavier Mamano
6ca10eed52
Merge "3496.1.patch" with current truck in GitHub
2012-01-08 19:47:19 +01:00
Peter Robins
0296a46de8
Control/Split should work w/o MultiLineString
2012-01-08 14:36:30 +00:00
Xavier Mamano
f64dea59e8
More details manually observed while reviewing documentation.
2012-01-07 23:33:50 +01:00
Xavier Mamano
107edcf0e5
Some minor documentation adjustments.
2012-01-07 20:07:07 +01:00
Xavier Mamano
b7dee9ca6d
Some problems in the documentation detected using "closure_verify"
2012-01-07 19:29:41 +01:00
Antoine Abt
241162a4bc
update comments for supported renderers
2012-01-06 10:32:28 +01:00
tschaub
fc43ea715a
Documenting the deprecated.js script.
2012-01-05 10:50:45 -07:00
tschaub
0e6d971ad0
Updating API doc menus.
...
After the big reshuffle while deprecating stuff, NaturalDocs started over with a new menu so we lost the structure we had set up.
2012-01-05 10:36:45 -07:00
Antoine Abt
be585c5f23
Add support for SVG renderer ( Heavily inspired from rdewit’s patch http://trac.osgeo.org/openlayers/ticket/2965 )
2012-01-05 17:32:00 +01:00
Antoine Abt
5be7e7f844
don’t duplicate defaults in renderers
2012-01-05 10:26:05 +01:00
Éric Lemoine
30c5b11d99
Merge branch 'master' into tile-fade-in
...
Conflicts:
examples/fullScreen.js
2012-01-05 09:39:39 +01:00
Éric Lemoine
f65bc5e764
correct css accessor for tile animation in style.mobile.css
2012-01-05 09:36:47 +01:00
Frédéric Junod
2d7fa6810a
Merge pull request #130 from fredj/tile-class
...
OpenLayers.Layer.Grid: ability to change the tile types. r=tschaub
2012-01-04 22:47:23 -08:00
Éric Lemoine
77f227ffed
more Grid tests, for delayed back buffer removal
2012-01-04 21:01:46 +01:00
fredj
3245836b6d
New OpenLayers.Layer.Grid.tileClass option. Defaults to OpenLayers.Tile.Image
2012-01-04 12:37:39 +01:00
fredj
2fabd6954c
Fix indentation
2012-01-04 12:16:06 +01:00
Antoine Abt
0ff9d54d5c
better alignment
2012-01-04 11:00:29 +01:00
Antoine Abt
6be48e9ef9
Basic support for canvas only (patch from trac #3503 )
2012-01-04 10:59:51 +01:00
Éric Lemoine
0cc4dc81ec
Merge branch 'master' into redraw
2012-01-04 09:06:29 +01:00
Éric Lemoine
eedcaf0ba2
add a test to verify that Layer.HTTPRequest.mergeNewParams set resolution to null prior to calling redraw
2012-01-04 09:02:38 +01:00
Éric Lemoine
0d702609b1
revert changes to layer mergeNewParams tests ( ff045172)
2012-01-04 08:59:47 +01:00
Éric Lemoine
d64bbe1cfc
better doc strings for Layer.resolution
2012-01-04 08:47:55 +01:00
Éric Lemoine
0ef4c8dd5b
make redraw return the return value of mergeNewParams
2012-01-04 08:47:28 +01:00
Éric Lemoine
aca72e4266
Merge pull request #1 from ahocevar/redraw
...
No new argument for Layer::redraw
2012-01-03 23:39:25 -08:00
Éric Lemoine
39f2ddccee
remove back buffer immediately in applyBackBuffer if back buffer is schedule for removal
2012-01-04 08:20:11 +01:00
Tim Schaub
b26efd6beb
Merge pull request #126 from tomhughes/url-rewrite
...
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub
e2834e04e6
Merge branch 'master' into animation
2012-01-03 10:28:40 -07:00
tschaub
519bf9a50a
Removing unused minX and maxX.
2012-01-03 10:28:25 -07:00
tschaub
3556af9cb2
Moving animation methods out of Util.js.
...
Animation methods get their own module, giving methods more sensible names:
* `OpenLayers.Animation.requestFrame` (was `OpenLayers.Util.requestAnimationFrame`)
* `OpenLayers.Animation.start` (was `OpenLayers.Util.startAnimation`)
* `OpenLayers.Animation.stop` (was `OpenLayers.Util.stopAnimation`)
2012-01-03 09:43:50 -07:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Éric Lemoine
d4249960e3
remove duplications in the 2.12 notes
2012-01-03 08:29:40 +01:00
Éric Lemoine
4f4a7e9c0a
Merge branch 'master' into tile-fade-in
2012-01-03 08:27:20 +01:00
Éric Lemoine
9064ba8c6a
add release notes for tile animation
2012-01-03 08:24:58 +01:00
Éric Lemoine
5914cb3566
enable kinetic dragging in the full-screen example
2012-01-03 08:24:41 +01:00
Tim Schaub
3f6e0141a4
No animation frames on hidden windows.
...
As an optimization, Firefox does not execute functions passed to requestAnimationFrame when the window is hidden. This is the case for the panTo tests here that use a map in a hidden iframe. Since other browsers may follow suit, we just test the fallback setTimeout method of animating on these tests.
2012-01-02 22:29:23 -07:00
Éric Lemoine
a6cbbbde84
Merge pull request #3 from tschaub/fade
...
increase timeout for backbuffer removal and dispense with extra map property
2012-01-02 21:10:33 -08:00
Tim Schaub
bd4278de4a
Docs and tests for animation methods.
2012-01-02 21:54:08 -07:00
Tim Schaub
92472ca604
Avoid illegal invocation of native method.
2012-01-02 21:53:21 -07:00
Tim Schaub
e363bdb782
Rename to startAnimation for symmetry.
2012-01-02 21:52:31 -07:00
Tim Schaub
c151b04257
Use requestAnimationFrame for tweening.
...
Instead of using an arbitrary interval for tweening, we let the device decide the best animation frame rate. Where requestAnimationFrame is not available, this will default to 60 fps.
2012-01-02 20:52:46 -07:00
Tim Schaub
5c2af142b6
Use requestAnimationFrame where available.
...
For kinetic panning, let the device determine the animation frame rate.
2012-01-02 20:40:29 -07:00
Tim Schaub
c7c11757ae
Allow for infinite animation loop.
2012-01-02 20:39:52 -07:00
Tim Schaub
a86151c9e3
Allow callback to cancel animation.
2012-01-02 20:39:38 -07:00
Tim Schaub
709bb7af1b
panDuration not used in this example
2012-01-02 20:37:23 -07:00
tschaub
bc8a38cf16
Util methods for animation loops.
2012-01-02 17:48:43 -07:00
tschaub
f2168d13b7
Increase timeout to avoid flashes.
...
Without this change, flashes are fairly frequent while zooming around a full screen map.
2012-01-02 16:07:40 -07:00
tschaub
3c910c8801
Removing the tileAnimation map property.
...
Edit CSS to change the style.
2012-01-02 15:49:55 -07:00
Éric Lemoine
78963a5fa8
correct typo in tests/Tile/Image.html, @tschaub has sharp eyes
2012-01-02 23:34:02 +01:00
Éric Lemoine
fcb9a6cd2c
remove Tile.Image.onTransitionEnd - it is no longer used
2012-01-02 23:20:15 +01:00
Éric Lemoine
eb924c8f77
no longer rely on the transitionend event, unwanted flashes are avoid using a timer
2012-01-02 22:53:53 +01:00
Éric Lemoine
aeccee865c
Merge pull request #2 from tschaub/fade
...
tweaks for fade changes
2012-01-02 11:16:57 -08:00
tschaub
3eb34f587e
Add test for setOpacity.
2012-01-02 11:52:54 -07:00
tschaub
b7b0d6b712
Collecting image tile changes in the Image.js.
2012-01-02 11:40:50 -07:00
ahocevar
485ec033e9
Merge pull request #125 from tomhughes/ticket-2598
...
Irregular transformation support for TransformFeature Control
2011-12-31 08:04:13 -08:00
Tom Hughes
dd103ebf82
Use OpenLayers.Util.DEFAULT_PRECISION for geometry comparisons
2011-12-31 14:00:25 +00:00
Éric Lemoine
e11e4358fa
add olMapTileAnim rule in style.mobile.css
2011-12-31 14:13:42 +01:00
Éric Lemoine
587650e01b
use parseFloat to read opacity style values in tests
2011-12-31 14:09:24 +01:00
Tom Hughes
63fb2d4b04
Add an interception point to allow image URLs to be rewritten
...
Make all attempts to get a URL for an image go through a single
routine, OpenLayers.Util.getImageLocation, which is given the actual
image name.
This allows users to replace that routine with an enhanced version
which can rewrite the full URL, for example to go through the rails
asset pipeline when using OpenLayers with rails.
2011-12-31 12:19:10 +00:00
Tom Hughes
533ee475ee
Improve documentation of regular versus irregular transformation
2011-12-31 12:08:22 +00:00
Tom Hughes
93f2a31253
Add tests for regular and irregular transformations
2011-12-31 12:08:21 +00:00
Tom Hughes
1b6eb38d46
Make irregular transforms work on rotated features
...
Rework support for irregular transforms to handle features
which have been rotated correctly.
2011-12-31 12:08:21 +00:00
Tom Hughes
a46707e727
Add support for irregular transformations to TransformFeature
...
Give the TransformFeature control an irregular mode where dragging a
handle just extends that side rather than growing the shape symmetrically
about the centre.
2011-12-31 12:08:21 +00:00
Éric Lemoine
d2856cd721
remove duplicated setOpacity tests (MapServer/Untiled.html)
2011-12-31 12:25:37 +01:00
Éric Lemoine
e7ef3d6c21
remove duplicated setOpacity tests
2011-12-31 12:23:32 +01:00
Éric Lemoine
afc0283c06
fix the Layer.WMS setOpacity tests
2011-12-31 00:45:15 +01:00
Éric Lemoine
df7ab415d0
add css rule for tile animation
2011-12-31 00:20:06 +01:00
Éric Lemoine
6b918bc9ab
make the Layer/Image.html tests pass again
2011-12-31 00:19:44 +01:00
Éric Lemoine
5edd3d3f84
make Tile.Image compatible with CSS-based tile fade animation
2011-12-31 00:19:19 +01:00
Éric Lemoine
d417231bb8
add OpenLayers.TRANSITION and OpenLayers.TRANSITION_END private constants
2011-12-31 00:17:36 +01:00
Éric Lemoine
04f72a0e07
tests for the tileAnimation map option
2011-12-30 23:28:21 +01:00
Éric Lemoine
afce5be5d6
add a tileAnimation map option
2011-12-30 23:23:07 +01:00
Tim Schaub
f5ac1fcd72
Update notes/2.12.md
2011-12-29 15:38:20 -07:00
Tim Schaub
9b7afeb492
Merge pull request #124 from tschaub/norect
...
Moving Rectangle geometries to deprecated.js (closes #123 ).
2011-12-29 14:34:04 -08:00
tschaub
e5b4e1323b
Updated readme.
2011-12-29 14:57:12 -07:00
tschaub
25d907d977
Adding rectangle to deprecated notes.
2011-12-29 14:41:04 -07:00
tschaub
3bddb3af05
Merge branch 'master' of github.com:openlayers/openlayers into norect
2011-12-29 14:40:16 -07:00
tschaub
47368ddfa9
Listing deprecated functionality in the notes.
2011-12-29 14:39:34 -07:00
tschaub
5773ad7ddc
Removing duplicate code.
...
These string prototype methods were unintentionally added twice in 20e19203d5 .
2011-12-29 14:29:03 -07:00
tschaub
958221d5f4
Moving Rectangle geometries to deprecated.js.
...
The VML and SVG renderers still have support for drawing rectangles. This can be safely removed in 3.0.
2011-12-29 14:14:49 -07:00
tschaub
9075f14856
Ignoring the closure-compiler.jar and pyc.
2011-12-29 14:05:12 -07:00
tschaub
d6cb1547ac
Merge branch 'master' of github.com:openlayers/openlayers
2011-12-29 14:03:50 -07:00
Tim Schaub
08d951c02f
Merge pull request #91 from jorix/3519-CC_SrcLin2
...
Using the jscompiler.py that ships with Closure to drive the compiler.
2011-12-29 13:03:27 -08:00
tschaub
e321bd3d60
Merge branch '3519-CC_SrcLin2'
2011-12-29 13:58:48 -07:00
Tim Schaub
d8a34775da
Merge pull request #120 from probins/rulerequires
...
Symbolizer dependencies are only pulled in when serializing as SLD.
2011-12-29 11:43:37 -08:00
Peter Robins
52e7c932f7
Move symbolizer requires
2011-12-29 09:47:22 +00:00
ahocevar
d1319eaf90
Merge branch 'vector-ratio' ( closes #113 )
2011-12-28 20:18:11 +01:00
ahocevar
cfe25feecf
Making dateline handling work with ratio.
2011-12-28 20:14:39 +01:00
ahocevar
1ce59a207d
Don't use clientWidth and clientHeight.
...
Instead, use map.getSize to make sure this works the same way in all browsers.
2011-12-28 20:10:56 +01:00
Éric Lemoine
5951b22dc7
Merge pull request #117 from jorix/master
...
Map documentation: "controls" is a APIProperty of Map
2011-12-27 05:11:18 -08:00
ahocevar
22e9fc92b8
Don't change existing behavior for redraw(true)
2011-12-26 19:53:23 +01:00
ahocevar
0b3f9c0ae9
Merge branch 'master' of https://github.com/pjeweb/openlayers-1 into vector-ratio
2011-12-26 11:59:27 +01:00
ahocevar
d42eec9775
No new argument for Layer::redraw.
...
Instead, make _resolution a private property (resolution) which is set to null to make redraw call moveTo with zoomChanged set to true.
2011-12-26 11:09:07 +01:00
Xavier Mamano
52e550ea74
"controls" is a APIProperty of Map
2011-12-26 00:02:02 +01:00
ahocevar
6e39c3e3e0
Moving test for reproject option to deprecated tests.
...
Also re-adding accidently removed ```reproject: true``` option to test.
2011-12-23 18:32:28 +01:00
ahocevar
a6a7d24606
Merge pull request #114 from ahocevar/noframe-fixes
...
Fixing IFrame tile layers. r=@elemoine
2011-12-22 15:11:34 -08:00
Éric Lemoine
ff04517232
HTTPRequest.mergeNewParams should now do redraw(true)
2011-12-22 14:21:07 +01:00
Éric Lemoine
289d9d371d
make Layer.redraw not unconditionally set zoomChanged to true in moveTo
2011-12-22 14:19:02 +01:00
ahocevar
7fbae9f345
Fixing IFrame tile layers.
...
A problem introduced with 5fda8835da can easily be solved by re-adding a check for imgDiv and a strict type check for useIFrame. Thanks @elemoine for pointing out that there could be a problem.
2011-12-22 01:14:04 +01:00
pjeweb
008e8c5ed1
adding ratio to Vector Layer
2011-12-21 12:37:09 +01:00
ahocevar
1284dca5ec
adding missing dependency
2011-12-20 14:23:41 +01:00
ahocevar
c48bf3a37f
One more keyword missing (see #111 )
2011-12-16 17:48:51 +01:00
ahocevar
94ef9a6b10
Merge pull request #110 from ahocevar/no-pan-on-invalid-zoom
...
No pan on invalid zoom. r=@tschaub
2011-12-16 08:43:03 -08:00
fredj
ec16a9c0b1
Add missing new keyword in doc. thanks @DaveCausey ( closes #111 )
2011-12-16 17:14:44 +01:00
ahocevar
701e171081
Adding test to make sure we don't pan.
2011-12-16 11:48:08 +01:00
ahocevar
9c50bb5c01
Don't set the new lonlat if the new zoom is not valid.
...
This avoids unwanted panning without zooming when using the mousewheel to zoom out on a wrapDateLine map (see #109 ).
2011-12-16 11:22:31 +01:00
Tim Schaub
0176d052a7
Merge pull request #102 from tschaub/nowkt
...
Allow for builds without WKT format
2011-12-14 09:51:06 -08:00
Tim Schaub
7950e284fc
Merge pull request #3 from probins/nowkt
...
Nowkt: fix typo in release notes
2011-12-14 09:48:04 -08:00
Peter Robins
f05d770d8b
Fix typo in release notes
2011-12-14 16:53:51 +00:00
Éric Lemoine
001ad03cbd
Merge pull request #108 from elemoine/panel
...
Fix panel iconOn and iconOff behavior
2011-12-14 07:09:40 -08:00
Éric Lemoine
6b0d61dbd1
remove useless assertion in Panel.html:test_iconOn_iconOff
2011-12-14 16:08:34 +01:00
Éric Lemoine
45a6e24299
Panel iconOn and iconOff do not behave correctly if application-specific classes are set in the control
2011-12-14 15:49:19 +01:00
Bart van den Eijnden
9f9829053a
do not wrap DOMElements in CDATA sections for WPS Execute, p=jachym, r=me (closes http://trac.osgeo.org/openlayers/ticket/3517 )
2011-12-14 15:20:00 +01:00
Frédéric Junod
55e5220a9e
Merge pull request #104 from fredj/tile-position
...
Only set img.style.position once. r=ahocevar, elemoine
2011-12-13 09:16:46 -08:00
Éric Lemoine
16aded926f
Merge pull request #106 from twpayne/ignore-build-artefacts
...
Ignore build artefacts
2011-12-13 07:46:43 -08:00
Tom Payne
662aa4696d
Ignore build artefacts
2011-12-13 16:34:01 +01:00
Tim Schaub
c8e3ae73d4
I think it's fair to say we've removed Prototype influence.
2011-12-12 20:01:40 -05:00
Tim Schaub
92ea378729
One license block fewer (see #99 ).
2011-12-12 19:57:05 -05:00
aabt
2d8904ca16
Merge pull request #105 from fredj/controls-size
...
move the buttons sizing to CSS
2011-12-12 11:40:27 -08:00
fredj
e6a1830da8
move the buttons sizing to CSS
2011-12-12 17:16:04 +01:00
fredj
3cfd21c318
group the img.style changes
2011-12-12 15:05:51 +01:00
fredj
ee37617c21
Only set img.style.position once
2011-12-12 13:48:57 +01:00
Frédéric Junod
74812dbf8e
Merge pull request #103 from fredj/unused-var
...
Remove unused variable. r=elemoine
2011-12-12 02:26:06 -08:00
fredj
64b21b4e86
Remove unused variable
2011-12-12 10:42:33 +01:00
tschaub
469842012b
Tests for string methods without WKT.
2011-12-10 17:09:18 -07:00
tschaub
4c97f492c6
Describing changes in release notes.
2011-12-10 17:04:26 -07:00
tschaub
66de55ef9b
Allowing for WKT free builds.
...
The WKT format is used for converting geometries to and from string representations. For builds that do not explicitly include the WKT format, the `OpenLayers.Geometry.fromWKT` returns `undefined`.
2011-12-10 17:00:20 -07:00
tschaub
038a34c4ad
Adding release notes to the repo.
...
Pull requests that change behavior or add specific functionality should include changes to the appropriate release note page.
2011-12-10 16:52:07 -07:00
Tim Schaub
1008ff89e9
Removing broken (or pointless) examples.
2011-12-09 00:14:13 -07:00
Éric Lemoine
00cfe7b226
Merge pull request #99 from elemoine/deprecate-rico
...
Deprecate Popup.AnchoredBubble and Rico
2011-12-08 22:54:38 -08:00
Éric Lemoine
4abaa7d553
Merge remote branch 'upstream/master'
2011-12-09 00:13:27 +01:00
Éric Lemoine
3deeff74f5
comment noop code and make google compiler happy
2011-12-09 00:12:49 +01:00
Éric Lemoine
2aa0ce6466
minor tweaks to LayerSwitcher css
2011-12-09 00:11:51 +01:00
Éric Lemoine
4f66373ae1
demonstrate how to round layer switcher corners with border-radius
2011-12-09 00:11:16 +01:00
Éric Lemoine
513dd16be3
deprecated LayerSwitcher roundedCorner option
2011-12-09 00:10:29 +01:00
Éric Lemoine
a8be54b0fe
deprecate Rico itself
2011-12-09 00:09:04 +01:00
Éric Lemoine
46e15b5359
make OpenLayers.Feature create OpenLayers.Popup.Anchored as opposed to OpenLayers.Popup.AnchoredBubble by default
2011-12-09 00:08:28 +01:00
Éric Lemoine
33a1c842d6
remove the old-fashioned popups.html example
2011-12-09 00:04:43 +01:00
Éric Lemoine
c454d675b6
remove AnchoredBubble examples from the popupMatrix.html example
2011-12-09 00:03:46 +01:00
Éric Lemoine
519335026f
deprecate AnchoredBubble
2011-12-09 00:02:44 +01:00
ahocevar
096fb7398b
Merge pull request #98 from towa48/master
...
Avoid duplicate feature title nodes. r=me
2011-12-08 12:18:40 -08:00
towa48
a1b6644b2a
Prevent duplicate node title in SVG renderer.
2011-12-08 12:11:39 +03:00
Frédéric Junod
5fda8835da
Merge pull request #82 from fredj/2897
...
don't create div for image tile when no gutter is used. p=ahocevar,pgiraud,elemoine,fredj
2011-12-07 23:03:26 -08:00
Frédéric Junod
c1f2232f74
Merge pull request #1 from ahocevar/2897
...
Updating the gutter example.
2011-12-07 22:56:05 -08:00
ahocevar
61f076aa5d
Updating the gutter example to use a working WMS.
2011-12-08 00:27:45 +01:00
Frédéric Junod
e97961321c
Merge pull request #96 from fredj/3404
...
SelectFeature stops selecting features after a right click on the map. r=ahocevar
2011-12-07 08:03:27 -08:00
ahocevar
fa1845693b
Fixing a typo.
2011-12-07 16:38:07 +01:00
ahocevar
484172ca0c
Merge pull request #97 from ahocevar/retile
...
It turns out we really want to retile sometimes. r=@fredj
2011-12-07 07:33:37 -08:00
ahocevar
b6df3d871b
It turns out we really want to retile sometimes.
...
The reason is that we want to avoid moveGriddedTiles to run through hundreds of cycles to shift tiles until we reach the new bounds. But containsBounds does not work if extents that cross the date line start on different worlds, so we use intersectsBounds where we can pass the world bounds to handle this case.
2011-12-07 15:55:22 +01:00
fredj
1c9f785998
remove deleted files from build/library.cfg
2011-12-07 15:35:05 +01:00
Frédéric Junod
6725ee1940
Merge pull request #95 from fredj/2708
...
getFeatureIdFromEvent return value. r=elemoine
2011-12-07 06:28:49 -08:00
fredj
b11b33e3ab
SelectFeature stops selecting features after a right click on the map
2011-12-07 15:03:39 +01:00
ahocevar
f79520cf9d
Don't set zoomOffset - maxResolution and numZoomLevels is enough. r=fredj (closes http://trac.osgeo.org/openlayers/ticket/3550 )
2011-12-07 14:53:53 +01:00
fredj
ae56952f00
replace pageLoading with {show|hide}PageLoadingMsg
2011-12-07 14:18:09 +01:00
fredj
344d645b29
use jquery mobile version 1.0
2011-12-07 14:04:16 +01:00
fredj
03b8406746
Canvas.getFeatureIdFromEvent: return undefined instead of null
2011-12-07 12:08:04 +01:00
fredj
71fbfff02a
return undefined instead of false from getFeatureIdFromEvent
2011-12-07 11:59:53 +01:00
fredj
d20802369f
code simplification
2011-12-07 11:52:04 +01:00
fredj
315c37a075
getFeatureIdFromEvent returns a feature id or undefined, fix getFeatureIdFromEvent docstring
2011-12-07 11:50:58 +01:00
fredj
d715a94b0f
remove double declaration
...
(yes, code duplication sucks)
2011-12-07 11:33:34 +01:00
Frédéric Junod
336d6d06ad
Merge pull request #94 from fredj/movestart-updateSize
...
Don't update the map size on 'movestart'. r=elemoine
2011-12-07 01:11:21 -08:00
fredj
9cfa5f562e
Don't update the map size on 'movestart'
2011-12-07 09:40:54 +01:00
Frédéric Junod
63cdcaeaac
Merge pull request #86 from fredj/addLayer-exception
...
Instead of throwing an exception, return false if the layer can't be added to the map. r=bbinet,tschaub
2011-12-07 00:33:26 -08:00
ahocevar
beb322fbab
Use buffer of 4instead of tileLoadingDelay of 0, to make panning smoother on iOS.
2011-12-06 15:30:52 +01:00
Éric Lemoine
736ebab680
Merge remote branch 'upstream/master'
2011-12-06 08:31:47 +01:00
Éric Lemoine
3b2cdfeee0
remove double declaration
2011-12-06 08:31:12 +01:00
Xavier Mamano
7169eba788
build.py -c closure: Show file name and line number of errors and warnings.
2011-12-05 20:11:00 +01:00
Éric Lemoine
acaf67b01c
Merge pull request #88 from jorix/3594-CC_no-undefined-vars
...
build.py -c closure: generate an error of undefined variables
2011-12-05 08:20:22 -08:00
Frédéric Junod
6f2f0c47b0
Merge pull request #90 from fredj/2971
...
Remove undefined variables, r=elemoine
2011-12-05 01:56:18 -08:00
fredj
8c74e616df
Remove undefined variables
2011-12-05 09:39:30 +01:00
Éric Lemoine
faee5aead9
Merge pull request #89 from jorix/3593
...
Fix bug in XMLHttpRequest.js where oRequest is undefined. Fix comes from upstream. Patch from @jorix.
2011-12-03 10:29:44 -08:00
Xavier Mamano
9ed75efad1
don't use errors-pending-to-fix.js
2011-12-03 18:32:26 +01:00
Xavier Mamano
fb8a7a5adc
Apply the patch:
...
9f1d0fd49b
2011-12-03 18:13:40 +01:00
Xavier Mamano
5aba9061b2
Add ticket #3593 in errors-pending
2011-12-03 17:24:57 +01:00
Xavier Mamano
1a5e57a32f
build.py -c closure: generate an error of undefined variables
2011-12-03 17:07:10 +01:00
ahocevar
d83a96b169
Merge pull request #87 from ahocevar/retile
...
getTilesBounds fixes and no unnecessary retiling. r=@bartvde
2011-12-02 16:43:46 -08:00
ahocevar
7aa7b98285
fixing indentation
2011-12-03 01:37:42 +01:00
ahocevar
d20e6f7c7a
removing console.log
2011-12-03 01:36:11 +01:00
ahocevar
08af94cf84
We never need to retile when the zoom didn't change.
2011-12-03 00:13:44 +01:00
ahocevar
b70ea9e8c1
Use valid tile bounds and test grid crossing the dateline.
2011-12-03 00:07:04 +01:00
ahocevar
84b30d3699
Don't rely on the bounds of the top-right tile.
...
When the grid crosses the dateline, the top-right tile is in a different world than the bottom-left one. Instead, use the grid size and tile width/height to calculate the top-right coordinate.
2011-12-03 00:05:26 +01:00
ahocevar
c15631ae3e
Remove code that never gets called.
...
OpenLayers.Map has no wrapDateLine property.
2011-12-02 23:57:39 +01:00
ahocevar
88c203074f
whitespace change
2011-12-01 19:10:28 +01:00
ahocevar
0560bfa09a
Educational addition to the mobile-wmts-vienna example.
...
It now explains in the source code how to create the layers directly, without requesting the Capabilities document first.
2011-12-01 18:59:32 +01:00
fredj
1135c771b7
Instead of throwing an exception, return false if the layer can't be added to the map.
2011-12-01 16:13:35 +01:00
Tim Schaub
3844b91cd6
Avoiding closure compiler warnings.
...
These comments are not parsed by Natural Docs and result in unnecessary warnings from closure compiler.
2011-11-30 22:25:38 -08:00
Bart van den Eijnden
2d5a770ab5
remove startbounds in argiscache_jsonp example
2011-11-30 22:33:27 +01:00
ahocevar
47a02f57bc
Merge pull request #84 from ahocevar/wait-move
...
Default pixel tolerance of 2. r=@bartvde
2011-11-30 12:31:57 -08:00
ahocevar
c311aa69ea
Default pixel tolerance of 2.
...
This avoids requests to be aborted during hover due to the cursor change caused in some browsers by applying the olCursorWait class.
2011-11-30 20:36:54 +01:00
ahocevar
92cfa0e4ed
use proxy url for openlayers.org
2011-11-30 17:48:07 +01:00
ahocevar
d418369e93
Updating WMS url.
...
And while we're at it, use the nicer single argument map constructor so we can reduce the overall amount of code.
2011-11-30 17:32:20 +01:00
fredj
efdd9d0eb2
don't create div for image tile when no gutter is used
2011-11-30 14:19:36 +01:00
aabt
5011fb8b96
Merge pull request #78 from fredj/addEventType
...
Remove call to deprecated events.addEventType function
2011-11-30 01:48:40 -08:00
fredj
6f78dc4c8f
Remove call to deprecated events.addEventType function
2011-11-30 09:29:24 +01:00
ahocevar
09f470fa34
Merge pull request #77 from jorix/docs-bug
...
Documentation errata in Layer.Vector: before instead of after. r=me
2011-11-29 10:10:47 -08:00
Xavier Mamano
ec1a44a9f2
before instead of after
2011-11-29 18:29:47 +01:00
Frédéric Junod
e960c1929d
Merge pull request #76 from fredj/surface-removal
...
Remove Geometry.Surface, r=tschaub
2011-11-28 07:50:56 -08:00
ahocevar
1db5ac3cbe
Merge pull request #75 from ahocevar/filter-tostring
...
toString implementation for Filter. r=@fredj
2011-11-28 07:00:47 -08:00
fredj
dc991e6f85
Remove Geometry.Surface
2011-11-28 12:41:47 +01:00
ahocevar
c3fa0875dc
toString implementation for Filter.
...
If Format.CQL is not included in the build, toString from Object will be used.
2011-11-28 12:25:28 +01:00
ahocevar
6f341b1fb5
Use Navigation control for mousewheel zoom on desktop devices
2011-11-25 20:53:15 +01:00
Frédéric Junod
cdd1b756df
Merge pull request #73 from fredj/cleanup-kamap
...
Layer.KaMap cleanup, r=ahocevar
2011-11-25 01:25:45 -08:00
fredj
250e686375
Layer.KaMap cleanup
...
Remove unused units and resolution properties
Simplify Grid.initialize call
2011-11-24 16:21:49 +01:00
Frédéric Junod
c3b7c06118
Merge pull request #72 from fredj/unneeded-initialize
...
Remove unneeded initialize functions, r=elemoine
2011-11-24 02:28:36 -08:00
fredj
44f1cc465e
Add missing google api script include
2011-11-24 11:22:31 +01:00
Frédéric Junod
d0fbab5b1d
Merge pull request #71 from fredj/unneeded-requires
...
Remove unneeded requires, r=elemoine
2011-11-24 00:22:09 -08:00
fredj
3252fb134d
Remove unneeded initialize functions
2011-11-24 09:17:27 +01:00
fredj
4cab9139f2
Remove unneeded requires
2011-11-24 08:59:55 +01:00
tschaub
598ef62cea
Remove requires for missing file (see #66 ).
2011-11-23 17:17:16 -07:00
tschaub
197dcc5a23
Updating readme format to test website update.
2011-11-23 17:14:24 -07:00
Frédéric Junod
23b94f4eef
Merge pull request #66 from fredj/gears
...
move Protocol.SQL.Gears into deprecated.js. r=tschaub,elemoine
2011-11-21 23:55:10 -08:00
Tom MacWright
5875b50a51
Moving camelize and its tests to deprecated
2011-11-21 15:42:46 -05:00
Frederic Junod
7332775d78
Fix Layer.GML unit tests
2011-11-21 19:14:05 +01:00
Frederic Junod
7f2c06c5b7
move Protocol.SQL into deprecated.js
2011-11-21 19:10:26 +01:00
Frederic Junod
8360ddefe3
Merge branch 'upstream-master' into gears
2011-11-21 18:54:48 +01:00
Frédéric Junod
2f802750a3
Merge pull request #65 from fredj/deprecated.js
...
move Layer.Yahoo and Layer.GML into deprecated.js r=tschaub
2011-11-21 09:40:31 -08:00
fredj
735f49cca0
move Protocol.SQL.Gears into deprecated.js
2011-11-21 12:23:05 +01:00
fredj
127e433592
Remove osm-layer example.
2011-11-21 10:59:30 +01:00
Frédéric Junod
d096a2a8ea
Merge pull request #58 from jorix/3580-Docs_ZoomBox
...
ZoomBox: missing API documentation. p=jorix, r=fredj (closes #3580 )
2011-11-20 23:56:25 -08:00
Marc Jansen
0d820bf63f
Merge pull request #57 from marcjansen/proj4js-example
...
Added an example that shows how to use the popular Proj4JS library.
2011-11-20 23:02:27 -08:00
Tom MacWright
43ef0920c2
Removing camelize method.
2011-11-20 23:47:37 -05:00
Xavier Mamano
d89819c3f2
#3580 ZoomBox: missing API documentation.
2011-11-20 12:25:01 +01:00
Marc Jansen
f8255e61d8
Better textual explanation and fewer typos.
2011-11-19 13:12:05 +01:00
Marc Jansen
c0138022fa
Added an example that shows how to use the popular Proj4JS library.
2011-11-18 23:48:20 +01:00
Xavier Mamano
cc1158488a
Merge branch 'master' into 3576-MeasureImm
2011-11-18 18:13:26 +01:00
fredj
f0d93d1e85
Merge branch 'upstream-master' into deprecated.js
2011-11-18 13:51:19 +01:00
ahocevar
f63e5fe060
Merge pull request #55 from ahocevar/more-deprecated
...
Removing getBoundsFromBaseLayer method. r=@elemoine,@fredj
2011-11-18 04:49:07 -08:00
ahocevar
4b0e45b369
adding comment that the reproject option is deprecated and getBoundsFromLayer is defined in deprecated.js, as suggested by @elemoine.
2011-11-18 13:48:07 +01:00
ahocevar
4d8cd08b91
removing Lang.js and Tile.js dependencies, as suggested by @fredj.
2011-11-18 13:43:06 +01:00
fredj
b630840d83
move Layer.GML into deprecated.js
2011-11-18 13:23:49 +01:00
ahocevar
4f58ff0352
Removing getBoundsFromBaseLayer method.
...
This method is only needed when the deprecated reproject option is set to true.
2011-11-18 13:06:28 +01:00
fredj
c82ccb4781
Merge branch 'upstream-master' into deprecated.js
2011-11-18 12:14:45 +01:00
fredj
8d01fa6fd8
move Layer.Yahoo into deprecated.js
2011-11-18 12:13:41 +01:00
Frédéric Junod
f713360c67
Merge pull request #52 from fredj/deprecated.js
...
Move deprecated code into deprecated.js, r=ahocevar
2011-11-18 03:05:29 -08:00
fredj
7f7f946c29
Stop using deprecated Layer.GML in examples
2011-11-18 11:24:33 +01:00
fredj
9f836cd264
Stop using deprecated Layer.GML in tests
2011-11-18 11:07:47 +01:00
Xavier Mamano
eae04c92bc
cancelDelay before measureImmediate + changes in tests.
2011-11-16 19:51:28 +01:00
fredj
a04df3e359
doc typo
2011-11-16 12:52:55 +01:00
ahocevar
c207e785f9
Merge pull request #51 from ahocevar/adjust-zoom
...
Don't let wrapDateLine maps be wider than one world width. r=@bartvde (closes http://trac.openlayers.org/ticket/3574 )
2011-11-16 01:25:31 -08:00
fredj
0307bb481c
fix namespace for naturaldocs
2011-11-15 16:38:31 +01:00
fredj
dd6b54e622
remove duplicate comment
2011-11-15 16:32:03 +01:00
fredj
6836f4dcdf
Remove unneeded requires
2011-11-15 10:11:36 +01:00
fredj
b07286b21a
Don't use deprecated Layer.Grid.getGridBounds function in tests
2011-11-15 09:11:11 +01:00
fredj
cc3c89eb2a
Don't use deprecated Layer.Grid.getGridBounds function in tests
2011-11-15 09:09:55 +01:00
fredj
1ed137bd0a
move Layer.Grid.getGridBounds function into deprecated.js
2011-11-15 09:06:44 +01:00
ahocevar
0b39d32031
Don't let wrapDateLine maps be wider than one world width.
2011-11-14 17:49:41 +01:00
fredj
b056b19bf0
move Event.stop function into deprecated.js
2011-11-14 15:59:24 +01:00
fredj
3d0d2cbc4e
move Layer.VirtualEarth function into deprecated.js
2011-11-14 15:52:39 +01:00
fredj
71f1f4701b
move Layer.MultiMap function into deprecated.js
2011-11-14 15:34:04 +01:00
fredj
37de9273a7
move OpenLayers.Feature.WFS into deprecated.js.
2011-11-14 15:29:12 +01:00
Frederic Junod
9a3dc98458
Remove unneeded requires
2011-11-14 15:29:08 +01:00
Frederic Junod
4afff74b0d
Move deprecated functions from OpenLayers.Util into deprecated.js.
2011-11-14 15:29:03 +01:00
Frederic Junod
2900823eb2
Move deprecated Layer.WFS and Tile.WFS into deprecated.js.
2011-11-14 15:28:57 +01:00
Éric Lemoine
29256bd156
Merge pull request #47 from elemoine/pinchzoom
...
fix bug where center of fingers is not preserved on pinch zoom
2011-11-14 00:44:22 -08:00
ahocevar
b5d41fae25
removing trailing comma
2011-11-14 09:34:44 +01:00
ahocevar
553eeb5a04
Merge pull request #50 from ahocevar/wmscaps-singlepass
...
Process WMSCapabilities property inheritance and flat layers list in a single pass for increased performance.
2011-11-14 00:14:24 -08:00
ahocevar
754312b20b
Support for basic literal/propertyname combinations in SLD. r=elemoine (closes http://trac.osgeo.org/openlayers/ticket/3506 )
2011-11-13 22:04:07 +01:00
ahocevar
5e4ee5e3c4
No more looping through attributes and complex attributes; set all in the first pass instead.
2011-11-13 17:48:45 +01:00
ahocevar
b563989985
no second pass to handle inheritance and nested layer
2011-11-13 17:14:13 +01:00
ahocevar
53963fabe0
Merge pull request #48 from jorix/3158-CC_WinPy24
...
closure.py: Use temporary file names but manual deletion.
2011-11-12 13:04:37 -08:00
Xavier Mamano
e2c3253108
closure.py: Use temporary file names but manual deletion.
...
Ok Windows+python 2.4
2011-11-12 16:47:57 +01:00
Éric Lemoine
629e14d3c7
PinchZoom.updateContainerOrigin renamed to updateContainerCenter
2011-11-10 21:40:46 +01:00
Éric Lemoine
e6f2b0e294
fix bug where center of fingers is not preserved on pinch zoom
2011-11-10 21:35:38 +01:00
Frederic Junod
18b23e944d
Don't use deprecated Layer.WFS in tests.
2011-11-10 08:21:16 +01:00
Tim Schaub
ec6c5eb74b
Merge pull request #43 from tschaub/undeprecated
...
Move deprecated methods from main lib. To use deprecated methods and classes in your application, add the deprecated.js script to your build profile.
2011-11-09 11:58:19 -08:00
tschaub
69ad1b7bbe
Add dependencies for deprecated.js.
...
To use deprecated methods, include the "deprecated.js" script in your build profile.
2011-11-09 12:56:05 -07:00
tschaub
caaf911081
Merge branch 'undeprecated' of https://github.com/ahocevar/openlayers into undeprecated
2011-11-09 12:24:53 -07:00
tschaub
b9cc3834d6
Merge branch 'master' of github.com:openlayers/openlayers into undeprecated
2011-11-09 12:24:42 -07:00
ahocevar
9f1869df2d
Don't use deprecated Element.hide and show methods internally.
2011-11-09 11:28:12 +01:00
ahocevar
4d2fb8861d
Don't use transition effect for labels, because backbuffers don't work well for transparent layers
2011-11-09 09:52:14 +01:00
Tim Schaub
9605c08a11
Remove extra MapServer subclass.
2011-11-08 22:57:28 -07:00
Tim Schaub
7b6887c954
Remove extra WMS subclasses.
2011-11-08 22:45:13 -07:00
Tim Schaub
ab225e36b9
Remove extra tests.
2011-11-08 22:42:46 -07:00
Tim Schaub
5f2a6d410b
Deprecated XML.js method.
2011-11-08 22:07:29 -07:00
tschaub
b7c826e796
Remove MouseDefaults and MouseToolbar.
2011-11-08 18:32:55 -07:00
tschaub
f90d34fad9
Exclude deprecated methods from full build.
2011-11-08 17:10:31 -07:00
tschaub
20e19203d5
Deprecated methods from BaseTypes.js.
2011-11-08 16:48:58 -07:00
tschaub
dd5d7c9f07
Remove deprecated methods from Element.js.
2011-11-08 16:37:31 -07:00
tschaub
5db084afe8
Pull Ajax.js from the loader.
2011-11-08 16:37:01 -07:00
tschaub
e4d422e781
Deprecated Class.js methods.
2011-11-08 16:24:33 -07:00
tschaub
95e7de2ab4
Deprecated tests for Ajax.js.
2011-11-08 16:17:52 -07:00
tschaub
368ad02bdb
Deprecated methods from Ajax.js.
2011-11-08 16:11:43 -07:00
Tim Schaub
bce3aced23
Merge pull request #42 from tschaub/convenience
...
Adding extent, location, and projection convenience. Where appropriate, literals can be used instead of creating new OpenLayers objects.
2011-11-08 11:05:46 -08:00
tschaub
76bb0be254
Spell projection with p and separate tests to avoid mock issues.
2011-11-08 11:47:59 -07:00
tschaub
00410cf779
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-11-08 08:44:33 -07:00
ahocevar
794440750c
New WMTS GetCapabilities & RESTful example.
...
Uses the WMTS server of the ogdwien open data initiative of the City of Vienna. Shows how to build a fullscreen map that works well on both mobile and desktop clients. With lightweight permalinks and Geolocate control.
2011-11-08 11:59:57 +01:00
ahocevar
8e2ab1c530
Fixing tests after #40
2011-11-08 11:38:33 +01:00
ahocevar
4226e45260
Making closure.py also work with Python 2.5
2011-11-07 23:32:27 +01:00
ahocevar
c87a087429
updating update script to use git url for trunk
2011-11-07 23:13:40 +01:00
ahocevar
f3a0a73add
Merge pull request #40 from elemoine/wmtscaps
...
Make OWSCommon v1 support constraints in Get and Post nodes, and respect the 1..* cardinality.
2011-11-07 14:01:26 -08:00
Éric Lemoine
eac8bb5307
Merge remote branch 'ahocevar/wmtscaps' into wmtscaps
...
Conflicts:
lib/OpenLayers/Format/OWSCommon/v1.js
tests/Format/WMTSCapabilities/v1_0_0.html
2011-11-07 22:53:55 +01:00
Éric Lemoine
5e6fbfdc56
Merge branch 'master' into wmtscaps
2011-11-07 22:50:30 +01:00
ahocevar
97bf974b6b
new location of the get url
2011-11-07 22:43:48 +01:00
ahocevar
ffafa93168
API change to better accommodate for the 1..* cardinality of HTTPType and addition of Constraint
2011-11-07 22:43:23 +01:00
Éric Lemoine
4076c1af99
make OWSCommon v1 support constraints in Get and Post nodes
2011-11-07 22:42:51 +01:00
Éric Lemoine
6c5c468e91
Merge branch 'master' into wmtscaps
2011-11-07 22:42:30 +01:00
ahocevar
98363370b6
Use map.div as container.
...
map.layerContainerDiv has a dimension now, but we want a container with the full map viewport. r=elemoine (closes http://trac.osgeo.org/openlayers/ticket/3567 )
2011-11-07 22:01:20 +01:00
Éric Lemoine
2555813762
commit ef6770 was incorrect, stopObservingElement is to be called, not stopObserving
2011-11-07 18:08:12 +01:00
Éric Lemoine
d1c264eae1
Merge remote branch 'upstream/master'
2011-11-07 17:05:19 +01:00
Éric Lemoine
ef6770f8f8
call stopObserving in test_createBackBuffer of Tile/Image.html to prevent side-effects, test only change
2011-11-07 17:01:25 +01:00
ahocevar
3752b0572d
use ResourceURL for WMTS layers for REST encoding. p=fredj,me r=elemoine,me (closes http://trac.osgeo.org/openlayers/ticket/3044 )
2011-11-07 16:56:10 +01:00
Éric Lemoine
797c479b6e
make OWSCommon v1 support constraints in Get and Post nodes
2011-11-07 12:29:16 +01:00
Frederic Junod
8b1f684cbd
Remove semicolons from viewport meta tag
2011-11-07 10:48:52 +01:00
Éric Lemoine
0bf1169c16
Merge pull request #16 from elemoine/bigbackbuffer
...
A Big Back Buffer approach
2011-11-01 22:17:02 -07:00
Éric Lemoine
c65471c35b
Grid tests - do no test the same thing twice
2011-10-30 23:34:52 +01:00
Éric Lemoine
82bf97381c
remove commented line in a test
2011-10-30 23:26:23 +01:00
Éric Lemoine
896c2c0580
fix tests, and add new ones
2011-10-30 23:21:00 +01:00
Éric Lemoine
db08102fe4
correct bug where the value stored for the top-left corner of the back buffer may be incorrect, thanks @ahocevar for catching the issue
2011-10-30 23:20:42 +01:00
Éric Lemoine
c0d210ef05
just skip tiles that are currently loading when creating the back buffer
2011-10-29 21:11:14 +02:00
Éric Lemoine
8df1ae0e09
comparing backBufferData.resolution and serverResolution to know if backbuffering should be applied is wrong
2011-10-29 21:10:23 +02:00
Éric Lemoine
c80746b890
Tile.Image.cloneMarkup renamed Tile.Image.createBackBuffer
2011-10-29 12:22:08 +02:00
tschaub
28cc0bd962
Fewer news.
2011-10-28 15:53:16 -06:00
tschaub
1209a31f5b
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:52:08 -06:00
tschaub
bea1a5b24a
Concise config. No init.
2011-10-28 15:51:36 -06:00
tschaub
e599881a8e
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:46:46 -06:00
tschaub
58cc225b9b
Syntax updates.
2011-10-28 15:45:56 -06:00
tschaub
423bb39f23
Making this example less outdated.
2011-10-28 15:41:53 -06:00
tschaub
eb6279c4d0
Removing oam layer (service not up).
2011-10-28 15:31:10 -06:00
tschaub
80219dc03c
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-10-28 15:23:41 -06:00
Éric Lemoine
f3e0ac9425
remove double variable declarations, and make jslint happier
2011-10-28 23:00:13 +02:00
Éric Lemoine
2f80d52bfd
in single tile mode with no transition effect remove the back buffer when zooming
2011-10-28 22:57:10 +02:00
Éric Lemoine
46de595f55
Merge branch 'master' into bigbackbuffer
2011-10-28 21:26:59 +02:00
Tim Schaub
824160ecb0
Merge pull request #30 from fredj/unneeded
...
remove unneeded activate and deactivate functions
2011-10-27 12:09:20 -07:00
tschaub
a606e565d3
Allow transforming geometries, lonlat, and bounds with strings.
2011-10-26 16:23:48 -06:00
tschaub
98d6e74314
Allow testing for projection equality with string.
2011-10-26 16:22:51 -06:00
tschaub
fb790424a5
Allow array for min/maxExtent in layers.
2011-10-26 16:02:51 -06:00
tschaub
98ee7167c4
Allow use of array for bounds.
2011-10-26 15:40:40 -06:00
tschaub
75a1a8e119
Allow setting center from array.
2011-10-26 15:22:13 -06:00
tschaub
415c8f9e0c
Removing example as the service has been discontinued.
2011-10-25 17:31:25 -06:00
tschaub
3e163910f7
Tweak maxExtent docs to link to restrictedExtent.
2011-10-25 17:20:12 -06:00
Tim Schaub
8ea4c47a13
Merge pull request #23 from tmcw/max-extent-doc
...
Improve maxExtent documentation. Thanks @tmcw.
2011-10-25 16:17:28 -07:00
Tom MacWright
9af5126c31
Improve maxExtent documentation
2011-10-25 17:20:15 -04:00
ahocevar
6dc36e90ac
Declaring inRange variable. No functional change.
2011-10-25 18:52:00 +02:00
Éric Lemoine
f6773d32c9
Merge pull request #21 from elemoine/wmtscaps
...
read legendURL and Dimension from WMTS capabilities docs
2011-10-25 06:51:16 -07:00
ahocevar
eeb5af192c
Fixing the example for Android 2.x
2011-10-25 08:54:07 +02:00
Éric Lemoine
babbfa20b0
read legendURL and Dimension from WMTS capabilities docs
2011-10-24 16:07:00 +02:00
Tim Schaub
daa16c08b1
Merge pull request #20 from drnextgis/feature
...
Fix unterminated statements
2011-10-23 01:16:20 -07:00
rda
81fd4adb4f
Fix unterminated statements
2011-10-23 14:24:30 +07:00
Tim Schaub
5486caf1c2
Merge pull request #18 from drnextgis/feature
...
Delete last comma in object literal. Thanks @drnextgis.
2011-10-22 23:00:22 -07:00
Tim Schaub
f0f76cc8fd
Merge pull request #19 from drnextgis/feature2
...
Fix CSS errors. Thanks @drnextgis.
2011-10-22 22:57:03 -07:00
rda
b4a42c8446
Fix CSS errrors
2011-10-23 07:53:41 +07:00
rda
b97d0b28c1
Fix CSS errors
2011-10-23 00:05:13 +07:00
rda
3ad5db431a
Delete last comma in object literal
2011-10-22 23:59:28 +07:00
Bart van den Eijnden
155108f10b
OpenLayers.Format.WPSExecute fails with WFS references, p=ahocevar,me r=ahocevar ( closes #3448 )
2011-10-21 13:52:50 +02:00
Éric Lemoine
7ad7e4d57c
better comments for Layer.Grid.getServerResolution, no functional change
2011-10-21 09:35:30 +02:00
Éric Lemoine
d33bd6e2db
Merge branch 'master' into bigbackbuffer
2011-10-21 00:14:19 +02:00
Éric Lemoine
abcc74cbc7
give a class to the back buffer
2011-10-21 00:13:16 +02:00
Éric Lemoine
55c2f0e047
better comments in Image/IFrame.js
2011-10-20 23:08:16 +02:00
Éric Lemoine
667d21137f
purely cosmetic change
2011-10-20 23:05:34 +02:00
Éric Lemoine
8aaf9ee775
remove the unnecessary SUPPORTED_TRANSITIONS array
2011-10-20 23:05:08 +02:00
Éric Lemoine
dc0867e655
remove the Tile.BackBufferable tests
2011-10-20 23:04:17 +02:00
Éric Lemoine
9bab78cde8
more Layer.Grid tests
2011-10-20 23:03:28 +02:00
Éric Lemoine
17dc9c2b58
fix test_Layer_Grid_addTileMonitoringHooks
2011-10-20 22:02:39 +02:00
Éric Lemoine
bed285593f
add tests for Layer.Grid
2011-10-20 21:55:30 +02:00
Frédéric Junod
e223eef159
Fix comment, no functional change
2011-10-20 11:14:21 +03:00
Frédéric Junod
0944be7b28
Fix comment, no functional change
2011-10-20 10:40:44 +03:00
Éric Lemoine
39eca86083
replace test_insertBackBuffer by test_cloneMarkup in the Tile/Image.html tests
2011-10-19 23:50:43 +02:00
Éric Lemoine
76e8a800da
special precautions must be taken in updateBackBufferData
2011-10-19 23:47:25 +02:00
Éric Lemoine
7ffec2e88b
Make the IFrame.html tests pass
2011-10-19 23:19:52 +02:00
Éric Lemoine
853bfeaee1
necessary adaptations to the Tile.IFrame mixin - back buffering is disabled when using POST and iframe tiles
2011-10-19 23:19:29 +02:00
Éric Lemoine
a37202ac09
remove BackBufferable.js from the js files list in OpenLayers.js
2011-10-19 23:15:17 +02:00
Tim Schaub
3e9015879c
Correcting typos in comments, no functional change ( closes #15 ).
2011-10-19 15:05:19 -06:00
Éric Lemoine
f9ae12f227
minor refactoring in Layer.Grid - add a removeBackBuffer function
2011-10-19 20:42:34 +02:00
Éric Lemoine
b39f4fde1c
remove Tile.Image:insertBackBuffer and add API docs for Tile.Image:cloneMarkup
2011-10-18 08:25:46 +02:00
Éric Lemoine
0971124669
Tile.Image inherits from Tile
2011-10-18 08:25:02 +02:00
Éric Lemoine
1bffc4fe28
Tile/Image.js does not require Tile/BackBufferable.js
2011-10-18 08:24:32 +02:00
Éric Lemoine
475f96db96
back buffer is not correctly repositioned
2011-10-18 08:11:43 +02:00
fredj
6c0f11da67
remove unneeded activate and deactivate functions
2011-10-17 15:00:16 +02:00
Éric Lemoine
5ae65d413a
the layer may not be in the map anymore when a tile is received
2011-10-16 22:40:11 +02:00
Éric Lemoine
2dbbef8c6f
ok, remove Tile.BackBufferable
2011-10-16 22:32:57 +02:00
Éric Lemoine
bea037679f
better back buffer code, and support for singleTile
2011-10-16 22:31:37 +02:00
Éric Lemoine
8ca9f22cf5
Merge branch 'master' into bigbackbuffer
2011-10-16 15:55:13 +02:00
Éric Lemoine
93ed63e23d
a better tile for the OSM example page, no functional change
2011-10-16 15:51:10 +02:00
Éric Lemoine
1d7c74cff9
remove unused local variable in BackBufferable:draw, no functional change
2011-10-16 15:50:16 +02:00
Éric Lemoine
69d3c76254
a "big back buffer" attempt
2011-10-15 23:48:13 +02:00
ahocevar
469350176f
Merge pull request #11 from ahocevar/3526
...
Dateline handling improvements for vector layers. Thanks @tschaub for the great collaboration on this. r=tschaub (closes #3526 )
2011-10-12 23:06:47 -07:00
ahocevar
740e3c4d28
Defaults for featureDx and xOffset.
...
This is mostly done to make SVG and VML tests pass again, but it may also help existing applications that override setExtent or drawFeature without calling the superclass methods properly.
2011-10-12 08:25:20 +02:00
Tim Schaub
6af8178452
Enforcing existing zoomToExtent behavior.
...
The Map.html and WrapDateLine.html tests that check zoomToExtent were failing with the changes to this method. These test changes make the expectations more explicit. It is inconsistent to call wrapDateLine only in zoomToExtent, but this is the minimum change to get the tests passing again. It would be more consistent to call wrapDateLine in the setCenter sequence.
2011-10-11 21:14:07 -06:00
Tim Schaub
ea8404c3bd
Fixing up the WFS tile (ack) tests.
2011-10-11 19:56:42 -06:00
tschaub
8a3498bd0f
Setup and teardown for WFS tile tests. Still need work.
2011-10-11 15:26:51 -06:00
tschaub
b4de402774
Properly set up and tear down for tests.
2011-10-11 15:22:50 -06:00
tschaub
d65fde60e2
Avoid test failures due to partial mocking.
...
Add setup and teardown methods to properly set up test context.
2011-10-11 15:11:03 -06:00
tschaub
cb74ede41b
Handle features without bounds.
...
Updates to tests to work with new wrap dateline code. Canvas renderer needs to handle geometries without bounds as well.
2011-10-11 14:48:10 -06:00
tschaub
c2bf717e5c
Merge branch 'master' of github.com:openlayers/openlayers into 3526
2011-10-11 09:42:49 -06:00
tschaub
fc5a0121e6
The getFeatureFromEvent method now throws (see #7 ).
2011-10-11 09:36:43 -06:00
tschaub
c6e66a3c5c
The getFeatureFromEvent now throws.
...
An error is thrown if getFeatureFromEvent is called on a destroyed layer (see #7 ).
2011-10-11 09:34:38 -06:00
fredj
b1ee9d1f95
fix APIProperty formating, thanks Denis Rykov
2011-10-10 16:26:23 +02:00
Bart van den Eijnden
64f111a308
add infoFormats to WMSCapabilities Format, r=ahocevar ( closes #3539 )
2011-10-10 08:24:24 +02:00
Marc Jansen
760d5a584c
Reverse QUERY_LAYERS order in GetFeatureInfo requests. r=bartvde ( closes #3253 )
2011-10-09 15:53:12 +02:00
Éric Lemoine
c4c4f97334
Merge pull request #10 from elemoine/3061
...
IE<7 needs a reflow when the tiles are loaded
2011-10-09 01:31:21 -07:00
ahocevar
9670b140cb
Tests for calculateFeatureDx
2011-10-09 10:10:21 +02:00
ahocevar
8c43c4537c
Merge branch 'master' into 3526
2011-10-09 09:54:45 +02:00
ahocevar
b56af5a5cf
Tests for setExtent; improved comments.
2011-10-08 14:34:59 -04:00
ahocevar
281ae3dfe7
new calculateFeatureDx method which is used by both Canvas and Elements renderers.
2011-10-08 12:26:19 -04:00
ahocevar
f2fcb5a95c
Canvas renderer needs to return false from setExtent
2011-10-08 12:21:51 -04:00
ahocevar
bb80c893fd
Documenting the featureDx, xOffset and rightOfDateLine member variables.
2011-10-08 12:03:16 -04:00
ahocevar
2cfe6f83c2
Cross-dateline rendering fixed for SVG and added for VML renderer.
2011-10-08 11:33:35 -04:00
Éric Lemoine
89388880b7
do not return too early from onImageLoad
2011-10-08 00:22:22 +02:00
Éric Lemoine
1ee40cec02
IE<7 needs a reflow when the tiles are loaded
2011-10-08 00:06:28 +02:00
Éric Lemoine
2c93a90c9b
Merge pull request #5 from elemoine/clientzoom
...
add continuous zooming support for tiled layers
2011-10-07 13:30:50 -07:00
Éric Lemoine
8786504c9f
Merge pull request #8 from fredj/unneeded-cast
...
remove unneeded cast to float
2011-10-07 13:27:40 -07:00
Tim Schaub
4ad80fc6c0
Merge pull request #9 from tschaub/date
...
Making date parsing a bit more lenient (r=ahocevar closes #3542 ).
2011-10-07 08:29:13 -07:00
Tim Schaub
6eebcc5be0
Making date parsing a bit more lenient.
...
RFC 3339 doesn't say what timezone to assume for date strings without time. Some servers append "Z" to dates (e.g. "2001-02-03Z") and some clients accept this (e.g. Chrome). The OpenLayers date parser now accepts dates without times and with "Z" at the end.
2011-10-07 10:50:56 -04:00
Éric Lemoine
d8283ba602
better text for the clientzoom example
2011-10-07 13:57:24 +02:00
Éric Lemoine
fed387804e
base-10 parseInt
2011-10-07 13:43:55 +02:00
Éric Lemoine
85d3e8d5e9
Merge branch 'master' into clientzoom
2011-10-07 13:36:58 +02:00
fredj
ef1feac748
remove unneeded parseFloat when building Bounds
2011-10-07 09:09:26 +02:00
ahocevar
627f32ff39
Merge branch 'master' into 3526
2011-10-06 18:21:05 -04:00
ahocevar
0afb5207e2
Allow filters in WFST for multiple geometry columns. r=bartvde ( closes #3370 )
2011-10-06 18:02:27 -04:00
Frederic Junod
6026f60276
remove unneeded parseFloat when building Bounds
2011-10-06 14:37:12 +02:00
Frederic Junod
54e5db90ae
remove unneeded parseFloat when building Geometry.Point
2011-10-06 14:32:38 +02:00
Frédéric Junod
00e2e1bd59
Merge pull request #7 from fredj/3320
...
Replace OpenLayers.Console.error with exceptions. r=elemoine,bbinet (closes #3320 )
2011-10-06 02:03:48 -07:00
ahocevar
91cd42bfe6
Removing unused image load error handling code. r=fredj ( closes #3420 )
2011-10-05 14:51:22 -04:00
aabt
4c610135fd
Merge pull request #6 from fredj/master
...
group identical css rules
2011-10-04 02:46:33 -07:00
fredj
dcd6b20070
group identical css rules. No functional change
2011-10-04 11:41:39 +02:00
ahocevar
de8425db17
world shifting for renderers
2011-10-02 15:40:44 -06:00
ahocevar
868757501f
deal with the dateline in the SVG renderer. Not yet fully functional.
2011-10-02 15:40:13 -06:00
Éric Lemoine
ded64c00d4
apply patch-3531-A0.diff from trac ticket #3531
2011-10-01 21:41:35 +02:00
ahocevar
49e4547865
Merge branch '3526' of https://github.com/tschaub/openlayers into 3526
2011-09-30 17:31:45 -06:00
ahocevar
b782df0849
Merge branch 'master' into 3526
2011-09-30 17:31:31 -06:00
ahocevar
cce8ad4f1b
Merge pull request #4 from ahocevar/3533
...
removing unneeded code. r=tschaub (closes #3533 )
2011-09-30 16:27:42 -07:00
tschaub
38e59965f1
Quicker route to contains when wrapping.
...
Instead of moving one world at a time and testing for containment, we can jump immediately by the number of worlds we are away from the bounds.
2011-09-30 16:53:33 -06:00
ahocevar
d4fb441da8
removing unneeded code
2011-09-30 14:57:46 -06:00
tschaub
b82a24ef36
Determine how many worlds away we are instead of simply wrapping.
2011-09-30 13:22:29 -06:00
tschaub
fe08a843ee
Don't cache newRight or newLeft while changing bounds.
2011-09-30 13:20:15 -06:00
ahocevar
449042d567
making renderer configurable
2011-09-30 11:29:35 -06:00
tschaub
d8c269c891
Update example to use canvas renderer and start with some features.
2011-09-29 19:51:54 -06:00
tschaub
9ab440e615
Calculate x-offset for features outside the world bounds.
2011-09-29 19:51:20 -06:00
tschaub
f5f93ac947
Don't render if feature doesn't intersect renderer extent in a warped sense.
2011-09-29 19:50:11 -06:00
tschaub
2549935a8a
Only hide features if they don't intersect in a wrapped sense.
2011-09-29 19:48:20 -06:00
tschaub
cc81657907
Always left justify the renderer extent.
2011-09-29 19:46:53 -06:00
tschaub
5925cb12d7
Only shift extents that cross once.
2011-09-29 19:46:00 -06:00
tschaub
d291b970a4
Merge branch '3526' of https://github.com/ahocevar/openlayers into 3526
2011-09-29 18:06:38 -06:00
ahocevar
5f367cb8d9
Merge branch 'master' into 3526
2011-09-29 18:06:14 -06:00
ahocevar
9907d11c93
Merge branch '3526' of https://github.com/tschaub/openlayers into 3526
2011-09-29 17:52:35 -06:00
tschaub
cb4c9baeb0
Merge branch '3526' of https://github.com/ahocevar/openlayers into 3526
2011-09-29 17:52:17 -06:00
ahocevar
db4cbac247
Merge branch 'master' into 3526
...
Conflicts:
lib/OpenLayers/Tile.js
2011-09-29 17:51:35 -06:00
Tim Schaub
4c4692a6bd
Merge pull request #3 from tschaub/3532
...
Passing renderer options to the sketch layer (r=ahocevar, closes #3532 ).
2011-09-29 16:33:00 -07:00
tschaub
c743d3e8a5
Passing renderer options to the sketch layer.
...
The draw feature control should pass preferred render and other renderer options to the sketch handler.
2011-09-29 17:26:23 -06:00
tschaub
275b310bda
Coordinates that are easier to visualize.
2011-09-29 16:08:38 -06:00
ahocevar
085c1156c2
simplified the example a bit; improved description
2011-09-29 13:54:05 -06:00
ahocevar
2e6c9bfdc2
Remove action that is now covered by wrapDateLine.
...
With the changes in wrapDateLine, we don't have to shift the bounds here any more.
2011-09-29 13:53:32 -06:00
ahocevar
23a17fc355
use tolerance for correct tile bounds shifting
2011-09-29 13:39:16 -06:00
ahocevar
0277eb1ed3
worldBounds option for containsLonLat.
...
This is basically the same enhancement we made for intersectsBounds, and we no longer have to do dateline shifting in other components to get proper containsLonLat results.
2011-09-29 13:38:40 -06:00
ahocevar
dc6989b9f0
adding missing comma
2011-09-29 13:35:22 -06:00
ahocevar
c2582c1970
use tolerance for crosses right / force left
2011-09-29 13:35:00 -06:00
tschaub
516914c935
Push dateline wrapping to intersectsBounds method.
...
It should simplify things by pushing the dateline wrapping stuff into the intersectsBounds method.
2011-09-29 12:21:05 -06:00
ahocevar
c53374c797
always start the map extent on the right of the dateline
2011-09-29 10:03:02 -06:00
ahocevar
cca0bf5e38
Check for map first. No functional change, but fixes tests and does not hurt (see #3521 )
2011-09-28 15:07:55 -06:00
ahocevar
dd48ea3cbc
no need to load the GMaps API.
2011-09-28 14:46:00 -06:00
ahocevar
949a5db60e
Improved dateline handling for Grid layers. r=bartvde ( closes #3521 )
2011-09-28 07:43:58 -06:00
ahocevar
dfdcdb8d33
improvements suggested by bartvde
2011-09-28 07:41:00 -06:00
Bart van den Eijnden
8edb26d579
Revert "DragFeature control should trigger afterfeaturemodified, r=crschmidt ( closes #3277 )"
...
This reverts commit a46489db1a .
2011-09-28 10:31:32 +02:00
fredj
fba7cf86bf
use OpenLayers.String.contains instead of the deprecated 'contains' function. No functional change.
2011-09-28 09:35:44 +02:00
fredj
2f4e034ef2
replace VirtualEarth layers with Bing in examples. No functional change.
2011-09-28 09:17:38 +02:00
ahocevar
d48b3e7df4
deprecating OpenLayers.Layer.VirtualEarth. No functional change.
2011-09-27 16:25:41 -06:00
ahocevar
99d012f321
only change bounds when wrapDateLine is true; remove unused variable
2011-09-27 07:38:22 -06:00
ahocevar
61a3c2a072
only change bounds when wrapDateLine is true; remove unused variable
2011-09-27 07:37:08 -06:00
ahocevar
6925ac0ab1
use OSM as base layer
2011-09-26 11:24:31 -06:00
fredj
7b410915a0
Merge remote branch 'upstream/master' into 3320
2011-09-23 15:47:49 +02:00
Bart van den Eijnden
6936acd7c7
ArgParser does not deal well with fractionalZoom, r=fredj ( closes #3515 )
2011-09-23 15:36:18 +02:00
Bart van den Eijnden
a46489db1a
DragFeature control should trigger afterfeaturemodified, r=crschmidt ( closes #3277 )
2011-09-23 14:47:07 +02:00
Bart van den Eijnden
807b0eabaa
cannot draw a label with value 0, r=fredj ( closes #3258 )
2011-09-23 14:44:23 +02:00
Marc Jansen
8bcbb069b5
Remove global variable 'headerKey', no functional change.
2011-09-22 04:52:35 +02:00
Marc Jansen
6b30856a07
Give our requests the popular but non-standard X-Requested-With
...
header (r=crschmidt, closes #3491 ).
2011-09-22 02:57:39 +02:00
crschmidt
81cfbe2f80
Merge pull request #1 from crschmidt/closurews
...
Modify build script to support minimizing with jsmin before passing to closure web service (Closes #3422 )
2011-09-20 20:15:27 -07:00
Xavier Mamano
4447d3c8db
Modify build script to support minimizing with jsmin before passing to closure
...
webservice for closure_ws. (Closes #3422 )
2011-09-20 23:13:57 -04:00
fredj
6e9a3e4c13
don't translate error message and replace console log with exception
2011-09-20 15:21:16 +02:00
Marc Jansen
91f610f19c
revert my commit rights test (dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf)
2011-09-20 05:50:45 +02:00
Christopher Schmidt
b375c7c473
I *think* we need a rebase in here to stop the silly merge comments.
2011-09-19 21:34:48 -04:00
Christopher Schmidt
59ed969265
Merge branch 'master' of github.com:openlayers/openlayers
2011-09-19 21:33:16 -04:00
Christopher Schmidt
4153162ca7
Merge branch 'master' of github.com:openlayers/openlayers
2011-09-19 21:32:51 -04:00
Christopher Schmidt
9fc1cfc30f
Document why this hack is only applied in a limited set of situations;
...
(Closes #3478 )
2011-09-19 21:32:22 -04:00
Example User
f5305679ef
Merge branch 'master' of github.com:openlayers/openlayers
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12401 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-20 01:19:54 +00:00
Example User
b2ea600466
testing commit rights
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12400 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-20 01:10:14 +00:00
Bart van den Eijnden
720184e9cd
add missing requires, non-functional change
2011-09-19 17:41:24 +02:00
Marc Jansen
fef5f899f4
testing commit rights
2011-09-18 18:11:56 +03:00
Example User
290b6c886d
Update script
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12399 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 23:04:32 +00:00
Christopher Schmidt
4622f3221d
Update script
2011-09-17 17:03:46 -06:00
Frédéric Junod
aec956aa79
use olImageLoadError class to hide unavailable img. non functional changes
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12389 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:49:11 +00:00
Frédéric Junod
9264d57a3c
remove unneeded destroy and initialize function. r=erilem ( closes #3341 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:20:40 +00:00
Frédéric Junod
501b42228a
remove event type list from Events (lazy listener initialization) p=tschaub,me r=erilem ( closes #2555 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:09:40 +00:00
Frédéric Junod
67a5743d91
remove unneeded requires from OpenLayers/Protocol/HTTP.js r=erilem ( closes #3469 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12383 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 18:41:53 +00:00
Éric Lemoine
771e69da61
add a git_to_svn.sh script
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 18:01:29 +00:00
Marc Jansen
57c16b7345
Various enhancements to the testsuite:
...
- split resources of the suite (CSS, HTML, !JavaScript)
- dedicated files for our changes to the suite
- CSS enhancements (e.g. hover colors)
- a simple quicksearch/filter for the list of testfiles (Only for browsers that support querySelectorAll)
- links to the testfiles to easily bypass browser cache
- running time info panel
- detailed total number of testcases that failed/were ok
Non-functional change (closes #3507 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12378 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 17:36:14 +00:00
crschmidt
6cf0dbfc13
Making this box have size... which it doesn't for some reason. weird.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12372 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-15 20:18:33 +00:00
Tim Schaub
b08b956894
Enabling kinetic dragging on the mobile draw example.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-15 15:40:50 +00:00
pgiraud
f50d1c85d8
Adding support for write in the GPX format, r=marcjansen, ( Closes #3495 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-15 12:27:56 +00:00
ahocevar
2a65d77108
no layer switcher needed for the test
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 19:44:29 +00:00
ahocevar
aefb89be8b
new manual test to see the unexpected tilt on google layers
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12368 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 19:39:21 +00:00
ahocevar
85025c5c46
better description
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12367 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 18:54:02 +00:00
ahocevar
6c01581c53
better title and description
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12366 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 18:47:24 +00:00
ahocevar
3787396575
new manual test that shows that Google layer and overlays are not in sync
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12365 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 18:42:14 +00:00
ahocevar
e8d3108f1e
allow renderer switching
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12364 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-14 18:17:49 +00:00
ahocevar
8bf0d74291
reverting accidently committed changes
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12358 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-12 04:31:16 +00:00
ahocevar
22bd5fa546
also consider the resolutions array if no zoomOffset is provided. r=bartvde ( closes #3485 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12357 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-12 04:26:32 +00:00
ahocevar
98be6e313b
Making sketch handlers work over the dateline by using layer.getLonLatFromViewPortPx instead of map.getLonLatFromPixel. Thanks bartvde for the unit and acceptance tests. r=bartvde ( closes #2787 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-08 17:53:44 +00:00
bartvde
21423cefe2
fix up tests in IE because of invalid XML fragments in WMS Capabilities 1.1.1 testcase ( closes #3449 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-08 06:24:12 +00:00
Marc Jansen
a8e99486b8
Revert my accidental commit [12335].
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 19:26:02 +00:00
Frédéric Junod
80f3c81f11
measure example: add renderer url param. non-functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12336 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 16:00:09 +00:00
Marc Jansen
6006a12720
- switch to 900913
...
- add google
- add osm
- fix numerous smaller bugs
- smaller refactorings
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 14:57:05 +00:00
Frédéric Junod
461b4e079f
change comment about buffer default value (see #3111 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12334 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 14:41:58 +00:00
crschmidt
735c5e2402
"Google base layer not showing when switching base layers" -- patch by
...
bartvde, r=me, (Pullup #3475 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-03 15:32:23 +00:00
Tim Schaub
663392b10e
Despite our best efforts to comply, we have been told that this layer violates the Google Maps Terms of Service. Without rendering their full map interface, they have no way of controlling the user experience, dropping in ads, and the like. ( closes #3481 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12317 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-01 19:07:37 +00:00
Bruno Binet
b339043a41
remove trailing space in @requires dependencies (no functionnal changes)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12291 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-31 07:31:05 +00:00
ahocevar
d75f3552cd
unregister load and error handlers after blank image is loaded. r=sbrunner,pgiraud ( closes #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12286 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-30 18:37:11 +00:00
Frédéric Junod
228fab098d
fix jsdoc tag, makes Closure Compiler happy. no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-25 08:30:11 +00:00
Frédéric Junod
497f7c9105
fixing error in comments. Non-functional change (see #3163 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12272 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-24 14:23:59 +00:00
bartvde
a32b8bab62
update test function docs to match what the test function now does, non-functional change (see #3474 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12270 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-24 06:20:45 +00:00
bartvde
50704395bb
make sure the for loop for lods is not messed up by frameworks changing the Array.prototype, p=dzwarg, r=me ( closes #3474 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12269 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-24 06:18:55 +00:00
bartvde
bb41c99524
fix closure build on Windows, p=jorix, r=me, thanks to mprins and scaddenp, I've verified that the build still works on OSX ( closes #3158 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12268 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-22 10:10:46 +00:00
Frédéric Junod
a31b8e444f
Simplify Layer.HTTPRequest initialize function. r=erilem (pullup #3470 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12267 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-22 06:56:28 +00:00
Frédéric Junod
6a66871492
fix api doc typo, no functionnal changes
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12261 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-18 14:16:44 +00:00
Frédéric Junod
d4a0128ba8
update the arcgiscache_jsonp example to use OpenLayers.Protocol.Script instead of the JSONP from jquery
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12260 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-18 10:15:44 +00:00
ahocevar
02553ae595
Using dereferenced variable. Non-functional change.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12259 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-18 09:54:42 +00:00
ahocevar
c78385aa49
fixing a typo (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12258 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-18 09:41:14 +00:00
Frédéric Junod
6ba6527ef7
fix jsdoc tag, no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12257 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-18 06:30:39 +00:00
bartvde
85455619ec
filter on snapping target does not work for all filter types, r=ahocevar ( closes #3468 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12255 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 13:47:08 +00:00
Tim Schaub
74af61d898
Updating the date tests to work against Firefox 6 (and any other implementations that throw RangeError). closes #3461
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12254 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 02:29:09 +00:00
Tim Schaub
c517de52f5
Making freehand drawing work on touch devices. Thanks jorix for the excellent patch. r=me ( closes #3456 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12253 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 02:13:06 +00:00
Tim Schaub
98eabd4d89
Adding missing requires (see #3467 ).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12252 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-17 01:07:59 +00:00
ahocevar
de1d2cea92
avoid empty image placeholder in webkit browsers (and maybe an extra reflow) by setting initial display to 'none' as well. I take erilem's commit comment as still valid for this follow-up commit. (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12251 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-16 18:42:58 +00:00
Tim Schaub
541b3dc7ae
Changing the named callback to avoid having the returned script call a function. This allows the protocol to be used with servers that sanitize callback identifiers for security. Great patch from vmische. r=me (closes 3417).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12250 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-15 18:27:55 +00:00
ahocevar
0ebec29df1
Fixing tests after r12247 - img.src is now only available after a delay, because it is set in the load handler after setting a blank image as src. There is no need to check for img.src in layer tests, because this is asserted by Tile.Image tests (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12249 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-15 16:30:43 +00:00
bartvde
c587865bb1
deleting a vertex does not set feature.modified, this is a regression since in OL 2.10 a WFS transaction would include all fields, but 2.11 is smarter in the sense that it filters out fields that have not changed in the Transaction XML, which in this case, i.e. deleting a vertex, results in no geometry in the WFS transaction, r=tschaub (pullup #3463 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12248 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-15 16:26:34 +00:00
ahocevar
652f2729cd
a bit more code, but this finally fixed the loading image placeholder issue in FF (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12247 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-14 15:56:33 +00:00
ahocevar
fdd5e8cb06
reverting again - this time I broke things in Opera (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12246 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-14 15:12:59 +00:00
ahocevar
eabde4f74f
Fixing the issue with loading image placeholders in FF >= 4 that was discussed during the review. I take erilem's final comment as permission to commit this without an additional review (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12245 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-14 14:33:00 +00:00
ahocevar
fd8003464e
reverting r12243, because it breaks the loadend event (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12244 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-13 09:17:24 +00:00
ahocevar
0daaa12059
using blank image to avoid the "Loading Image" frames on Firefox that were discussed during the review (see #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12243 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-13 08:15:36 +00:00
ahocevar
23c9092201
Tile.Image improvements and partial rewrite. Thanks erilem for the excellent collaboration during the review phase. p=me,erilem r=erilem ( closes #3419 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12241 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-13 00:59:01 +00:00
ahocevar
a8d3d6a5b4
opacity fixes required after reverting r12185. r=mosesonline ( closes #3441 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-12 21:17:22 +00:00
Éric Lemoine
fe5b8a7a78
a grid layer may be moved while its grid hasn't been initialized yet, r=ahocevar (references #3458 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12236 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-11 13:21:04 +00:00
Éric Lemoine
8647445636
Grid.html tests may fail because http://octo.metacarta.com/cgi-bin/mapserv does not respond, test only change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12235 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-11 11:51:57 +00:00
ahocevar
94c1c7906c
reverting r12228 and r12185 ( closes #3431 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12231 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-10 08:35:27 +00:00
ahocevar
cc5818d4c7
reverting r12185 ( closes #3431 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12230 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-10 08:29:31 +00:00
ahocevar
fecc4d81b0
reverting r12228
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12229 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-10 08:28:47 +00:00
ahocevar
b0e2a0cc56
IE8 specific fix for opacity. r=erilem ( closes #3431 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12228 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-10 08:04:53 +00:00
ahocevar
92546caa9e
making 1 the default for layer opacity. p=mosesonline,me r=me ( closes #3441 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12227 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-09 17:33:37 +00:00