Commit Graph

  • c519879391 adding OpenLayers.Control.Attribution to the list of controls in the OL suite. includes example and tests. very nice. Thanks to pensyakito and cr5 for getting this together and complete. (Closes #103) euzuro 2007-09-12 04:37:45 +00:00
  • 983618f2fa fix for 'map elements are selected in IE when using shift key' in drag handler from pierre. Confirmed that this can be tested simply by using anything with a drag handler in IE, so it will get caught in acceptance test. (Closes #792) crschmidt 2007-09-12 04:18:59 +00:00
  • 0e8e7ab620 making the layerswitcher a little smarter. Instead of fancy 'noEvent' parameters, we just keep track of the state at each redraw. When asked to redraw, we then check first to see if anything has changed before going ahead with the redraw. Also in this patch, we add a 'visibilitychanged' event to the layer's events object -- upon request by users. (Closes #878) euzuro 2007-09-12 04:00:31 +00:00
  • 7a37ed4423 make sure permalink updates itself when layers change name/visibility or when a baselayer switch is made. (Closes #359) euzuro 2007-09-12 03:26:35 +00:00
  • 315f20bc9b Temporary fix for WFS race condition where a tile is destroy()ed but an associated httprequest has not yet returned. Great report, Pierre G. (Closes #820) euzuro 2007-09-12 02:37:09 +00:00
  • f662d49682 Add useFeedTitle option to georss layer -- defaults to true -- to determine whether to use the remote title or the local name. (Closes #731) crschmidt 2007-09-12 02:18:33 +00:00
  • 8f402c063f Adding Scroll Bars in TextFile Popup Windows via Layer.Text layer. (Closes #834) crschmidt 2007-09-12 01:58:27 +00:00
  • 259fe7ac81 check boxes by default. crschmidt 2007-09-12 01:51:46 +00:00
  • ae35651fbd natural docs patch, fixing up some inheritance links and menu issues Tim Schaub 2007-09-11 23:31:44 +00:00
  • 9d1baf68f7 exposing the map for firebuggers - and removing some crufty html comments Tim Schaub 2007-09-11 21:50:35 +00:00
  • 0aba585bc0 With review from elem, and oversight from tschaub, rolling in SphericalMercator changes. Note that this explicitly does *not* include r4182 , so as to keep changes to a single logical set: that should be filed in a seperate bug if it can be reproduced against trunk after this commit. Hooray for Tim, thanks for all the feedback, onward and upward! (Closes #686) crschmidt 2007-09-11 21:16:28 +00:00
  • d0aebc1a81 Fix for getFeatureFromEvent method on destroyed layer. (Closes #761) Review by elem (yay) crschmidt 2007-09-11 20:19:35 +00:00
  • 65f6830448 Full read/write support for KML. All KML 2.1 geometries supported. All OL geometries supported (closes #927). Tim Schaub 2007-09-11 15:18:42 +00:00
  • abeecc555a Add Tile_WFS tests -- just a pretty much empty wrapper at the moment. crschmidt 2007-09-11 14:46:55 +00:00
  • 82c64254e5 Fix lacking code from #666-- I had originally wanted to add this, but couldn't craft a test which exposed the lack ... until i realized with pgiraud's help that my test was backwards to begin with. (Closes #666) crschmidt 2007-09-11 14:26:08 +00:00
  • ec8a6b05b3 FredJ points out that this was never used or needed. I dug back and found out that it was added in the Original Prototype -> No Prototype conversion -- but looking at the code, adding it was clearly a mistake. Removing String.indexOf. (Note that this has no affect on the code: this function would never be called, because it wasn't defined on the prototoype.) (Closes #963) crschmidt 2007-09-11 14:23:37 +00:00
  • 359c66ed52 Pull in upstream fix from Prototype, patch by fredj (thanks fredj!) to fix String.prototype.trim. (Closes #961) Note that we should also be more careful not to clobber other library prototypes. (See #962) I'm going to check this in to fix the bug for 2.5, and we'll work on the latter in 2.6. crschmidt 2007-09-11 11:16:51 +00:00
  • 6245c0827c allow geometry collections to be rendered (closes #960). Tim Schaub 2007-09-11 00:22:09 +00:00
  • c3af58d78c update example to show gml read/write Tim Schaub 2007-09-10 22:47:13 +00:00
  • 84498e6d3b GML format rewrite - now subclasses from XML format. Refactored code to get ~2-3x improvement in parsing time. Thanks for all the tests crschmidt (closes #938). Tim Schaub 2007-09-10 22:02:18 +00:00
  • 35dae2bdb0 Adding a RegularPolygon handler for drawing squares, triangles, circles, etc. Demo in the regular-polygon.html example. Also adding a createRegularPolygon class method to the Polygon geometry class. Thanks to crschmidt for all the tests and help getting this in (closes #828). Tim Schaub 2007-09-10 20:24:27 +00:00
  • 623e6e7112 copying geojson.html to vector-formats.html - this will be the place to demo all read/write vector formats Tim Schaub 2007-09-10 17:55:58 +00:00
  • b76edb8833 putting up a basic non-slippy example Tim Schaub 2007-09-10 17:18:52 +00:00
  • ed7daa46fc Example of how to open a popup when selecting a feature. crschmidt 2007-09-07 15:25:55 +00:00
  • 8c5aec16fa Missed documenting this because it's only used in the tile, so it never got stuck in the apiproperties. (Commit will fix docs related to recent question asked by user on IRC. Thanks, hobu.) crschmidt 2007-09-04 20:39:15 +00:00
  • a339074539 Add test_KML stub (does nothing useful.) crschmidt 2007-09-04 15:28:14 +00:00
  • a113ac58b3 coding standards euzuro 2007-09-04 11:11:42 +00:00
  • dab3144c16 coding standards - mostly 4ixing spacing issues with ND comments. euzuro 2007-09-04 10:34:45 +00:00
  • b58afacb96 coding standards. 79 char limit on lines. no 4unctional di44erences here. euzuro 2007-09-04 10:28:16 +00:00
  • b92e372f49 the Reproject option on tiles has never worked quite perfectly (because of #429). With the new GoogleMercator? layer going into 2.5, we shouldn't be needing this anyway, so turn it *off* by default, so that we don't have to deal with the pain anymore. (Closes #881) Thx to euz for review. crschmidt 2007-09-03 15:49:39 +00:00
  • d6de04cddd rollback added semicolons from r4151. no ; after a regular function declaration. also some small coding standards whitespace. euzuro 2007-08-31 15:15:07 +00:00
  • 8ae2a01b66 rolling back ;'s after a function declaration, cleaning up some whitespace. no functional changes. all tests still pass ff && ie6. note that it has never been either a policy or a priority for us to maintain coding standards in the test files. I'm only doing this as an exercise for my brain, waiting for the second cup of coffee to kick in. euzuro 2007-08-31 15:08:38 +00:00
  • a8d7097e67 more cleanup of tests. adding ';' to end of function definition and other minor coding style mods. tests still pass in IE6/FF. euzuro 2007-08-31 12:31:43 +00:00
  • 0c108138e8 updating some coding style in tests. let's give function declarations a closing semicolon. seems the right thing to do (and reduces syntax bugs in my editor ;-) -- a couple other small stylistic changes here too. test still passes in IE6 and FF though - no worries euzuro 2007-08-31 12:22:09 +00:00
  • e221a6acd6 coding standards. missing ; euzuro 2007-08-31 10:58:40 +00:00
  • 254339705d add extra tess for limitSigDigs to check for errors triggered (See #862) euzuro 2007-08-31 10:53:08 +00:00
  • b3e524960b adding basic tests for the select feature control Tim Schaub 2007-08-31 00:27:28 +00:00
  • 6c7824cfb0 adding basic tests for the feature handler Tim Schaub 2007-08-30 23:56:04 +00:00
  • cecf760f29 make the drag handler and drag feature control tidy up after themselves - as a bonus, give the drag feature control an onStart method. Thanks for the review crschmidt (closes #950). Tim Schaub 2007-08-30 23:25:49 +00:00
  • 17a4129b55 give a popup that is created by a feature a reference back to that feature. thanks a million to tschaub for the lightning and helpful review (Closes #949) euzuro 2007-08-30 18:33:45 +00:00
  • 2fdf43cc8c ND changes to createPopup function. No functional changes here. euzuro 2007-08-30 17:53:01 +00:00
  • b55aca93fb nd cleanup. coding standards. no functional change euzuro 2007-08-30 17:49:02 +00:00
  • 64c41835fa allow for custom popup class on a feature. (Closes #947) euzuro 2007-08-30 17:17:58 +00:00
  • be4180fd75 Use degrees instead of radians for geometry.rotate method (closes #948). Tim Schaub 2007-08-30 17:10:26 +00:00
  • b78aec44c9 coding standards. no functional change euzuro 2007-08-30 12:55:51 +00:00
  • 3e1f2e4305 add new vector style property "graphicOpacity" enabling mixing non-opaque vector geometries with opaque external graphics on the same vector layer (closes #873) Éric Lemoine 2007-08-30 05:59:29 +00:00
  • 06d41662d7 Clear the feature stored by the DragFeature control when the user moves the mouse out or when dragging completes (closes #942). Tim Schaub 2007-08-29 18:56:48 +00:00
  • c2148651ed Filling our log with cruft, adding meaningless conflicts for merges, and changing a comment style that ndocs could care less about, this commit changes Return to Returns (closes #945). Tim Schaub 2007-08-29 18:44:10 +00:00
  • b5ef77096c wiki/NaturalDocs says we should be using 'Return:' and not 'Returns:' so this patch is fixing that. Of course, in the process, I came across not a few instances where other ND related whitespace or typos were at odds with a peaceful, uniform OL codebase. No functional changes here, just makin' things pretty. euzuro 2007-08-29 18:08:32 +00:00
  • e5641c76e0 Fix deactivate and destroy methods on the keyboard handler. Add 28 tests for previously untested handler. Thanks to Erik for the quick review and comments - appreciated as always (closes #943). Tim Schaub 2007-08-29 17:37:42 +00:00
  • eb65e9c2b3 natural docs comments for the keyboard handler Tim Schaub 2007-08-29 16:15:45 +00:00
  • 46c5cd6812 Properly destroy OpenLayers.Handler.MouseWheel, patch from fredj. Added tests for it as well. (Closes #935) crschmidt 2007-08-29 04:21:17 +00:00
  • cc0f90a5ad Fix build.py to not break if someone passes in a config file name with '.cfg' already on it. (Closes #839) Thanks for the suggestion / patch TJCRI! crschmidt 2007-08-29 04:11:03 +00:00
  • 807449046b Commit fix for an off-by-two error on standards complaint HTML pages in IE, and add an HTML example that can be used as an acceptance test. (Closes #863) Thanks pierre for the research and report! crschmidt 2007-08-29 04:03:13 +00:00
  • 984cdf6672 Modify drag handler for easier subclassing. Thanks for the team effort on this one (closes #827). Tim Schaub 2007-08-29 03:11:41 +00:00
  • 30982c20b3 check against the map instead, since Opera doesn't seem to have the same kind of mouse positions. crschmidt 2007-08-28 23:58:15 +00:00
  • 472ce374e6 Correcting the ndoc typo I made in r4088. Now layer.getTilesBounds and layer.getTileBounds are properly documented (see #482). Tim Schaub 2007-08-28 23:30:23 +00:00
  • d7776e77a7 Add a getTileBounds method to gridded layers. Thanks to crschmidt for the tests on this one. Committed with a few minor ndoc changes (closes 482). Tim Schaub 2007-08-28 23:16:23 +00:00
  • 6acf9e75c5 IE tries to modify dom elements when an undeclared variable is used in a statement and the name of that variable is the id of an element on the page (see 849). Tim Schaub 2007-08-28 22:53:20 +00:00
  • 5b3221b8e3 Fix mousehweel test in opera. crschmidt 2007-08-28 22:12:44 +00:00
  • cbaebbc177 Overlay over Google Layer not correctly positioned when zooming, originally reported by Pfirter Lukas. (Closes #849) This is solving a general problem with overlays + EventPane subclass zoom changes. crschmidt 2007-08-28 21:57:05 +00:00
  • a1c040e3c0 removing use of getArgs from the library (closes #860). Tim Schaub 2007-08-28 20:18:47 +00:00
  • f2ea9b4afa fix a broken Function.prototype.bind() (Closes #876) euzuro 2007-08-28 18:31:18 +00:00
  • a84e511c1f Adding neglected polygon hanlder test. Should have gone in with r4076. (See #934) Tim Schaub 2007-08-28 16:53:59 +00:00
  • 153b7a2a78 Properly destroy features in the polygon handler. Many thanks to fredj who has caubht these issues, provided clear patches, and written solid tests. More please. (Closes #934) Tim Schaub 2007-08-28 16:34:53 +00:00
  • 2762e3ea47 Stop WFS layer from requesting data when layer is not in range. (Closes #685) Note that this is not a complete fix, but instead a patch for 2.5: after 2.5, this should be changed/removed when map.setCenter() is fixed. (See #937) crschmidt 2007-08-28 12:01:47 +00:00
  • 542597bf02 deprecate MapServer.Untiled in favor of MapServer with singleTile: true. (Closes #866) Thanks for the help to all. crschmidt 2007-08-27 23:22:13 +00:00
  • 2d636c1ae4 Properly destroy features in the point, path, and polygon handlers. Patch with tests from fredj - thank you for the catch and the great patch. (Closes #931) Tim Schaub 2007-08-27 21:03:28 +00:00
  • 661d643b4f Give handlers a non-API evt property - this to be used by other controls in the library only. Eventually, we may decide to restructure this. (Closes #902) Tim Schaub 2007-08-27 19:55:04 +00:00
  • 0a5d7ba0bd add try/catch hack for IE so that it doesn't choke on offsetParent check. (Closes 798.) Tim Schaub 2007-08-27 19:33:43 +00:00
  • b133435e06 conditionally run Google tests based on protocol and host - print debug statements if key is not valid - this means that tests do not fail with an invalid key Tim Schaub 2007-08-27 18:27:23 +00:00
  • e4d857b167 removing HTML comment wrapping scripts - these haven't been necessary since Netscape 2.0 - if your browser doesn't run javsacript, please don't run these tests Tim Schaub 2007-08-27 17:47:50 +00:00
  • f04d110119 Documentation for Marker.destroy: We can't actually remove the marker from the layer because we don't have a reference to the layer, but this isn't adequately documented in the Marker.destroy api docs. (See #932) crschmidt 2007-08-27 17:28:12 +00:00
  • 2f9dbd1396 deprecate use of 'minZoomLevels' in WFS layer. (Closes #672) euzuro 2007-08-27 16:18:14 +00:00
  • 988e3b2e9a removing unnecessary use of google layer Tim Schaub 2007-08-27 16:07:01 +00:00
  • 2f915df985 remove IE clause from permalink test -- no longer needed. (Closes #730) euzuro 2007-08-27 16:06:15 +00:00
  • f7d1665a24 add removeLayer() function to Layers... implement it for EventPane so that it removes the extra 'pane' div when the layer is removed. (Closes #887) euzuro 2007-08-27 15:54:57 +00:00
  • 39d9819f81 rename and deprecate getArgs() function in favor of getParameters(), make it such that it parses comma-separated values from key/value pairs into Arrays (since they are encoded that way). (Closes #860) euzuro 2007-08-27 15:08:09 +00:00
  • 4636c4a6d4 add getDataExtent() method to layer (experimental) and to markers layer (api supported). thanks for the feature request and original patch, anonymous ol-er :-) (Closes #750) euzuro 2007-08-27 14:44:44 +00:00
  • 1cf74313ab allow an uninitialized Bounds object to be functional (and extendable). thanks for the extra docs cr5 (Closes #929) euzuro 2007-08-27 13:00:54 +00:00
  • c79f1a56c8 (Closes #730) These changes make the permalink smarter in the case where we already have some URL args in the URL. Thanks to penyaskito for the bug report. crschmidt 2007-08-27 12:46:29 +00:00
  • 61a6171a63 calling limitSigDigs() on a floater now raises an error. console console (Closes #862) euzuro 2007-08-27 08:52:12 +00:00
  • ea31ec076b remove unused 'events' property from Feature (Closes #922) euzuro 2007-08-27 08:30:59 +00:00
  • ab40f522c9 "JS error after using mousewheel without having moved the mouse before." Update MouseWheel handler to use center of map if no mousemovement has been seen yet. (Closes #882) crschmidt 2007-08-25 07:46:52 +00:00
  • f2ef59264a add support for specifying the GeoRSS popup size as an option to the layer. Default behavior stays the same, but you can now specify popupSize as a layer option to the GeoRSS constructor. (Closes #883) crschmidt 2007-08-25 07:42:11 +00:00
  • b9a1287a5f "Event object conflict: If you include OpenLayers.js AFTER including prototype.js, this effectively replaces most of prototype's Event object with the OpenLayers.Event object, which has undesirable results (i.e. calling Event.observe is actually calling OpenLayers.Event.observe)." Fixed by only creating Event is Event does not already exist. (Closes #880) crschmidt 2007-08-25 07:39:28 +00:00
  • d418b7f8da Adding two test pages that didn't make it in r4036 - that devilish ticket. (See #666.) Tim Schaub 2007-08-25 03:39:57 +00:00
  • c8afa7222b Allow for users to determine whether the bounding box should be encoded or not on WMS and WFS layers. This change, by default, makes us compliant with the WMS spec again. crschmidt 2007-08-24 23:50:43 +00:00
  • 42e4f72a9f TMS layer needs to round x and y in TMS url. Patch by Paul Spencer, Review by Tim. (Closes #913.) crschmidt 2007-08-24 23:49:06 +00:00
  • 0d2f10ad5c EditingToolbar does not display first segment in VML until 3 points added. This fixes the bounds, which fixes the vml behavior in IE. (Closes #666.) Hooray, no more devil ticket. crschmidt 2007-08-24 22:33:28 +00:00
  • c2c821e4c2 DragFeature test Broken in IE6. The tests all passed because this only caused problems on destroy()/page unload, after all the tests had been run. Thanks for the review, tschaub. (Closes #923.) crschmidt 2007-08-24 22:07:18 +00:00
  • 494870d447 correct control name in menu Tim Schaub 2007-08-24 16:59:04 +00:00
  • 7266a06965 even though we're trying to discourage its use, we might as well call a pig by a pig. this file is defining the WMS.Untiled class... it ought to say so. euzuro 2007-08-24 15:45:55 +00:00
  • 0a6eca4b33 (Closes #920) - adding clearBounds() test. Thanks to pierre for the good patch for this missing test. euzuro 2007-08-24 13:38:24 +00:00
  • fb7466b1c2 coding standards -- lines longer than 79 characters. splay these out -- makes them more readable. all tests pass FF & ie6 euzuro 2007-08-24 11:03:58 +00:00
  • 8ffc1a72fc #917 point.bounds needs to be non-null before the resize/rotate/move - thanks pgiraud for catching my sloppiness here Tim Schaub 2007-08-23 17:39:52 +00:00
  • 472f027a9f #915 geometry manipulations need to call clearBounds Tim Schaub 2007-08-23 17:16:00 +00:00
  • 08e4e19502 doc menu cleanup Tim Schaub 2007-08-23 16:35:04 +00:00
  • ab73cc3f79 #915 Adding support for GeoJSON vector format. Many thanks to Chris for the exhaustive tests on this one. Tim Schaub 2007-08-23 16:29:03 +00:00
  • c6850a2b6a Closes #914: change Map initialization to object rather than id to avoid a bug when launching from a permalink. Paul Spencer 2007-08-23 14:09:57 +00:00