Commit Graph

  • 109773f56b migrate out alphaHack checking into OpenLayers.Util.alphaHack(). crschmidt 2006-05-26 00:44:45 +00:00
  • 9c4b1a173f Adding metapointer artwork, before I change it and lose this beautiful looking piece of work :) crschmidt 2006-05-26 00:19:30 +00:00
  • dccc884faa Fix a swap Pixel->Size from r363 crschmidt 2006-05-26 00:00:42 +00:00
  • 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. crschmidt 2006-05-25 23:45:25 +00:00
  • 9a6b8b1404 porting/code-relocation error euzuro 2006-05-25 23:44:31 +00:00
  • b75fd8ee2c Change This back, undoing r374. crschmidt 2006-05-25 23:39:48 +00:00
  • 26d35788b7 Attempting to make IE happy. crschmidt 2006-05-25 23:32:22 +00:00
  • fedfaea0bf Continued work on Layer.Text, implementing popups. Still has closure issues. crschmidt 2006-05-25 23:08:14 +00:00
  • 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? crschmidt 2006-05-25 19:46:49 +00:00
  • c8ed8cee87 Fix click-to-zoom. crschmidt 2006-05-25 18:39:15 +00:00
  • 621d7074f2 Update MetaCarta.js to new Feature architecture. Soon this is going to be removed from here and renamed MCFeature.js euzuro 2006-05-25 18:03:15 +00:00
  • 3440da2c5e WFS tiles will keep track of markers, not features. Update the requestSuccess() loop to handle new Feature architecture euzuro 2006-05-25 18:02:33 +00:00
  • 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 euzuro 2006-05-25 18:00:38 +00:00
  • 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. euzuro 2006-05-25 17:54:55 +00:00
  • 4392921aeb the same code is executed in moveTo(). might as well use it euzuro 2006-05-25 17:22:31 +00:00
  • 935476dff5 marker doesnt have a this.div - it has a this.image euzuro 2006-05-25 17:20:45 +00:00
  • e251d93d6d give marker back its data member euzuro 2006-05-25 17:18:03 +00:00
  • dda9d167af add tests for createAlphaImageDiv function euzuro 2006-05-25 17:12:51 +00:00
  • 497123ffac adjust inner image id, do not bother with trying to directly set width and height on image element, it doesnt work anyways euzuro 2006-05-25 17:10:11 +00:00
  • af4028879f fix to PanZoom controls to make them alpha-clear. This is it for #25 euzuro 2006-05-25 16:38:07 +00:00
  • a844ccafe2 new function to create an alpha-transparency protected image -- burried in a div. This is for Ticket #25 euzuro 2006-05-25 16:13:23 +00:00
  • 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. crschmidt 2006-05-25 15:29:53 +00:00
  • 4c684565ef MapViewerService now supports additional URL args: * controls=panzoom,mouse -- set up different controls. Also allows 'layerswitcher' * layers=openlayers,nasa -- set up different layers. Only these two are supported at the moment. * center, zoom, data are all the same as before. crschmidt 2006-05-25 12:57:07 +00:00
  • 2d440e36b0 Merged r[280]:[358] from source:/sandbox/follower/b-singlefile/ (Enable building of Single File Library version of OpenLayers library). follower 2006-05-25 12:26:53 +00:00
  • e665e10a53 coding standards. euzuro 2006-05-25 02:44:18 +00:00
  • bf8c1fba02 give Popup an 'updatePosition()' function that allows it to re-position itself. This will be used for zoom changes. euzuro 2006-05-25 02:43:56 +00:00
  • b036da46f5 Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test. euzuro 2006-05-25 02:27:29 +00:00
  • 79295569a3 we should really be sure that this.lonlat is set too. euzuro 2006-05-25 02:24:48 +00:00
  • 53f59f25ea changing the size of an anchored popup is a special case because the popup must remain anchored after the resize euzuro 2006-05-25 02:22:06 +00:00
  • 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. euzuro 2006-05-25 02:09:33 +00:00
  • ec397fa9cf change algorithms so that corners' changeOpacity function takes as input a float value between 1 and 0, instead of between 1 and 10. Might as well subscribe to *somebody's* standard and adapt to the other, rathere than something in between. plus, this is how Popup.js was designed. euzuro 2006-05-25 01:11:42 +00:00
  • b8d47df9ec small stylistic change to our own function inside rico corners. no change in functionality euzuro 2006-05-25 01:08:26 +00:00
  • 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. euzuro 2006-05-25 00:54:45 +00:00
  • cfe9479a89 JSDOC - designate private functions as such euzuro 2006-05-25 00:44:01 +00:00
  • 43e218c969 no reason to override Popup's destroy() if nothing new is being destroyed euzuro 2006-05-25 00:39:44 +00:00
  • 48abf71cea fix dynamic load instruction for Popup.js subclass euzuro 2006-05-25 00:29:48 +00:00
  • 02303334c6 now we dont have to complicate the dynamic load process. euzuro 2006-05-25 00:28:34 +00:00
  • 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. euzuro 2006-05-25 00:27:46 +00:00
  • 854a468373 add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html euzuro 2006-05-25 00:20:35 +00:00
  • 123e959c7e add 'map' reference to standard popup. make sure to nullify it in the destroy() euzuro 2006-05-25 00:19:24 +00:00
  • 4dcd798e59 give popups a reference back to map euzuro 2006-05-25 00:06:35 +00:00
  • b55debdd48 adding determineQuadrant() function to OpenLayers.Bounds. Tests included. euzuro 2006-05-24 23:43:09 +00:00
  • 3ece5e35fd adding skeleton for anchored popup euzuro 2006-05-24 23:14:34 +00:00
  • 147d91c056 JSDOC euzuro 2006-05-24 23:12:31 +00:00
  • ca8f03bc2c popup does not need to store reference to his parent. to remove himself, he uses parentNode directly from his Div DOMElement. see r231 euzuro 2006-05-24 23:09:23 +00:00
  • 0f7f771637 make tileSize member variable safe in Grid.js euzuro 2006-05-24 23:04:35 +00:00
  • 06cbeb2f11 fix for #60 euzuro 2006-05-24 18:45:50 +00:00
  • e5bb6b7dbd Finish of r326, adding : to @require pragmas crschmidt 2006-05-24 17:39:21 +00:00
  • 213a1b02d1 A couple changes got rolled into r326 that weren't meant to: Rolling them back out. crschmidt 2006-05-24 17:38:27 +00:00
  • c0ec7f9a00 Change @require to @require: crschmidt 2006-05-24 17:17:22 +00:00
  • 875cfb20b6 for testing getPixelFromLonLat() euzuro 2006-05-24 16:44:41 +00:00
  • 14196834bb the proxy reference can safely be shortened. thanks phil euzuro 2006-05-24 16:14:52 +00:00
  • 201e478c63 Complete refactoring of PanZoomBar. This changes all event handling to be through the Events class, which wasn't the case in the past: this has the result of changing the 'this' object from being the slider, div, etc. to being the Control itself, which simplifies much of the code, and probably removes a few circular references. crschmidt 2006-05-24 13:44:29 +00:00
  • 5d1bc5ed78 Fixed redundant tileSize definition. Schuyler Erle 2006-05-24 06:26:54 +00:00
  • 0e6b61c352 All tests now pass in IE. Schuyler Erle 2006-05-24 05:46:54 +00:00
  • cfb1b472a7 Calling map.destroy() twice previously an error in IE. Fixed. Schuyler Erle 2006-05-24 05:44:43 +00:00
  • 0417c9feb5 Fix test_Layer_Text.html, which was also broken by r301. Schuyler Erle 2006-05-24 04:34:27 +00:00
  • 3ebbf969f2 Fix test_Layer_WMS.html, which was broken by r301. Schuyler Erle 2006-05-24 04:31:57 +00:00
  • b7e9c0596f Fix test function names in test_Layer_Markers.html. Schuyler Erle 2006-05-24 04:23:48 +00:00
  • b4f7d528d0 Always disable dragstart in IE on Events objects, so that mousedown/move/up works normally. Schuyler Erle 2006-05-24 03:43:34 +00:00
  • b9ab087d32 Bug fix to Util.mouseLeft() for IE. Schuyler Erle 2006-05-24 03:25:17 +00:00
  • 7683e0853a Fix to Control.MouseDefaults stops panning when dragging off the map. Closes #29 for good, I hope. Schuyler Erle 2006-05-24 03:20:22 +00:00
  • 0b7d1e6e1e Bug fix and comments to Util.mouseLeft(). Schuyler Erle 2006-05-24 03:14:05 +00:00
  • 259c17106e Implemented OpenLayers.Util.mouseLeft to make up for a lack of onmouseleave in Mozilla. Schuyler Erle 2006-05-24 03:01:50 +00:00
  • e0bfdd2a97 Oops, moved HTML files but forgot to fix the reference to OpenLayers.js. Fixed. Schuyler Erle 2006-05-24 02:02:31 +00:00
  • c90158a2d7 Moved all the HTML files into examples/. Schuyler Erle 2006-05-24 00:22:55 +00:00
  • 45fc70cbc7 If map.maxResolution is not set, set it to display the entire maxExtent in whatever the current map size is by default. Schuyler Erle 2006-05-23 22:41:28 +00:00
  • 92571569af update map.addPopup() to automatically add the popup at the correct screen location... and add it to the layersContainerDiv so that it will move with the maps. and example. and tests. euzuro 2006-05-23 21:50:24 +00:00
  • 0821a4ef99 update tests for popup for r298 euzuro 2006-05-23 21:46:06 +00:00
  • 48d97061cb give the popup a lonlat euzuro 2006-05-23 21:45:19 +00:00
  • 163e0a8419 markers are no longer supposed to have associated data euzuro 2006-05-23 19:08:00 +00:00
  • c10fdec8e7 OpenLayers.Feature - JSDOC/coding standards euzuro 2006-05-23 19:06:41 +00:00
  • d6f1dedeb1 fix tests for r294 euzuro 2006-05-23 19:06:17 +00:00
  • 39e53685ce give Feature an id euzuro 2006-05-23 19:01:55 +00:00
  • 16ac9ce885 Fix Marker tests. crschmidt 2006-05-23 18:14:18 +00:00
  • ad41a1df69 move xml helper functions into Util.js and adapt code to use them-- is this where we want to keep them? do we want to keep them? tests need to be written. euzuro 2006-05-23 17:35:16 +00:00
  • 123b460932 update demo pages to r278 euzuro 2006-05-23 17:32:31 +00:00
  • e86628b17e updating tests to changes made in r278 euzuro 2006-05-23 17:28:08 +00:00
  • c506e039d8 typo. Openlayer->OpenLayers euzuro 2006-05-23 17:14:14 +00:00
  • 25690c21e9 use other proxy for now euzuro 2006-05-23 17:01:25 +00:00
  • 8cb22b6b59 Change this to be /usr/bin/env, for more cross platformability. Hopefully. crschmidt 2006-05-23 16:40:23 +00:00
  • 69f06802ca More better error handling crschmidt 2006-05-23 16:33:07 +00:00
  • 29fc44105f Remove line that was testing exception handling. crschmidt 2006-05-23 16:27:17 +00:00
  • 80e048da92 dont need to position or append wfs tile euzuro 2006-05-23 16:24:59 +00:00
  • 3f7665b0ae cgi script directory name changed euzuro 2006-05-23 16:13:09 +00:00
  • a317e767ec Some improvements to Control.PanZoomBar, mostly to make it work with the new graphics. Schuyler Erle 2006-05-23 15:39:07 +00:00
  • 4917ecac34 Change Layer.Marker to Layer.Markers. Closes #50. crschmidt 2006-05-23 15:35:38 +00:00
  • 9190dd18d2 Add @require pragma to all source files. crschmidt 2006-05-23 15:20:31 +00:00
  • 81c9315c17 Finishing Schuyler's commit the other day, which was designed to change behavior on release of shift key, but failed to actually do so... crschmidt 2006-05-23 14:45:51 +00:00
  • 1041515bfd udpatoing Tile.WFS code, removing ol.Application calls. AddingAjax.js file (do we want this?) and including it in the dynamic loader euzuro 2006-05-23 00:22:22 +00:00
  • 3bf34940ca New images for the zoombar, plus an art directory to hold vector drawings, etc. Schuyler Erle 2006-05-22 21:03:14 +00:00
  • cd677b332d small modification to r269 - making sure these get set in the instances and not the class (static). euzuro 2006-05-22 18:11:49 +00:00
  • be6ecf5dca Store div offsets in event div object, caching them until a updateSize call. This provides a significant performance gain in places where the div contains hundreds or thousands of markers, because as the div element gets bigger, determining its size through Prototype.element.page() becomes slower by a factor of up to 4 (determined through profiling with venkman). crschmidt 2006-05-22 18:11:45 +00:00
  • 43d9a488df Cleanup the getZoomForExtent() code -- thanks to crschmidt for discovering that I had the ratio of max to current resolution flipped. Schuyler Erle 2006-05-22 17:50:51 +00:00
  • 7378388d45 Added a position property to Control, which allows us to specify a default location for each Control class, and saves us from *having* to supply a pixel position to the map.addControl() method -- the sensible default will tend to be used instead. Schuyler Erle 2006-05-22 17:25:46 +00:00
  • d8ddc5aa36 More readable code, and change markerDiv -> markerImg, since we're not returning a div anymore. crschmidt 2006-05-22 17:25:15 +00:00
  • c0ad6226de Adjust redraw. Before, we were appending the marker again -- but there's no reason to do that. The markers already exist, we're adjusting their position anyway. This should result in a 2/3rds speed win after the initial display, because appendChild was the largest length of time in the entire redraw process. crschmidt 2006-05-22 17:13:15 +00:00
  • b73626fbdc this.updateSize, not updateSize. crschmidt 2006-05-22 16:21:42 +00:00
  • 7c564bf17c update tests for newly added events. crschmidt 2006-05-22 16:20:24 +00:00
  • 0fd94a3f21 Fix typo. crschmidt 2006-05-22 16:18:35 +00:00