ahocevar
096fb7398b
Merge pull request #98 from towa48/master
...
Avoid duplicate feature title nodes. r=me
2011-12-08 12:18:40 -08:00
ahocevar
61f076aa5d
Updating the gutter example to use a working WMS.
2011-12-08 00:27:45 +01: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
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
ahocevar
beb322fbab
Use buffer of 4instead of tileLoadingDelay of 0, to make panning smoother on iOS.
2011-12-06 15:30:52 +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
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
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
ahocevar
1db5ac3cbe
Merge pull request #75 from ahocevar/filter-tostring
...
toString implementation for Filter. r=@fredj
2011-11-28 07:00:47 -08: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
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
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
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
ahocevar
0b39d32031
Don't let wrapDateLine maps be wider than one world width.
2011-11-14 17:49:41 +01: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
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
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
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
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
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
ahocevar
6dc36e90ac
Declaring inRange variable. No functional change.
2011-10-25 18:52:00 +02:00
ahocevar
eeb5af192c
Fixing the example for Android 2.x
2011-10-25 08:54:07 +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
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
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
ahocevar
91cd42bfe6
Removing unused image load error handling code. r=fredj ( closes #3420 )
2011-10-05 14:51:22 -04: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
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
ahocevar
d4fb441da8
removing unneeded code
2011-09-30 14:57:46 -06:00
ahocevar
449042d567
making renderer configurable
2011-09-30 11:29:35 -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
ahocevar
db4cbac247
Merge branch 'master' into 3526
...
Conflicts:
lib/OpenLayers/Tile.js
2011-09-29 17:51:35 -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
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
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
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
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
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
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
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