euzuro
|
1cca9fcde7
|
one last small optimisation / readability fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@645 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 13:05:50 +00:00 |
|
euzuro
|
3323a0e2a8
|
small code reorganization and bringing up to date with JSDOC and coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@644 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 13:03:00 +00:00 |
|
euzuro
|
e9bc79203b
|
correct comment/JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@643 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 12:48:44 +00:00 |
|
euzuro
|
823d2ddedd
|
add comment regarding current handling of base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@642 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 11:51:59 +00:00 |
|
euzuro
|
76156b7317
|
give Map the concept of a base layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@641 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 11:48:27 +00:00 |
|
Schuyler Erle
|
b6f7222282
|
Bug fix to map.updateSize for IE when size is a percentage. Calls Element.getDimensions from Prototype.js, which hopefully is the right thing to do. Fixes ticket #37.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@638 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-21 02:35:04 +00:00 |
|
euzuro
|
91a566ca61
|
the last of the screen -> viewPort changes
git-svn-id: http://svn.openlayers.org/trunk/openlayers@634 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 23:23:31 +00:00 |
|
euzuro
|
9a74fc1f7e
|
update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@633 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 23:08:10 +00:00 |
|
euzuro
|
33e84b6ff0
|
more screen->viewPort
git-svn-id: http://svn.openlayers.org/trunk/openlayers@632 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 23:07:30 +00:00 |
|
euzuro
|
adf91b1d10
|
again, change function name from ScreenPx to ViewPortPx
git-svn-id: http://svn.openlayers.org/trunk/openlayers@631 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 22:57:18 +00:00 |
|
euzuro
|
ed3c2a6f0b
|
change function name from ScreenPx to ViewPortPx
git-svn-id: http://svn.openlayers.org/trunk/openlayers@630 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 22:51:55 +00:00 |
|
euzuro
|
7ebaf2a630
|
wms is not a base layer if it is transparent
git-svn-id: http://svn.openlayers.org/trunk/openlayers@629 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 22:31:44 +00:00 |
|
euzuro
|
8ef2cc58d5
|
these layers are never base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@628 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 22:16:38 +00:00 |
|
euzuro
|
bf9628ea39
|
set G-Y-M layers' isBaseLayer() to true
git-svn-id: http://svn.openlayers.org/trunk/openlayers@623 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 17:58:11 +00:00 |
|
euzuro
|
b2ca284f9b
|
add isBaseLayer() function to Layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@622 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 17:53:30 +00:00 |
|
euzuro
|
4c6b232bd2
|
coding standards / JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@621 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 17:47:26 +00:00 |
|
Schuyler Erle
|
351ebb0d52
|
Fix minor typo introduced in r619. Thanx, euzuro\!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@620 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-20 14:57:29 +00:00 |
|
Schuyler Erle
|
9e8c2f3802
|
Augment r618 by allowing the more prosaic and self-documenting { maxResolution: 'auto' }.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@619 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-19 21:09:31 +00:00 |
|
crschmidt
|
00d14534d2
|
Set a default maxResolution. Theres' a couple reasons for this: caching of tile requests, aligning OpenLayers with Google Maps zoom levels, and saving an initial calculation that most people won't need. For the old behavior, add:
{maxResolution:null}
to your OpenLayers.Map() call.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@618 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-19 18:29:42 +00:00 |
|
crschmidt
|
35dc7ba8f0
|
In XHTML Transitional, using unitless values in Javascript to set width, height, etc. doesn't work. This change should make it so that openlayers works under XHTML 1.0 transitional in firefox and safari.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@617 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-19 17:19:36 +00:00 |
|
euzuro
|
e582436f55
|
catch autodrag as well (this is for double-clicks)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@616 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 15:47:27 +00:00 |
|
euzuro
|
6392e9877c
|
finishing touches of first draft of yahoo layer. adding correct script tag, fixing zoom levels business, etc.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@615 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 15:41:42 +00:00 |
|
euzuro
|
bf60b9d01d
|
first round test code for yahoo layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 15:11:36 +00:00 |
|
euzuro
|
c73291770c
|
cosmetic change. relic variable name from ve layer implementation
git-svn-id: http://svn.openlayers.org/trunk/openlayers@612 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 14:59:20 +00:00 |
|
euzuro
|
0978988638
|
first shot at getting gmaps working in openlayers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@609 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 14:41:00 +00:00 |
|
euzuro
|
86b99df3f3
|
modify all equals() functions in Util.js (Size, Pixel, LonLat, Bounds) such that if a null value is passed in, they return false. Tests updated to make sure this is true.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@608 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 14:12:56 +00:00 |
|
euzuro
|
1df168849e
|
make sure vemap is loaded before trying to move it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@606 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-17 12:06:06 +00:00 |
|
euzuro
|
836b47c192
|
fix for #77. alpha png transparency. and tests. yay.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@605 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-15 19:02:21 +00:00 |
|
follower
|
e023b4c075
|
Fix #57. Add event handlers to the spans created by adding corners to the layer switcher tabs. (Somewhat hacky.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@603 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-15 17:35:21 +00:00 |
|
euzuro
|
ea732d4535
|
add requere statement for singlefile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@602 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-15 17:29:39 +00:00 |
|
follower
|
084a3e6989
|
Extract the event handler setting functionality into its own method in preparation for our fix for #57.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@600 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-15 17:26:39 +00:00 |
|
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 |
|