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
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
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
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
crschmidt
cdd26c1df2
fix map.zoomExtent().
...
Re-add zoomToWorld button to PanZoom control.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@473 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 21:10:53 +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
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
crschmidt
df375e7d29
This broke more than it fixed. Putting it back, and filing a bug on this issue.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@465 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 05:52:13 +00:00
crschmidt
bd0881d56b
If a layer is not visible when a zoomlevel changes, and the map view is then dragged, the map view will not be filled with tiles by the inittiles call. Always make sure that we fill the view, even if we just init-tiles'd.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@464 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 05:50:14 +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
crschmidt
f11bdcef95
Commit visual tweaks to controls for #55 .
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@460 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:31:11 +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
crschmidt
1d1452da61
r439@creusa: crschmidt | 2006-05-29 13:32:54 -0400
...
Change Layer.js to call a moveTo function after visibility changes: This allows us to implement #56 . Layer/Grid.js now has code which shows how to have a layer which doesn't load when it's not visible: This code will be dependant on the layers, so this has to be implemented per class. However, classes like markers suffer very little performance cost for drawing, so Layer.Grid is the most important place for this improvement.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@458 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 19:18:29 +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
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
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
crschmidt
528b9ef24e
Change the default icon size. If we fall back to the MC icon, we should fall back to the MC size, too.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:33:27 +00:00
crschmidt
fcd1c509e6
r408@creusa: crschmidt | 2006-05-27 12:44:36 -0400
...
Commit change to Feature prototype call, reordering to put id last.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@432 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:48 +00:00
crschmidt
88bb94133f
r404@creusa: crschmidt | 2006-05-27 12:19:43 -0400
...
Removing unmodified 'destroy' function, adding CLASS_NAME per codingstyle.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@428 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:35 +00:00
crschmidt
bd42f1f91f
r403@creusa: crschmidt | 2006-05-27 12:19:00 -0400
...
Reorganization of PanZoomBar, adding of documentation to all functions.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@427 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:32 +00:00
crschmidt
1dd5d5b632
r402@creusa: crschmidt | 2006-05-27 12:13:02 -0400
...
Finish previous commit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@426 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:29 +00:00
crschmidt
d647218db6
r401@creusa: crschmidt | 2006-05-27 12:12:17 -0400
...
Don't create local variable zoomStopSize. Remove sz variable -- it was only being modified, so create it inside the function instead.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@425 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:24 +00:00
crschmidt
82d01c73cc
Working text layer with popups! woohoo! parseText suffered a reindentation, so not as much changed here as it looks like.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@424 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:11:22 +00:00
crschmidt
1408a26b58
Our default marker is designed to be positioned above and centered on a point. Change it so that Icon.js does this by default.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@423 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:10:41 +00:00
crschmidt
9256cdc207
Return popup when created. If we don'tn get an offset, leave it null: let OL.Icon calculate it. fix typo in case.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@422 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:09:10 +00:00
crschmidt
0ec90b17e8
Commit changes to Anchored popup: add anchor width/height to top left position if we're heading in that direction. I'm still not sure how perfect this is, but it stops the bubbles from being on top of my icons.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@421 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:08:15 +00:00
crschmidt
8dd38fe945
Add some jsdoc commenting into PanZoomBar (part of testing svk)
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@420 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 10:29:42 +00:00
crschmidt
43875e80af
Return the marker from the createMarker function.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@418 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 02:12:33 +00:00
crschmidt
90c4baa09b
Changing order of constructor arguments.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 02:09:03 +00:00