Commit Graph

  • 31f887a586 adding test for getSize() to OpenLayers.Bounds euzuro 2006-06-01 00:14:02 +00:00
  • dc2e71a1e4 merge two fromString tests into one euzuro 2006-06-01 00:12:11 +00:00
  • 7ff1332819 minor change to calculation of center points for bounds. less overhead. euzuro 2006-06-01 00:10:06 +00:00
  • 0c698ad7e0 create tests for the OpenLayers.Bounds's getCenter functions euzuro 2006-06-01 00:08:00 +00:00
  • cd8e9a61ec Fix tests, now that I've re-added the zoom-to-world button. crschmidt 2006-05-31 23:38:25 +00:00
  • 4a369cdf2a oops. more tabs euzuro 2006-05-31 23:33:36 +00:00
  • b7343507b7 oops. more tabs euzuro 2006-05-31 23:32:50 +00:00
  • bb61e0b358 fixing tabs euzuro 2006-05-31 23:29:55 +00:00
  • 08b8a7af76 fixing tabs euzuro 2006-05-31 23:28:38 +00:00
  • 42277961da working version of singlefile. euzuro 2006-05-31 16:49:37 +00:00
  • 689cd5c5cb adding a built single-file version of OpenLayers.js. This was generated by cr5chmidt, based on r473. euzuro 2006-05-31 15:01:44 +00:00
  • cdd26c1df2 fix map.zoomExtent(). Re-add zoomToWorld button to PanZoom control. crschmidt 2006-05-30 21:10:53 +00:00
  • fc2eb32f5c Added arrow and zoom-world SVG sources files from Mk III. Schuyler Erle 2006-05-30 19:36:36 +00:00
  • 77c4cc2a8d protect for subclassing euzuro 2006-05-30 17:54:11 +00:00
  • 423793ebb9 Add basic SFL build instructions. follower 2006-05-30 12:07:11 +00:00
  • b3bce6a3ee Added licenses for Prototype.js and Rico. follower 2006-05-30 11:53:35 +00:00
  • 6ebf79feec comment no longer relevant euzuro 2006-05-30 11:40:56 +00:00
  • c99be320c8 add inflate() function on marker euzuro 2006-05-30 10:09:51 +00:00
  • df375e7d29 This broke more than it fixed. Putting it back, and filing a bug on this issue. crschmidt 2006-05-30 05:52:13 +00:00
  • 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. crschmidt 2006-05-30 05:50:14 +00:00
  • efb3408859 update examples euzuro 2006-05-29 20:06:25 +00:00
  • 40cb75ca27 only jolt layer if we are setting it to visible (and if it has its 'map' property set. euzuro 2006-05-29 19:54:55 +00:00
  • 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. euzuro 2006-05-29 19:43:45 +00:00
  • f11bdcef95 Commit visual tweaks to controls for #55 . crschmidt 2006-05-29 19:31:11 +00:00
  • a78ee9f86c use new offset() function euzuro 2006-05-29 19:28:27 +00:00
  • 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. crschmidt 2006-05-29 19:18:29 +00:00
  • fd184a3903 little bitta JSDOC euzuro 2006-05-29 18:27:24 +00:00
  • 82839000d6 add 'selectedFeature' member to Layer.Text so that when the user clicks a second time on the same marker, the popup disappears. euzuro 2006-05-29 18:25:56 +00:00
  • 8a21a1dba4 only set popup content if values are defined euzuro 2006-05-29 18:20:41 +00:00
  • e2782f1ad5 Make a default icon sized 20x20. If anyone can think of a better default size, feel free to change this. euzuro 2006-05-29 18:19:17 +00:00
  • be936216a0 fix panzoom test to set to control constant from map. this test breakage was introduced (by me) in r404. euzuro 2006-05-29 18:09:31 +00:00
  • 71df3e08fa update text layer to new paradigm euzuro 2006-05-29 13:59:06 +00:00
  • fda77ec943 update default marker icon to dyanmic offset calculation euzuro 2006-05-29 13:58:49 +00:00
  • 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) euzuro 2006-05-29 13:54:38 +00:00
  • 77e618482a order of arguments backwards euzuro 2006-05-29 13:41:28 +00:00
  • cd0b43d938 add OpenLayers.Util.modifyAlphaImage() function and tests euzuro 2006-05-29 13:30:11 +00:00
  • cad3369b27 Adding support for panzoombar to MVS. crschmidt 2006-05-29 13:05:26 +00:00
  • bf5b1f3171 move 'image' member from marker down to Icon. euzuro 2006-05-29 11:59:14 +00:00
  • acb8dadd71 correcting comment euzuro 2006-05-29 11:53:29 +00:00
  • 0985ac299e add offset() operation to OpenLayers.Pixel euzuro 2006-05-29 11:48:42 +00:00
  • 0047f3e730 better yet, make the defaultIcon() function a static method of the OpenLayers.Marker class. euzuro 2006-05-29 10:08:55 +00:00
  • 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. euzuro 2006-05-29 09:55:04 +00:00
  • 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. euzuro 2006-05-29 09:50:56 +00:00
  • 1d60e57e58 oops. forgot a comma euzuro 2006-05-29 09:44:04 +00:00
  • 8d13a79340 reset default Icon offset to 0,0 euzuro 2006-05-29 09:43:31 +00:00
  • 14ddfc21f3 If no icon value is passed to marker constructor, assemble a default icon euzuro 2006-05-29 09:42:46 +00:00
  • 3f44628b44 give a feature a default, blank data euzuro 2006-05-29 08:48:54 +00:00
  • 528b9ef24e Change the default icon size. If we fall back to the MC icon, we should fall back to the MC size, too. crschmidt 2006-05-27 19:33:27 +00:00
  • 8c2e44cdd8 Change iconsize on example icons. crschmidt 2006-05-27 19:31:06 +00:00
  • 9450a361af Committing new example textfile for MVS. crschmidt 2006-05-27 19:27:30 +00:00
  • 644057158b git-svn-id: http://svn.openlayers.org/trunk/openlayers@433 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf crschmidt 2006-05-27 19:17:51 +00:00
  • fcd1c509e6 r408@creusa: crschmidt | 2006-05-27 12:44:36 -0400 Commit change to Feature prototype call, reordering to put id last. crschmidt 2006-05-27 19:17:48 +00:00
  • 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. crschmidt 2006-05-27 19:17:45 +00:00
  • 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. crschmidt 2006-05-27 19:17:41 +00:00
  • b00e6a7156 r405@creusa: crschmidt | 2006-05-27 12:23:17 -0400 Fix test to re-order arguments per my change earlier today. crschmidt 2006-05-27 19:17:38 +00:00
  • 88bb94133f r404@creusa: crschmidt | 2006-05-27 12:19:43 -0400 Removing unmodified 'destroy' function, adding CLASS_NAME per codingstyle. crschmidt 2006-05-27 19:17:35 +00:00
  • bd42f1f91f r403@creusa: crschmidt | 2006-05-27 12:19:00 -0400 Reorganization of PanZoomBar, adding of documentation to all functions. crschmidt 2006-05-27 19:17:32 +00:00
  • 1dd5d5b632 r402@creusa: crschmidt | 2006-05-27 12:13:02 -0400 Finish previous commit. crschmidt 2006-05-27 19:17:29 +00:00
  • 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. crschmidt 2006-05-27 19:17:24 +00:00
  • 82d01c73cc Working text layer with popups! woohoo! parseText suffered a reindentation, so not as much changed here as it looks like. crschmidt 2006-05-27 13:11:22 +00:00
  • 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. crschmidt 2006-05-27 13:10:41 +00:00
  • 9256cdc207 Return popup when created. If we don'tn get an offset, leave it null: let OL.Icon calculate it. fix typo in case. crschmidt 2006-05-27 13:09:10 +00:00
  • 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. crschmidt 2006-05-27 13:08:15 +00:00
  • 8dd38fe945 Add some jsdoc commenting into PanZoomBar (part of testing svk) crschmidt 2006-05-27 10:29:42 +00:00
  • 28471e2047 r397@creusa: crschmidt | 2006-05-27 06:28:36 -0400 Change proxy to have comment re: allowedHosts crschmidt 2006-05-27 10:23:59 +00:00
  • 43875e80af Return the marker from the createMarker function. crschmidt 2006-05-27 02:12:33 +00:00
  • 90c4baa09b Changing order of constructor arguments. crschmidt 2006-05-27 02:09:03 +00:00
  • f08462465d move Popup to the same design as Marker. Create the div in the constructor. Give popup an events object. euzuro 2006-05-27 01:08:00 +00:00
  • 3691bc54b6 read icon.offset from data object. default to (0,0) euzuro 2006-05-27 00:47:11 +00:00
  • cd07fd2a93 make Icon's default offset 0,0. nullify a few more tests... :-) euzuro 2006-05-27 00:35:01 +00:00
  • ed42ea6fae slight of the hand euzuro 2006-05-27 00:04:27 +00:00
  • 8e0b8bbf1f add visibility functions to popup euzuro 2006-05-26 23:59:18 +00:00
  • 5d797ca9f9 remove data from marker euzuro 2006-05-26 23:20:39 +00:00
  • 99401464ff only create and add the marker when a Feature is actually being instantiated euzuro 2006-05-26 23:12:24 +00:00
  • 8a7fff3019 include Feature/WFS.js euzuro 2006-05-26 23:07:06 +00:00
  • 02901cb09a add OpenLayers.Feature.WFS class as a blueprint for subclassing. euzuro 2006-05-26 23:01:33 +00:00
  • 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 euzuro 2006-05-26 23:00:28 +00:00
  • da27fafa98 give WFS a featureClass and have it be set in the constructor euzuro 2006-05-26 17:56:46 +00:00
  • e9427e5aa5 remove metacarta feature euzuro 2006-05-26 17:39:16 +00:00
  • d6ff6c681a move controls up. now we can have 800 popups without a conflict. euzuro 2006-05-26 16:47:56 +00:00
  • 9b12c728d4 fix for #66 euzuro 2006-05-26 16:01:46 +00:00
  • cd779adf57 fix tests to pass in IE. border was bombing. add test for filter sizing method. euzuro 2006-05-26 16:00:05 +00:00
  • 542e9fa258 allow for user to set the sizing method. make default 'scale'. set to 'crop' as desired for panzoombar in r396. removed outdated tests euzuro 2006-05-26 15:47:07 +00:00
  • 7d81333da0 Move metapointer.svg to marker.svg, add marker.png. crschmidt 2006-05-26 15:33:13 +00:00
  • b934aefff5 Make the zoombar, used as a background image, much taller. With the 'crop' set in the alphaImageLoader, this lets us use this image in both IE and FF as expected. crschmidt 2006-05-26 14:57:50 +00:00
  • db6049d3b4 * Refactor PanZooMBar so that we don't have three functions that do the exact same thing: These are simply passing information on to the slider, which then actually does the moving, so we'll create passToSlider. * Alter the dragging code so that you can't drag above or below the top/bottom of the bar. crschmidt 2006-05-26 12:16:02 +00:00
  • 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. crschmidt 2006-05-26 11:42:52 +00:00
  • 21f43e687b Add simplified build script based on the one from the old repository. To build a Single File Library release of OL run ./build.sh in the the build dir. follower 2006-05-26 04:03:03 +00:00
  • 671539c9b3 This modification works around an issue between Prototype.js and ShrinkSafe where it gets confused by a parameter and a local variable having the same name. This work around makes the build/compression script *much* less complex and more reliable. TODO: Submit bug report to ShrinkSafe. follower 2006-05-26 04:01:14 +00:00
  • 5d3a5ca91d Add intial license header. TODO: Finalise this. follower 2006-05-26 03:48:51 +00:00
  • d00a222b23 Import command line wrapper for ShrinkSafe web service from old repository. follower 2006-05-26 03:47:09 +00:00
  • 1e6f88fffa 'this'. not 'marker'... cut/copy/paste from im discussion. euzuro 2006-05-26 03:17:47 +00:00
  • 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). euzuro 2006-05-26 02:56:49 +00:00
  • 75f9a6b2e0 add equals() function to OpenLayers.Bounds. plus test euzuro 2006-05-26 02:42:58 +00:00
  • 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. crschmidt 2006-05-26 02:17:43 +00:00
  • ae5ff749da Add missing Event.stop() on slider div move event. crschmidt 2006-05-26 02:00:54 +00:00
  • 2df02f241e porting... euzuro 2006-05-26 01:46:19 +00:00
  • e54c008a98 more updates i missed in r384 euzuro 2006-05-26 01:42:32 +00:00
  • 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] euzuro 2006-05-26 01:23:11 +00:00
  • 0e7e831f0d Fix lack of return value. crschmidt 2006-05-26 00:46:12 +00:00