Tim Schaub
d32ab41292
Correcting misinformation
2013-02-14 14:25:01 -07:00
Marc Jansen
4d7eaf4939
Merge pull request #866 from marcjansen/866
...
LayerSwitcher generate bad ID when layername has spaces in it. (r=@ahocevar)
2013-02-14 07:01:32 -08:00
ahocevar
4b163e0482
Merge pull request #800 from ahocevar/transform
...
Use GPU where available; animated zooming. r=@elemoine
2013-02-14 01:15:18 -08:00
ahocevar
18b0c5fc7d
Merge pull request #812 from ahocevar/mousewheel
...
Better mousewheel/touchpad behavior for zooming. r=@elemoine
2013-02-14 01:13:56 -08:00
ahocevar
d0249643b3
Incorporating @elemoine's review comments
2013-02-14 10:11:48 +01:00
Marc Jansen
73c5dbd8dc
Only valid characters in generated ids.
2013-02-14 07:14:13 +01:00
ahocevar
f46ed44131
Merge pull request #857 from faegi/featureClickPatch
...
Clear cached mousedown/up positions used for distinguishing between (fix #856 ).
2013-02-12 01:46:30 -08:00
ahocevar
982302ff03
Merge pull request #877 from finn-no/panzoombar-fix
...
Fix click on PanZoomBar when page is scrolled (fix #798 ).
2013-02-11 23:58:41 -08:00
Gregers Gram Rygg
97c793281f
Subtract page scroll from button position, since clientX/Y is relative to the viewport not page
2013-02-11 16:32:38 +01:00
Bart van den Eijnden
09d1b9e8ca
the tileQueue is not always cleared, for instance when adding a layer in GeoExplorer and then switching base layers, so make sure we also clear the tileQueue when the visibility of a layer changes
2013-02-08 14:02:20 +01:00
ahocevar
7936f0345f
Tile images should not have an id
...
When the TileManager adds an image to its cache, it might be a backbuffer
image. Backbuffer images have an id with a '_bb' postfix. Regular images
do not have an id at all. In OpenLayers.Layer.Grid, in
addTileMonitoringHooks, a loadend listener is created for each tile. This
listener checks for tie image id, and will remove it from its parent node.
This will cause images to be removed from the layerDiv if the image comes
from the TileManager's tileCache and was on a backbuffer by the time it was
added to the cache.
Simply removing the image's id before assigning it to a tile resolves the
issue.
2013-02-07 16:44:16 +01:00
Marc Jansen
661df3593d
Merge pull request #873 from marcjansen/dangling-license-space
...
Remove dangling space in license header.
2013-02-07 06:44:49 -08:00
Marc Jansen
2a5e113126
Merge pull request #872 from marcjansen/wmsgfi-api
...
WMSGetFeatureInfo API enhancements
2013-02-07 02:16:39 -08:00
Marc Jansen
d417ba7c25
Adjust license header of WPSProcess.js.
2013-02-07 11:13:08 +01:00
Marc Jansen
716d85594c
Adjust license header of WPSClient.js.
2013-02-07 11:13:01 +01:00
Marc Jansen
6c5ffb6930
Adjust license header of Animation.js.
2013-02-07 11:08:30 +01:00
Marc Jansen
0dc531794d
Adjust license header of vendorPrefix.js.
2013-02-07 11:05:37 +01:00
Marc Jansen
5bfc4db4fb
Give ArcGISCache layer a license header.
2013-02-07 11:05:37 +01:00
Marc Jansen
39a5aed5a6
Remove trailing whitespace.
2013-02-07 10:42:18 +01:00
Marc Jansen
a34e627b75
Remove dangling space in license header.
2013-02-07 10:33:20 +01:00
Marc Jansen
c5dbaf7cab
Remove end-of-line whitespace.
...
The license header is left untouched, to keep it the same in all files.
A seperate commit will probably deal with this
2013-02-07 10:23:16 +01:00
Marc Jansen
70ea8f6588
Readd dangling space in header.
...
This allows for easier search and replace operations. The space will
eventually be removed in all files in a seperate commit.
2013-02-07 10:17:06 +01:00
Marc Jansen
a8d7d246e5
Reformat documentation to match surrounding doc.
2013-02-07 10:12:14 +01:00
Marc Jansen
14a3afb6cf
Promote several properties to public API.
...
The properties
* layers
* queryVisible
* url
* layerUrls
* infoFormat
* vendorParams
* format
* formatOptions
should all be visible in the public API since they are essentially very
convenient to use when customizing the control.
2013-02-07 10:06:19 +01:00
Marc Jansen
9f7a0ed448
Remove end-of-line whitespace.
2013-02-07 09:52:26 +01:00
Marc Jansen
cbc705bdf7
Adjust method documentation.
2013-02-07 09:52:26 +01:00
Marc Jansen
23355abb42
Make 'geodesic' & 'displaySystem' API properties.
...
The geodesic-property is used inside of our examples, yet isn't officially
part of the public API.
The displaySystem-property provides a very useful way of configuring the
output of the measurements and should be promoted as well.
2013-02-07 09:52:12 +01:00
ahocevar
378a0e97b5
Uncache images that are no longer valid
...
When a layer sets a cached image's className to something else than
.olTileImage (e.g. by setting .olTileReplacing), we should not keep the
image in the cache any more, because it may no longer be valid.
2013-02-01 00:58:40 +01:00
Éric Lemoine
c7a4045e88
Make click handler propagate touchend
...
This commit is a follow-up on issue #294 and commit a6119f6 . Our handlers should not prevent the bubbling up of browser events. This, for example, prevents Sencha Touch's longpress events from working properly.
2013-01-30 15:25:34 +01:00
ejn
dea7438850
Clear cached mousedown/up positions used for distinguishing between
...
drag and click in feature handler after a click event.
Fixes #856
2013-01-28 10:14:51 +01:00
Matt Priour
17930432c7
Don't hex encode zoom level in AGSCache layer
2013-01-22 10:06:28 -06:00
Christopher Eykamp
da62be0137
Fix irregular character that Ruby/Rails objects to
2013-01-22 15:44:19 +01:00
ahocevar
c742c14a52
Safeguard against listeners that recreate the grid
...
We need to handle the backbuffer before we fire the loadend event.
Otherwise listeners that call e.g. mergeNewParams() will cause the
backbuffer removal code to fail, because tile.imgDiv (and hence
this._transitionElement) will be null.
2013-01-17 16:24:15 +01:00
Bart van den Eijnden
d7f013ddbd
when cloning a layer that is loading, make sure numLoadingTiles is reset to 0 on the clone
2013-01-16 16:26:51 +01:00
ahocevar
e23c18a09c
Process queue immediately when params change
...
This fixes an issue where the queue would never be processed when a layer
is updated using mergeNewParams.
2013-01-16 12:09:37 +01:00
ahocevar
2cd14dfbfd
No .olTileReplacing class for singleTile layers
...
This fixes a regression for singleTile layers with transitionEffect set to
'resize', where the .olTileReplacing class was not removed from the tile.
2013-01-15 13:08:48 +01:00
Tim Schaub
e6c264286a
Merge pull request #832 from perrygeo/2.12-perrygeo
...
guard against null tileInfo
2013-01-11 09:42:24 -08:00
Björn Harrtell
aa6c5b8a35
Default fallThrough to false
...
Default behaviour in OpenLayers 2.12 is to swallow events, even though the documentation says otherwise.
2013-01-10 21:30:09 +01:00
Matthew Perry
b54faf222c
guard against null tileInfo
2013-01-10 10:45:02 -08:00
ahocevar
9b7e35d1dd
Merge branch 'master' of github.com:openlayers/openlayers into transform
...
Conflicts:
theme/default/style.css
2013-01-09 14:31:52 +01:00
Bart van den Eijnden
443c715f51
Merge pull request #626 from mpriour/zeropad
...
Consolidate numeric zero padding functions (r=@bartvde)
2013-01-09 00:26:17 -08:00
ahocevar
6ce72e9185
Adding TileManager to mobile build profile, and note in Map.js
...
As suggested by @probins; see #702 .
2013-01-08 14:26:18 +01:00
Tim Schaub
bbc73a21d8
Update copyright date
2013-01-07 22:01:16 -05:00
ahocevar
c8564838bc
When the resolution does not change, remove backbuffer tile by tile
...
This change introduces a new 'replace' mode for tile transitions: when the
resolution does not change, which happens when mergeNewParams is called,
the tile will be marked with the .olTileReplace class. If this class sets
the tile's imgDiv display to 'none', the backbuffer for the tile will
immediately be removed when the tile is loaded.
2013-01-07 15:42:34 +01:00
ahocevar
18d548f979
Merge pull request #702 from ahocevar/smart-queue
...
New tile image cache and tile queue improvements. r=@bartvde,@elemoine
2013-01-07 06:38:07 -08:00
ahocevar
4a3651b7da
Release notes and additional in-line comment
...
As suggested by @bartvde.
2013-01-07 15:30:05 +01:00
ahocevar
80f13188a3
Addressing @bartvde's review comments
2013-01-07 14:26:41 +01:00
Bart van den Eijnden
9adbf431ca
clear the grid when we change from singleTile mode true to false or vice versa, discussed change with @ahocevar see #821 for the details
2013-01-07 13:25:15 +01:00
ahocevar
1eeda5d9f7
Merge pull request #823 from probins/maxextent
...
Overview map should use map.getMaxExtent
2013-01-07 00:56:05 -08:00
ahocevar
94020f0fb1
Merge pull request #822 from probins/mapmax
...
Map: correct docs for maxExtent
2013-01-07 00:55:22 -08:00