ahocevar
18b4d6808d
Adding missing dependency. Non-functional change.
2012-05-09 11:03:57 +02:00
ahocevar
f4a77cad06
Merge pull request #432 from ahocevar/iframe-opacity
...
Long URLs messing up Opacity. r=@elemoine,@lewinmadrid
2012-04-24 12:32:48 -07:00
ahocevar
fc0b15ad45
Overriding onImageLoad to set the opacity on the correct element.
2012-04-24 08:08:41 -04:00
ahocevar
179433da2f
For IFrame tiles, we need to set opacity on the IFrame's parent.
2012-04-23 18:46:28 -04:00
ahocevar
a57c56ed96
Revert "Merge pull request #432 from ahocevar/iframe-opacity"
...
This reverts commit af046b9af8 , reversing
changes made to f36fd5f0d1 . The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
ahocevar
af046b9af8
Merge pull request #432 from ahocevar/iframe-opacity
...
Long URLs messing up Opacity. r=@elemoine
2012-04-23 14:14:08 -07:00
ahocevar
11cc960be5
Setting opacity on the IFrame's parent, like we used to do in 2.11.
2012-04-23 10:36:51 -04:00
ahocevar
07114fc894
Setting opacity on the last child.
...
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -04:00
ahocevar
bd4c092943
Merge pull request #419 from ahocevar/bing-attribution
...
Incorrect Bing attribution when custom maxResolution is set. r=@elemoine
2012-04-20 06:11:31 -07:00
ahocevar
9ab6d08fb0
Calculate zoom level from serverResolutions.
...
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
ahocevar
a73d9e3804
Merge pull request #407 from ahocevar/alwaysInRange
...
alwaysInRange not updated when using addOptions. r=@elemoine,@bartvde
2012-04-19 09:00:26 -07:00
ahocevar
70161c5628
Merge pull request #421 from ahocevar/bing-overlay
...
Make sure tiles are loaded for Bing overlays. r=@bartvde
2012-04-19 07:03:56 -07:00
ahocevar
551f509b49
Make sure tiles are loaded for Bing overlays.
...
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
ahocevar
363f837acb
Using resolution instead of zoom level for initial center (see #418 ).
2012-04-19 13:29:56 +02:00
ahocevar
ef33f01504
Respect alwaysInRange from prototype, but allow changes in addOptions.
2012-04-19 12:02:18 +02:00
ahocevar
b683c9bae1
No csstidy, because it changes the css and breaks the zoom buttons.
2012-04-14 18:35:51 +02:00
ahocevar
96e5241507
Vector layer should not be a base layer any more.
2012-04-03 17:16:20 +02:00
ahocevar
fef8b98f32
Merge branch 'master' of github.com:openlayers/openlayers
2012-04-03 17:16:06 +02:00
ahocevar
530952551f
Merge pull request #382 from ahocevar/wps
...
WPS example and improvements. r=@marcjansen,@bartvde
2012-04-03 06:30:15 -07:00
ahocevar
f21678f55b
Addressing review comments from @bartvde and @marcjansen.
2012-04-03 15:28:44 +02:00
ahocevar
3385c2b5b1
Code cleanup.
2012-04-02 16:42:33 +02:00
ahocevar
6ce9a36715
Use demo.opengeo.org
2012-04-02 16:42:14 +02:00
ahocevar
46ba55d886
Allow for SLD input.
2012-03-30 19:57:54 -07:00
ahocevar
e4247472f9
Adding a margin for nicer display of the docs.
2012-03-30 19:57:20 -07:00
ahocevar
8bc307b5a1
Allowing copies of literal text fields.
2012-03-30 18:45:52 -07:00
ahocevar
c3fe359fa6
WPS example; support for BoundingBox in WPS format
2012-03-30 18:02:24 -07: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
ahocevar
48a2d023f5
Merge branch '2.12' of github.com:openlayers/openlayers
2012-03-27 12:47:46 -07:00
ahocevar
f84a2d0bc9
Merge branch '2.12'
2012-03-21 23:35:51 +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
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
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
ahocevar
ed45ab66e3
Merge pull request #331 from ahocevar/331
...
gutter and maxGetUrlLength broken. r=@elemoine
2012-03-19 03:23:44 -07:00
ahocevar
f32bfa2240
Making backbuffer work again for tiles with frame.
2012-03-19 10:10:40 +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
ahocevar
85b836de23
Merge pull request #322 from ahocevar/322
...
WMS loadend event does not always fire
2012-03-16 00:48:29 -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
ahocevar
ef3155d6e6
Fixing test.
2012-03-14 18:27:35 +01:00
ahocevar
81b67db101
Patch from http://trac.osgeo.org/openlayers/ticket/3307 .
...
Uses a remote GeoServer now, which is added to the allowed hosts for proxy.cgi.
2012-03-14 17:12:06 +01:00
ahocevar
e1fba99c73
Monkey-patching Layer.Vector with deprecated Renderer.NG logic
2012-03-14 10:49:05 +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
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
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
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
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
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
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
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
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
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
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
ahocevar
81e7913075
Fixing crossorigin attribute handling.
2012-03-06 23:21:25 +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
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
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
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
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
ahocevar
1072511be7
Fixing tests - popup only needed in Firefox.
...
See #249 .
2012-03-04 22:45:38 +01:00
ahocevar
ffac63045e
Removing duplicate setCanvasStyle method.
...
Thanks @jorix for catching this (see #238 ).
2012-03-04 19:56:41 +01: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
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
ahocevar
39962a6179
Using v3.6 of the GMaps v3 API everywhere.
2012-03-02 11:02:22 +01: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
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
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
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
ahocevar
2e6fe7d330
Notes about wrapDateLine.
2012-02-28 15:07:03 +01:00
ahocevar
94e8fff9e6
Fixing test (see #249 )
2012-02-28 12:05:13 +01:00
ahocevar
7c72b6dd95
Merge pull request #240 from ajkopinga.
2012-02-28 10:49:54 +01:00
ahocevar
4ee28dc63e
Simplifying logic that returns undefined when root is invisible.
2012-02-28 10:45:18 +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
ahocevar
c2b8f9cdb5
Merge pull request #64 from tmcw/no-camel
...
Removing camelize method.
2012-02-28 00:05:58 -08: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
ahocevar
a2d658f75a
Merge pull request #245 from probins/mapdefaults
...
Map: check default controls are in build
2012-02-25 10:12:20 -08: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
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
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
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