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