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
crschmidt
cad3369b27
Adding support for panzoombar to MVS.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@447 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-29 13:05:26 +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
8c2e44cdd8
Change iconsize on example icons.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@435 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:31:06 +00:00
crschmidt
9450a361af
Committing new example textfile for MVS.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@434 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:27:30 +00:00
crschmidt
644057158b
git-svn-id: http://svn.openlayers.org/trunk/openlayers@433 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:51 +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
f1093679f9
r407@creusa: crschmidt | 2006-05-27 12:41:55 -0400
...
Commit changes to textfile, and also a change to the Layer.Text tests to actually test events and popups. This is failing in svk, but I think this is because of not having up to date Layer.Text -- forgot to svk pull before I left -- so I'll fix this once I'm no longer at 35000 feet.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@431 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:45 +00:00
crschmidt
ed8109ab46
r406@creusa: crschmidt | 2006-05-27 12:26:35 -0400
...
Added tests for PanZoomBar, currently just a mirror of PanZoom, but at least will catch if something is horribly broken.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@430 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:41 +00:00
crschmidt
b00e6a7156
r405@creusa: crschmidt | 2006-05-27 12:23:17 -0400
...
Fix test to re-order arguments per my change earlier today.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@429 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 19:17:38 +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
28471e2047
r397@creusa: crschmidt | 2006-05-27 06:28:36 -0400
...
Change proxy to have comment re: allowedHosts
git-svn-id: http://svn.openlayers.org/trunk/openlayers@419 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 10:23:59 +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
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
euzuro
99401464ff
only create and add the marker when a Feature is actually being instantiated
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@410 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:12:24 +00:00
euzuro
8a7fff3019
include Feature/WFS.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@409 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:07:06 +00:00
euzuro
02901cb09a
add OpenLayers.Feature.WFS class as a blueprint for subclassing.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@408 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:01:33 +00:00
euzuro
44760110bf
add layer as first param to base OpenLayers.Feature class. Redo createMarker() and add createPopup(). Redo famous WFS loop so that now it just creates features (according to the feature class passed in) and stores those features in an array. update tests
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@407 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:00:28 +00:00
euzuro
da27fafa98
give WFS a featureClass and have it be set in the constructor
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@406 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 17:56:46 +00:00
euzuro
e9427e5aa5
remove metacarta feature
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@405 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 17:39:16 +00:00
euzuro
d6ff6c681a
move controls up. now we can have 800 popups without a conflict.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@404 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 16:47:56 +00:00
euzuro
9b12c728d4
fix for #66
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@403 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 16:01:46 +00:00
euzuro
cd779adf57
fix tests to pass in IE. border was bombing. add test for filter sizing method.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@402 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 16:00:05 +00:00
euzuro
542e9fa258
allow for user to set the sizing method. make default 'scale'. set to 'crop' as desired for panzoombar in r396. removed outdated tests
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@401 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 15:47:07 +00:00
crschmidt
7d81333da0
Move metapointer.svg to marker.svg, add marker.png.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@399 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 15:33:13 +00:00