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
|
81f4224bfb
|
trying new magnification icons
git-svn-id: http://svn.openlayers.org/trunk/openlayers@578 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-13 02:16:48 +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 |
|
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
|
b5e525e118
|
more demo work
git-svn-id: http://svn.openlayers.org/trunk/openlayers@549 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-07 18:59:34 +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 |
|
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 |
|
euzuro
|
97185540fa
|
not sure if this is necessary or not, but just in case
git-svn-id: http://svn.openlayers.org/trunk/openlayers@521 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 17:08:29 +00:00 |
|
euzuro
|
9445defb69
|
destroy icon on destroy
git-svn-id: http://svn.openlayers.org/trunk/openlayers@520 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:58:09 +00:00 |
|
euzuro
|
d4253603fb
|
add a removeMarker() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@519 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:57:06 +00:00 |
|
euzuro
|
28ae47184c
|
adding test for removeMarker()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@518 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:42:59 +00:00 |
|
euzuro
|
d965444bea
|
add a default addTile() class to grid. this is only a placeholder, as it is to be implemented by subclasses.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@517 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:21:50 +00:00 |
|
euzuro
|
182a74d6bf
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@516 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:20:59 +00:00 |
|
euzuro
|
c90a9e9f2b
|
move the draw() call out of the addTile() function and into the grid code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@515 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 16:19:47 +00:00 |
|
euzuro
|
6d40072b4f
|
just to be absolutely sure...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@514 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 15:57:38 +00:00 |
|
euzuro
|
7999a4fc06
|
draw function is not defined in the standard Tile class. it is meant to be implemented by subclasses. no reason to call it.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@513 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 15:47:35 +00:00 |
|
euzuro
|
c7ea21480d
|
fix tests to comply with new tile-appends-itself paradigm
git-svn-id: http://svn.openlayers.org/trunk/openlayers@512 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 15:36:59 +00:00 |
|
euzuro
|
a4d0badaeb
|
Fix for bug introduced with r510. Only make the removeChild call if the parentNode is properly set. This way we can zap the grid div contents quickly with the div.innerHTML = "" but still have a valid good destroy() function.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@511 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 15:33:05 +00:00 |
|
euzuro
|
0a1385b22d
|
have the Tile add itself to it's layer's div. give it a destroy() function that removes itself
git-svn-id: http://svn.openlayers.org/trunk/openlayers@510 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-05 14:34:48 +00:00 |
|
euzuro
|
a844ba9e80
|
update the destroy() for the stock OpenLayers.Feature
git-svn-id: http://svn.openlayers.org/trunk/openlayers@502 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-02 16:37:55 +00:00 |
|
euzuro
|
bf98cb620d
|
give OpenLayers.Marker a destroy()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@501 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-02 16:37:20 +00:00 |
|
euzuro
|
1c9fc7ae36
|
we dont use handlers any more since r487
git-svn-id: http://svn.openlayers.org/trunk/openlayers@500 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-02 16:04:36 +00:00 |
|
euzuro
|
f85fb1674d
|
add destroy() which will iterate and destroy all the features
git-svn-id: http://svn.openlayers.org/trunk/openlayers@499 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-02 16:03:52 +00:00 |
|
euzuro
|
51371a1ecf
|
this is a suggested fix to #57, but it doesnt seem to work.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@498 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 16:57:19 +00:00 |
|
euzuro
|
e0aa067cb6
|
remove 'projection' member from Layer. keep single instance in map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@496 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 12:30:46 +00:00 |
|
euzuro
|
77c168462b
|
need to make WMS & WFS case-independent. I dont know why I chose to move them all to uppercase instead of lowercase, but I did. This required changing the test cases and the 'srs' property which is set in Grid. Personally, I dont think that is the best place to set it, but so be it jedi. As long as I have the mic, i'd add that having 'projection' stored in both map and layer objects seems a bit redundant as well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@493 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 11:54:31 +00:00 |
|
euzuro
|
aa4d877688
|
add definition/instantiation protection for if anyone ever wants to subclass off of WMS.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@492 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 11:14:29 +00:00 |
|
euzuro
|
c7aee7fd25
|
add OpenLayers.Util.upperCaseObject() function and test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@491 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 10:52:22 +00:00 |
|
euzuro
|
128825886e
|
move applyDefaults up to be next to (related) getParameterString()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@490 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 10:33:53 +00:00 |
|
euzuro
|
7eaf629abf
|
build based on r487
git-svn-id: http://svn.openlayers.org/trunk/openlayers@488 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 02:04:41 +00:00 |
|
euzuro
|
60eba3e782
|
change Ajax.js's loadURL() function to take directly function references instead of strings to be dereferenced through a 'handlers' variable. Update code in Tile.WFS... only place it is used.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@487 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 01:15:23 +00:00 |
|
euzuro
|
c5fc30cf97
|
adding OpenLayers.Bounds.fromArray() function and adaptor for fromString()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@486 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:33:15 +00:00 |
|
euzuro
|
e29e309ef1
|
adding test for OpenLayers.Bounds.fromArray()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@485 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:32:04 +00:00 |
|
euzuro
|
31f887a586
|
adding test for getSize() to OpenLayers.Bounds
git-svn-id: http://svn.openlayers.org/trunk/openlayers@484 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:14:02 +00:00 |
|
euzuro
|
dc2e71a1e4
|
merge two fromString tests into one
git-svn-id: http://svn.openlayers.org/trunk/openlayers@483 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:12:11 +00:00 |
|
euzuro
|
7ff1332819
|
minor change to calculation of center points for bounds. less overhead.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@482 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:10:06 +00:00 |
|
euzuro
|
0c698ad7e0
|
create tests for the OpenLayers.Bounds's getCenter functions
git-svn-id: http://svn.openlayers.org/trunk/openlayers@481 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-01 00:08:00 +00:00 |
|
euzuro
|
4a369cdf2a
|
oops. more tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@479 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 23:33:36 +00:00 |
|
euzuro
|
b7343507b7
|
oops. more tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@478 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 23:32:50 +00:00 |
|
euzuro
|
bb61e0b358
|
fixing tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@477 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 23:29:55 +00:00 |
|
euzuro
|
08b8a7af76
|
fixing tabs
git-svn-id: http://svn.openlayers.org/trunk/openlayers@476 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 23:28:38 +00:00 |
|
euzuro
|
42277961da
|
working version of singlefile.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@475 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 16:49:37 +00:00 |
|
euzuro
|
689cd5c5cb
|
adding a built single-file version of OpenLayers.js. This was generated by cr5chmidt, based on r473.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@474 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-31 15:01:44 +00:00 |
|
euzuro
|
77c4cc2a8d
|
protect for subclassing
git-svn-id: http://svn.openlayers.org/trunk/openlayers@471 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-30 17:54:11 +00:00 |
|
euzuro
|
6ebf79feec
|
comment no longer relevant
git-svn-id: http://svn.openlayers.org/trunk/openlayers@468 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-30 11:40:56 +00:00 |
|
euzuro
|
c99be320c8
|
add inflate() function on marker
git-svn-id: http://svn.openlayers.org/trunk/openlayers@466 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-30 10:09:51 +00:00 |
|
euzuro
|
efb3408859
|
update examples
git-svn-id: http://svn.openlayers.org/trunk/openlayers@463 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 20:06:25 +00:00 |
|
euzuro
|
40cb75ca27
|
only jolt layer if we are setting it to visible (and if it has its 'map' property set.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@462 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 19:54:55 +00:00 |
|
euzuro
|
85ccc6c638
|
the add() and offset() functions return new copies of the OpenLayers.Pixel Objects and do not affect the original. Personally, I think this is a horrible way of doing things, but this is how it has been. Maybe something to change for in the future.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@461 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 19:43:45 +00:00 |
|
euzuro
|
a78ee9f86c
|
use new offset() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 19:28:27 +00:00 |
|
euzuro
|
fd184a3903
|
little bitta JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@457 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 18:27:24 +00:00 |
|
euzuro
|
82839000d6
|
add 'selectedFeature' member to Layer.Text so that when the user clicks a second time on the same marker, the popup disappears.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@456 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 18:25:56 +00:00 |
|
euzuro
|
8a21a1dba4
|
only set popup content if values are defined
git-svn-id: http://svn.openlayers.org/trunk/openlayers@455 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 18:20:41 +00:00 |
|
euzuro
|
e2782f1ad5
|
Make a default icon sized 20x20. If anyone can think of a better default size, feel free to change this.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@454 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 18:19:17 +00:00 |
|
euzuro
|
be936216a0
|
fix panzoom test to set to control constant from map. this test breakage was introduced (by me) in r404.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@453 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 18:09:31 +00:00 |
|
euzuro
|
71df3e08fa
|
update text layer to new paradigm
git-svn-id: http://svn.openlayers.org/trunk/openlayers@452 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:59:06 +00:00 |
|
euzuro
|
fda77ec943
|
update default marker icon to dyanmic offset calculation
git-svn-id: http://svn.openlayers.org/trunk/openlayers@451 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:58:49 +00:00 |
|
euzuro
|
51aaf18b59
|
implement dynamic offset (pass in calculateOffset() function) and implement dynamic alpha-safe sizing. I realize some tests still fail. I have to run out for some errands, will be back in 3-4 hours to fix this (namely text layer still has issues. fear not, i will fix these)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@450 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:54:38 +00:00 |
|
euzuro
|
77e618482a
|
order of arguments backwards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@449 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:41:28 +00:00 |
|
euzuro
|
cd0b43d938
|
add OpenLayers.Util.modifyAlphaImage() function and tests
git-svn-id: http://svn.openlayers.org/trunk/openlayers@448 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 13:30:11 +00:00 |
|
euzuro
|
bf5b1f3171
|
move 'image' member from marker down to Icon.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@446 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 11:59:14 +00:00 |
|
euzuro
|
acb8dadd71
|
correcting comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@445 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 11:53:29 +00:00 |
|
euzuro
|
0985ac299e
|
add offset() operation to OpenLayers.Pixel
git-svn-id: http://svn.openlayers.org/trunk/openlayers@444 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 11:48:42 +00:00 |
|
euzuro
|
0047f3e730
|
better yet, make the defaultIcon() function a static method of the OpenLayers.Marker class.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@443 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 10:08:55 +00:00 |
|
euzuro
|
5a95469ef0
|
Anchored popups now take an 'anchor' item instead of simply an 'anchorSize'. The anchor item should have both a size *and* an offset. Basically it should be an OpenLayers.Icon. If none is passed in, defaults to (0,0) size and offset. Update placement calculation to adjust for size AND offset.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@442 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:55:04 +00:00 |
|
euzuro
|
b8d6aaed64
|
have the 'data' property just set an OpenLayers.Icon object. Remove default marker image loading code as it has been bubbled down into OpenLayers.Marker.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@441 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:50:56 +00:00 |
|
euzuro
|
1d60e57e58
|
oops. forgot a comma
git-svn-id: http://svn.openlayers.org/trunk/openlayers@440 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:44:04 +00:00 |
|
euzuro
|
8d13a79340
|
reset default Icon offset to 0,0
git-svn-id: http://svn.openlayers.org/trunk/openlayers@439 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:43:31 +00:00 |
|
euzuro
|
14ddfc21f3
|
If no icon value is passed to marker constructor, assemble a default icon
git-svn-id: http://svn.openlayers.org/trunk/openlayers@438 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 09:42:46 +00:00 |
|
euzuro
|
3f44628b44
|
give a feature a default, blank data
git-svn-id: http://svn.openlayers.org/trunk/openlayers@437 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-29 08:48:54 +00:00 |
|
euzuro
|
f08462465d
|
move Popup to the same design as Marker. Create the div in the constructor. Give popup an events object.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@416 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-27 01:08:00 +00:00 |
|
euzuro
|
3691bc54b6
|
read icon.offset from data object. default to (0,0)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-27 00:47:11 +00:00 |
|
euzuro
|
cd07fd2a93
|
make Icon's default offset 0,0. nullify a few more tests... :-)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@414 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-27 00:35:01 +00:00 |
|
euzuro
|
ed42ea6fae
|
slight of the hand
git-svn-id: http://svn.openlayers.org/trunk/openlayers@413 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-27 00:04:27 +00:00 |
|
euzuro
|
8e0b8bbf1f
|
add visibility functions to popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@412 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 23:59:18 +00:00 |
|
euzuro
|
5d797ca9f9
|
remove data from marker
git-svn-id: http://svn.openlayers.org/trunk/openlayers@411 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 23:20:39 +00:00 |
|