Commit Graph

5598 Commits

Author SHA1 Message Date
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