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
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
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
ahocevar
5f367cb8d9
Merge branch 'master' into 3526
2011-09-29 18:06:14 -06: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
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
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
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
Bart van den Eijnden
6936acd7c7
ArgParser does not deal well with fractionalZoom, r=fredj ( closes #3515 )
2011-09-23 15:36:18 +02:00
Bart van den Eijnden
a46489db1a
DragFeature control should trigger afterfeaturemodified, r=crschmidt ( closes #3277 )
2011-09-23 14:47:07 +02:00
Bart van den Eijnden
807b0eabaa
cannot draw a label with value 0, r=fredj ( closes #3258 )
2011-09-23 14:44:23 +02:00
Marc Jansen
8bcbb069b5
Remove global variable 'headerKey', no functional change.
2011-09-22 04:52:35 +02:00
Marc Jansen
6b30856a07
Give our requests the popular but non-standard X-Requested-With
...
header (r=crschmidt, closes #3491 ).
2011-09-22 02:57:39 +02:00
Christopher Schmidt
4153162ca7
Merge branch 'master' of github.com:openlayers/openlayers
2011-09-19 21:32:51 -04:00
Christopher Schmidt
9fc1cfc30f
Document why this hack is only applied in a limited set of situations;
...
(Closes #3478 )
2011-09-19 21:32:22 -04:00
Bart van den Eijnden
720184e9cd
add missing requires, non-functional change
2011-09-19 17:41:24 +02:00
Frédéric Junod
9264d57a3c
remove unneeded destroy and initialize function. r=erilem ( closes #3341 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:20:40 +00:00
Frédéric Junod
501b42228a
remove event type list from Events (lazy listener initialization) p=tschaub,me r=erilem ( closes #2555 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 19:09:40 +00:00
Frédéric Junod
67a5743d91
remove unneeded requires from OpenLayers/Protocol/HTTP.js r=erilem ( closes #3469 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12383 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 18:41:53 +00:00
pgiraud
f50d1c85d8
Adding support for write in the GPX format, r=marcjansen, ( Closes #3495 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-15 12:27:56 +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
Marc Jansen
a8e99486b8
Revert my accidental commit [12335].
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 19:26:02 +00:00
Marc Jansen
6006a12720
- switch to 900913
...
- add google
- add osm
- fix numerous smaller bugs
- smaller refactorings
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-07 14:57:05 +00:00
crschmidt
735c5e2402
"Google base layer not showing when switching base layers" -- patch by
...
bartvde, r=me, (Pullup #3475 )
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12318 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-03 15:32:23 +00:00
Tim Schaub
663392b10e
Despite our best efforts to comply, we have been told that this layer violates the Google Maps Terms of Service. Without rendering their full map interface, they have no way of controlling the user experience, dropping in ads, and the like. ( closes #3481 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12317 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-01 19:07:37 +00:00
Bruno Binet
b339043a41
remove trailing space in @requires dependencies (no functionnal changes)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12291 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-31 07:31:05 +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
Frédéric Junod
228fab098d
fix jsdoc tag, makes Closure Compiler happy. no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-25 08:30:11 +00:00
Frédéric Junod
497f7c9105
fixing error in comments. Non-functional change (see #3163 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12272 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-08-24 14:23:59 +00:00