crschmidt
|
04efcffb00
|
Crop the image to the size of the div. This is helpful in cases where the image is larger than the div -- such as when we're adjusting the height, in the zoombar, and have a significantly larger image that we want to crop to the size of the zoombar.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@396 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 11:42:52 +00:00 |
|
euzuro
|
1e6f88fffa
|
'this'. not 'marker'... cut/copy/paste from im discussion.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@391 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 03:17:47 +00:00 |
|
euzuro
|
ef37b10ef7
|
pass the position in as parameter on new tile creation. remove unnecessary setPosition() function, as tiles no longer really get moved. they get drawn in their div and then the div moves around. no need to make that any more complicated. update tests for that. Also, finish renaming 'grid' to 'layer' (from r369).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@390 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 02:56:49 +00:00 |
|
euzuro
|
75f9a6b2e0
|
add equals() function to OpenLayers.Bounds. plus test
git-svn-id: http://svn.openlayers.org/trunk/openlayers@389 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 02:42:58 +00:00 |
|
crschmidt
|
1f89f13fb5
|
Adding events to map while dragging in the zoombar, then removing them afterwards. This neccessitated adding a 'remove' to Events, to pop events off the end. No more problems with dragging off into the map accidentally.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@388 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 02:17:43 +00:00 |
|
crschmidt
|
ae5ff749da
|
Add missing Event.stop() on slider div move event.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@387 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 02:00:54 +00:00 |
|
euzuro
|
2df02f241e
|
porting...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@386 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 01:46:19 +00:00 |
|
euzuro
|
e54c008a98
|
more updates i missed in r384
git-svn-id: http://svn.openlayers.org/trunk/openlayers@385 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 01:42:32 +00:00 |
|
euzuro
|
f115b797a3
|
Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 01:23:11 +00:00 |
|
crschmidt
|
0e7e831f0d
|
Fix lack of return value.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@383 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 00:46:12 +00:00 |
|
crschmidt
|
109773f56b
|
migrate out alphaHack checking into OpenLayers.Util.alphaHack().
git-svn-id: http://svn.openlayers.org/trunk/openlayers@382 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 00:44:45 +00:00 |
|
crschmidt
|
dccc884faa
|
Fix a swap Pixel->Size from r363
git-svn-id: http://svn.openlayers.org/trunk/openlayers@380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-26 00:00:42 +00:00 |
|
crschmidt
|
d7a27bc959
|
Changing the IE Specific code. We create a regular alphaImageDiv, then resize it after we get it back. Hopefully this makes IE less cranky.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@379 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 23:45:25 +00:00 |
|
euzuro
|
9a6b8b1404
|
porting/code-relocation error
git-svn-id: http://svn.openlayers.org/trunk/openlayers@378 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 23:44:31 +00:00 |
|
crschmidt
|
b75fd8ee2c
|
Change This back, undoing r374.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@377 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 23:39:48 +00:00 |
|
crschmidt
|
26d35788b7
|
Attempting to make IE happy.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@376 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 23:32:22 +00:00 |
|
crschmidt
|
fedfaea0bf
|
Continued work on Layer.Text, implementing popups. Still has closure issues.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@375 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 23:08:14 +00:00 |
|
crschmidt
|
5f4a8d2b0d
|
Make a first attempt at making the zoombar div transparency work in IE. Since this image is a background image, I want to be able to set different sizes for the img and the div. I'm nt sure how well this attempt will work. However, the code still works in FF on OS X. Someone with IE test when they get a bit?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@374 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 19:46:49 +00:00 |
|
crschmidt
|
c8ed8cee87
|
Fix click-to-zoom.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@373 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 18:39:15 +00:00 |
|
euzuro
|
621d7074f2
|
Update MetaCarta.js to new Feature architecture. Soon this is going to be removed from here and renamed MCFeature.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@372 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 18:03:15 +00:00 |
|
euzuro
|
3440da2c5e
|
WFS tiles will keep track of markers, not features. Update the requestSuccess() loop to handle new Feature architecture
git-svn-id: http://svn.openlayers.org/trunk/openlayers@371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 18:02:33 +00:00 |
|
euzuro
|
baf1259064
|
take data in Marker's constructor, and if it has a valid data and the data has a valid loadEvents() function, then call it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 18:00:38 +00:00 |
|
euzuro
|
53e919b45b
|
change reference variable name from 'grid' to 'layer'. even though it will always be a grid, all grids are layers. better to keep it clear and use the base class name.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@369 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:54:55 +00:00 |
|
euzuro
|
4392921aeb
|
the same code is executed in moveTo(). might as well use it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@368 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:22:31 +00:00 |
|
euzuro
|
935476dff5
|
marker doesnt have a this.div - it has a this.image
git-svn-id: http://svn.openlayers.org/trunk/openlayers@367 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:20:45 +00:00 |
|
euzuro
|
e251d93d6d
|
give marker back its data member
git-svn-id: http://svn.openlayers.org/trunk/openlayers@366 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:18:03 +00:00 |
|
euzuro
|
497123ffac
|
adjust inner image id, do not bother with trying to directly set width and height on image element, it doesnt work anyways
git-svn-id: http://svn.openlayers.org/trunk/openlayers@364 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 17:10:11 +00:00 |
|
euzuro
|
af4028879f
|
fix to PanZoom controls to make them alpha-clear. This is it for #25
git-svn-id: http://svn.openlayers.org/trunk/openlayers@363 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 16:38:07 +00:00 |
|
euzuro
|
a844ccafe2
|
new function to create an alpha-transparency protected image -- burried in a div. This is for Ticket #25
git-svn-id: http://svn.openlayers.org/trunk/openlayers@362 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 16:13:23 +00:00 |
|
crschmidt
|
44454ba193
|
Implement radio button support in LayerSwitcher. Pass in {mode:'radio'} to constructor to switch away from checkbox mode, which is default. This allows us to complete the original part of #32, although we do not yet support the concept of 'base layers' described in that ticket, which has been split to #62.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@361 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 15:29:53 +00:00 |
|
euzuro
|
e665e10a53
|
coding standards.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@351 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:44:18 +00:00 |
|
euzuro
|
bf8c1fba02
|
give Popup an 'updatePosition()' function that allows it to re-position itself. This will be used for zoom changes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@350 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:43:56 +00:00 |
|
euzuro
|
b036da46f5
|
Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:27:29 +00:00 |
|
euzuro
|
79295569a3
|
we should really be sure that this.lonlat is set too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:24:48 +00:00 |
|
euzuro
|
53f59f25ea
|
changing the size of an anchored popup is a special case because the popup must remain anchored after the resize
git-svn-id: http://svn.openlayers.org/trunk/openlayers@347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:22:06 +00:00 |
|
euzuro
|
df5455e41e
|
Since popups have a reference back to map, allow them to determine where they should be drawn internally. Thus we can remove the computing from the addPopup() function in Map.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 02:09:33 +00:00 |
|
euzuro
|
022ffde95e
|
moved oppositeQuadrant() function from Anchored.js to Util.js, where it is now a static function on the OpenLayers.Bounds class. Updated usage in code accordingly. Added test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:54:45 +00:00 |
|
euzuro
|
cfe9479a89
|
JSDOC - designate private functions as such
git-svn-id: http://svn.openlayers.org/trunk/openlayers@342 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:44:01 +00:00 |
|
euzuro
|
43e218c969
|
no reason to override Popup's destroy() if nothing new is being destroyed
git-svn-id: http://svn.openlayers.org/trunk/openlayers@341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:39:44 +00:00 |
|
euzuro
|
48abf71cea
|
fix dynamic load instruction for Popup.js subclass
git-svn-id: http://svn.openlayers.org/trunk/openlayers@340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:29:48 +00:00 |
|
euzuro
|
02303334c6
|
now we dont have to complicate the dynamic load process.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@339 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:28:34 +00:00 |
|
euzuro
|
e727450196
|
no reason for Popup to be using an OpenLayers construct in the declaration phase. make it WIDTH and HEIGHT instead of using OpenLayers.Size.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@338 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:27:46 +00:00 |
|
euzuro
|
854a468373
|
add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:20:35 +00:00 |
|
euzuro
|
123e959c7e
|
add 'map' reference to standard popup. make sure to nullify it in the destroy()
git-svn-id: http://svn.openlayers.org/trunk/openlayers@336 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:19:24 +00:00 |
|
euzuro
|
4dcd798e59
|
give popups a reference back to map
git-svn-id: http://svn.openlayers.org/trunk/openlayers@335 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-25 00:06:35 +00:00 |
|
euzuro
|
b55debdd48
|
adding determineQuadrant() function to OpenLayers.Bounds. Tests included.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@334 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 23:43:09 +00:00 |
|
euzuro
|
3ece5e35fd
|
adding skeleton for anchored popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 23:14:34 +00:00 |
|
euzuro
|
147d91c056
|
JSDOC
git-svn-id: http://svn.openlayers.org/trunk/openlayers@332 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 23:12:31 +00:00 |
|
euzuro
|
ca8f03bc2c
|
popup does not need to store reference to his parent. to remove himself, he uses parentNode directly from his Div DOMElement. see r231
git-svn-id: http://svn.openlayers.org/trunk/openlayers@331 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 23:09:23 +00:00 |
|
euzuro
|
0f7f771637
|
make tileSize member variable safe in Grid.js
git-svn-id: http://svn.openlayers.org/trunk/openlayers@330 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-05-24 23:04:35 +00:00 |
|