follower
239f542783
Rename 'doubleClick' to 'ignoreEvent' now the method is being used to stop events in more than one situation.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@599 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:19:07 +00:00
crschmidt
4b9445115b
Complete revert.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@598 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:12:20 +00:00
crschmidt
4ef444e821
Yeah, this didn't work out so well. This is neccesary code, but it doesn't work, and I can't figure out why. Moving out -- will work on this in a sandbox.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@597 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:07:45 +00:00
crschmidt
5cd7142e67
Remove left/right conditional aspects, since this is breaking somehow.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@596 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:06:16 +00:00
crschmidt
cd8fe2cc81
Remove console.log statement
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@595 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:03:43 +00:00
crschmidt
082133730e
Fix conditional.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@594 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:02:27 +00:00
crschmidt
747573cfad
When moving by long distances (whole screenfuls) via API setCenter calls, reinitialize the grid. This solves an 'infinite loop' like problem where if you jumped by a long way, where addColumn/addRow were simply looping for so long that the browser went unresponsive/broken. Fixes issue reported by NickH on users list as well.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@593 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 16:37:15 +00:00
euzuro
e55d2a7cce
adding ability to add a layer to the viewport instead of the layerContainerDiv - this is especially for the virtual earth implementation, as we want to simply make a div that stays put. we dont want it sliding around with the layerdiv. it should stay where it is and let its own events handler move it around
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 12:10:38 +00:00
euzuro
9ca4ca2cee
Adding implementation of Microsoft Virtual Earth layer.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@587 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 12:09:21 +00:00
euzuro
2d2904c6ae
adding comment for dealing with popups and layers
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@577 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 16:09:02 +00:00
euzuro
fc366b73fe
recommitting r574 - the bug was in the OpenLayers.Feature destroy() function, which was not checking to ensure a valid map setting.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 16:00:00 +00:00
euzuro
e3695d2223
rollback r574. though it was a valid patch, it is causing something else to break. Better to keep code functional. Will re-commit this patch when the error has been located.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@575 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:17:57 +00:00
euzuro
ba77d478b3
add destroy method which calls destroy() on both superclasses.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@574 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:06:12 +00:00
crschmidt
66f5e034da
Never zoom more than the max. It just stays where it is.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@573 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 12:16:43 +00:00
crschmidt
b30a4c4f3e
Return false from DoubleClick and Click events in controls so that these events don't filter through and hit the onclick handlers that we might register on the map.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@572 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 02:03:53 +00:00
Schuyler Erle
2f9c7dfbd3
Fixed MouseDefaults so that click doesn't fire immediately after drag. This needs to be tested in IE.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@571 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 00:32:48 +00:00
Schuyler Erle
55937eeb1f
Refactored event handling to allow unregistration of event listeners.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@570 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 00:16:02 +00:00
crschmidt
20e77d1f3b
zIndex setting wasn't doing anything for us other than making it so that there was a CSS error, since this.div has no zIndex, apparently.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@568 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-11 23:23:56 +00:00
crschmidt
0c47f802eb
Commit phil's change to AnchoredPopup, which improves handling in FF on OS X, and hopefully will for IE as well.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@566 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-09 17:53:24 +00:00
crschmidt
495b9f0134
Remove 'inherit' cursor, which does not work as expeted in IE.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@560 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-09 00:59:39 +00:00
crschmidt
b0c86248e1
Change order of params: passed params should override existing params.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@559 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 17:11:36 +00:00
crschmidt
7d0b489e42
Commit changes to include a 'minor' flag on setCenter, that indicates that a map should not call the moveend trigger.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@558 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 16:13:42 +00:00
crschmidt
84a7d8583c
Change it such that the Control location and direction can be selected.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@556 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 03:46:33 +00:00
crschmidt
9ebfa46552
Add support for distance measuring. Do more catching errors and the like. Move icons to be vertical, below panzoombar -- this is not yet configurable, but needs to be.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@555 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 03:38:02 +00:00
crschmidt
bacb0a917c
Add vincenty great circle formula.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@554 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 03:37:20 +00:00
crschmidt
5b8c48d8ed
r3113@creusa: crschmidt | 2006-06-07 12:19:31 -0400
...
Changes to MouseToolbar: images are correct, fixes to various small mouse issues when combining clicked icons with modifier keys.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@552 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 19:09:39 +00:00
euzuro
0853af657b
doesnt look like we're going to add a logger any time soon. might as well get rid of these old logger references.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@550 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 19:03:04 +00:00
euzuro
cf011820c8
when we remove popups or layers from the map, we have to set their 'map' properties back to null
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@545 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:22:35 +00:00
euzuro
6628d38dc5
on destroy(), go through and destroy() all of the features we have created.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@544 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:12:27 +00:00
euzuro
558c908f3c
coding standards
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:11:29 +00:00
euzuro
78964cf417
keep an array of the features we have created. this will allow us to later destroy() them when the time comes.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:10:32 +00:00
euzuro
e06b157090
when we destroy a markers layer, remove all of its tiles. do not, however, destroy them... because they were not created here.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@541 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:08:15 +00:00
euzuro
85b14a3c93
when we destroy a grid layer, destroy all of its tiles
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@540 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:07:26 +00:00
euzuro
7e6b3b2a34
if the layer has a map property, remove it from the map before destroying.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@539 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:00:44 +00:00
euzuro
3b443ca2c9
if we destroy a popup, have it remove itself from the map. good programming says that a popup should be removed by the same person who added it... but if the user destroys a popup, s/he assumes it will dissapear, and unless we remove it, it wont do that.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 15:37:51 +00:00
euzuro
eba9f241a0
set LayerSwitcher to listen for removed layers
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@537 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 14:54:22 +00:00
euzuro
0db22c7d88
added removeLayer() function to our map.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@536 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 14:54:02 +00:00
euzuro
8b7a22bc1f
dont reinvent the wheel. use Util.js's array enhancer remove() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@535 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 14:50:17 +00:00
euzuro
c2832cf83a
dont worry about checking for the corners of the marker. just check the lonlat. that is good enough
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@534 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 13:02:14 +00:00
euzuro
7cc874d26b
set the map variable when we add a marker to the markers layer
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@533 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 13:01:36 +00:00
euzuro
9e5059a93c
add first draft of onScreen() function to marker
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@532 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-06 17:07:51 +00:00
euzuro
450f7b0460
add a static function to make a Bounds from a Size. test included.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@531 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-06 16:52:45 +00:00
euzuro
07b621b85c
coding standards.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@530 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-06 16:26:33 +00:00
euzuro
e53e339c09
make setting the map a function call. this way we can intercept and tag on event handlers.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@528 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-06 15:50:15 +00:00
euzuro
bad9a0307e
on destroy() of a WFS feature, remove its marker
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@527 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 19:01:10 +00:00
euzuro
82d4a1327c
when we destroy a feature, remove its popup from the map through the removePopup() function
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@526 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 19:00:03 +00:00
euzuro
99bfb9a37d
do not let the popup remove itself from parent div. that would be poor form.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@525 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 18:56:45 +00:00
Schuyler Erle
53f13ab054
Renamed _sfl_header.js to something a bit more comprehensible.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@524 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 18:27:26 +00:00
euzuro
b73c7bbaed
give Icon a destroy(). this fixes issue introduced in r520
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@523 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 18:14:30 +00:00
euzuro
95d2d2275a
call Tile's destroy() after cleaning up our own business
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@522 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 17:09:41 +00:00