Commit Graph

  • 3719a3e875 tabs. no func change euzuro 2007-11-21 08:24:30 +00:00
  • 82e43d743f add smooth drag panning to yahoo layer. the trinity is united. killer props to cr5 for digging through and finding these. ladies and gentlemen, you now have *no*excuse* for not using openlayers. smooth and sexy GYM commercial layers. (Closes #1163) euzuro 2007-11-21 08:22:39 +00:00
  • 9acb997b20 Add an option for turning off smooth dragging, since it works on a pixel level, and our geography doesn't, so the numbers end up off in the north-south direction when *not* using spherical mercator. Now, if someone comes to use us and says 'oh my! you ruined me!' we can say 'options! we love options!' and do a rain dance. (Closes #1164) crschmidt 2007-11-21 08:22:35 +00:00
  • 14ae911b47 update ND comment. tabbing euzuro 2007-11-21 08:06:26 +00:00
  • cd9ee75a73 give the ve layer smooth (but safe) dragging. just like google layer. (Closes #1161) (See #1053) euzuro 2007-11-21 07:54:45 +00:00
  • b89126ae20 get resolution from map via the accessor instead of directly from the property. (Closes #1162) euzuro 2007-11-21 07:41:15 +00:00
  • f7d417af54 change the spherical-mercator -- our prime example -- to use 2.82 of Google, just so we pick up smooth dragging, and fix the broken API key (for my domain, cough) of draggingGoogle. crschmidt 2007-11-21 03:25:49 +00:00
  • 0e53fa10bf patch for smoother dragging of google layer. For now this remains a wierd (and admirable) hack... restricted to the use of v2.82 of the google api... but hot damn. it does work. hopefully the good folks at google might help us out and open this up as part of the API. Dinosaur egg kudos to cr5 for finding this and taking the time to plug it in. Thanks to tschaub for the quick review. (Closes #816) euzuro 2007-11-20 22:21:54 +00:00
  • 3ae69b0789 improve map's getLayer() function, includes improved test. cheers to pensyakito for bringing this up and to cr5 for the review (Closes #861) euzuro 2007-11-20 06:21:07 +00:00
  • 8296db3072 fix ND definition for OpenLayers.Renderer.SVG. Thanks for spotting this one, fredj (Closes #1156) euzuro 2007-11-19 19:04:53 +00:00
  • aadb1b31a1 removing unused third arg from nodeFactory - thanks for the patch pgiraud (closes #1139). Tim Schaub 2007-11-16 18:30:19 +00:00
  • eef420ded6 correcting title of example Tim Schaub 2007-11-16 17:34:52 +00:00
  • 7a37430ef5 adding point and line drawing to the select feature demo Tim Schaub 2007-11-16 17:33:54 +00:00
  • ceecacfe3a adding irregular option to regular polygon control - now, go draw rectangles, and more - thanks for the review elem (closes #1098). Tim Schaub 2007-11-15 23:37:36 +00:00
  • 75163f6635 avoid code duplication in Renderer/SVG.js, thanks fredj for the patch (closes #1144) Éric Lemoine 2007-11-15 15:31:48 +00:00
  • ad40db89af Fix for addPopup()'s 'exclusive' option -- reworking of the for loop to make sure all popups are removed without error. Great find on this by li ethan and excellent work turning it into a patch by fredj. Once again, open source prevails. Thanks everyone. All tests pass FF/IE6. (Closes #1149) euzuro 2007-11-15 14:54:18 +00:00
  • adf2381731 Make OpenLayers.Util.applyDefaults() return the modified object. To be consistent with OpenLayers.Util.Extend() and be able to use anonymous object as the 'to' object. Thanks fredj for the patch and tests. Thanks euzuro and crschmidt for the reviews. (closes #992) Éric Lemoine 2007-11-09 20:13:31 +00:00
  • cbdf3522a7 correct writing of multi-part geometries for KML - thanks for the swift review crschmidt (closes #1132). Tim Schaub 2007-11-09 18:50:06 +00:00
  • 0ae59513db minor space and comment changes only (for KML format) Tim Schaub 2007-11-09 18:19:14 +00:00
  • c986fe376e "Sometimes, it is handy to have "zoomWorld" icon in OpenLayers.Control.PanZoomBar. This patch enables it." Patch from jachym. (Closes #1131) crschmidt 2007-11-09 17:57:27 +00:00
  • 10eaa329ba stop the renderers from flashing black and filling white - ahhh, much prettier vector drawing now - thanks to pgiraud and crschmidt (closes #1042). Tim Schaub 2007-11-09 17:14:10 +00:00
  • 15e6809bf2 remove some stray oldschool jsdoc comments for the CLASS_NAME property. this re-closes the 853 ticket (Closes #853) euzuro 2007-11-09 16:23:54 +00:00
  • d3125f250c putting google back in there - excuse me for breaking this acceptance test - how about a tests/accpetance directory? Tim Schaub 2007-11-07 19:13:21 +00:00
  • 9e35dd7581 getting rid of google script here Tim Schaub 2007-11-07 17:26:42 +00:00
  • 4a3011a0f3 even more explicit in the TileCache layer doc comments Tim Schaub 2007-11-06 19:40:23 +00:00
  • aab744a5c8 correcting a typo in a doc comment Tim Schaub 2007-11-06 17:05:09 +00:00
  • 99d4d662e4 A bit more documentation on the TileCache layer class. Tim Schaub 2007-11-06 17:00:22 +00:00
  • 4b83b83018 Simple walkthrough made for FAO GeoNetwork workshop. Intended to be a stopgap until the new automated example indexing is committed to trunk. Schuyler Erle 2007-11-06 11:26:29 +00:00
  • 2834d66879 Change examples from using OnEarth WMS because it no longer support 512px tiles. Schuyler Erle 2007-11-06 11:24:21 +00:00
  • 4fe97a92c6 giving the overview example two maps Tim Schaub 2007-11-05 17:41:39 +00:00
  • 2b55af61b9 give wfs delete transactions the correct feature.fid - thanks for the review elemoine (closes #1119). Tim Schaub 2007-11-05 16:02:29 +00:00
  • 1cccb29a3b add yards and nautical miles to OpenLayers units. (Closes #1065) crschmidt 2007-11-02 02:20:25 +00:00
  • 07965f6fed Update TileCache format determination to support TileCache's weird jpg->jpeg translation correctly. Also, update example to show usage, and tests to test jpeg instead of testing png incorrectly. crschmidt 2007-11-02 02:16:44 +00:00
  • 8007298d7b Dissalow vertex deletion while dragging - thanks for the review crschmidt (closes #1122). Tim Schaub 2007-11-01 23:06:10 +00:00
  • ba8354b593 Make the drag handler only call done if it actually dragged - thanks for the review Eric (closes #1118). Tim Schaub 2007-11-01 20:53:06 +00:00
  • 756f6ca24d handlers have to check if layer exists before destroying it. Thanks pgiraud. (closes #1107) Éric Lemoine 2007-11-01 13:37:16 +00:00
  • 7ab5d456a8 couldn't help making this small code reduction. no functional change. all tests pass. euzuro 2007-11-01 08:31:27 +00:00
  • e14f0c20b8 since tschaub fixed the limitSigDigs() function to no longer be restricted to integers, nd comments should reflect that. euzuro 2007-11-01 08:23:10 +00:00
  • 6360ebadcd when we made the nd switch, we agreed that functions which are on static objects would be called Function and functions defined in prototypes would be called Methods. Since these are all now static functions, they should be labelled as such. No functional change here. euzuro 2007-11-01 07:22:11 +00:00
  • 2b7dc4d9e4 remove unneccesary reproject: false option. crschmidt 2007-10-26 02:06:46 +00:00
  • db416603e1 Now 20% more lite! Schuyler Erle 2007-10-25 21:51:40 +00:00
  • 16aa4cf7f0 (Closes #1084) Apply patch to set resolution and correctly scale width and height of SVG rectangles. Paul Spencer 2007-10-19 18:39:27 +00:00
  • 65d3947045 remove local scope variables from global namespace. Paul Spencer 2007-10-19 18:34:00 +00:00
  • 4bafcddff1 properly initialize OpenLayers Tim Schaub 2007-10-19 18:20:18 +00:00
  • 5c4dae31c3 embedded comment in license text removed to clean up final lint error on built version of OpenLayers.js Paul Spencer 2007-10-19 01:14:39 +00:00
  • 4a6e180637 semi-colon and curly brace stuff for the Rico library. Paul Spencer 2007-10-18 23:49:41 +00:00
  • dc6466c621 as long as we're cleaning up this little function. let's make it look pretty. Another non-functional change. euzuro 2007-10-18 16:27:09 +00:00
  • 8f0ded1092 remove added (but commented out) console.log() call from r5002. As long as we're going it, let's give our return string a better variable name and move the newParams into its own variable, too. no functional change here. all tests pass. euzuro 2007-10-18 16:25:43 +00:00
  • 032601d315 Fix small oddities from r5002. Odd character in ND for pagePosition() and /** **/ style comment in function getParameters(). Our style up until now has been to use // for comments when mixed with code. This allows for easier disabling of large chunks of code using /** **/ for debugging. euzuro 2007-10-18 16:17:35 +00:00
  • 4cf0ffeb9f remove DigitalGlobe layer that was inadvertantly added in changeset:5002 Paul Spencer 2007-10-18 13:57:17 +00:00
  • 3e9beffc99 large scale syntactic clean up adding missing semi-colons and curly braces around blocks. Paul Spencer 2007-10-18 12:27:35 +00:00
  • 954df47c30 Update news.txt to indicate the release of 2.5. (And I wanted to be commit 5000.) crschmidt 2007-10-18 01:21:33 +00:00
  • 4564090ee7 readability fix for setTileSize(). No reason to be re-declaring the size variable -- it already exists as a parameter. Thanks to pvalsecc for spotting this one. :-) (See #1094) euzuro 2007-10-17 15:28:54 +00:00
  • faac1f98c9 Fix synchronous Ajax requests in IE. Reported by bphilippot (Closes #1097) crschmidt 2007-10-17 14:21:07 +00:00
  • ed3221441c Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully completes an important blocker for moving forward with OSGeo incubation. crschmidt 2007-10-17 02:21:22 +00:00
  • 91e9add5a8 TMS doesn't take params. (Documentation fix only, no functional change.) crschmidt 2007-10-14 20:06:43 +00:00
  • d9821260ae update ND and function declarations for getFullRequestString() in WFS/WMS to match the original in their superclass, HTTPRequest. euzuro 2007-10-12 18:26:52 +00:00
  • 961a5a6613 Update release building script to build naturaldocs. crschmidt 2007-10-12 13:30:22 +00:00
  • b9a04a0e9b "In Feature.js the popup is always newly created, instead of reusing the existing popup.", reported by (and original fix provided by) Bart. Patch reworked, and tests modified to accomodate for destruction of popup. (Closes #815) crschmidt 2007-10-12 01:36:12 +00:00
  • 561f4d6a22 callback for close button on popup (closes #1061) Éric Lemoine 2007-10-10 19:03:18 +00:00
  • 7922c48608 Tag OpenLayers 2.5 Final Release. release-2.5 crschmidt 2007-10-09 17:45:37 +00:00
  • 8312bb3f6d Fix a missing argument in the onFeatureInsert call. crschmidt 2007-10-08 19:18:41 +00:00
  • d2ecceb5f0 Integrate pierre's suggested changes from 1012, based on user confusion when working with the vector-features.html example. (Closes #1012) crschmidt 2007-10-07 00:47:30 +00:00
  • 7ac845503f Tag RC5. Only fix in this release is for # 1062. release-2.5-rc5 crschmidt 2007-10-04 22:53:15 +00:00
  • e65caac909 Pullup r4819 from trunk: fixing GeoJSON serializer breakage caused by draft4 update. (Closes #1062) crschmidt 2007-10-04 22:51:23 +00:00
  • 3a00d05358 adding example of panel outside viewport Tim Schaub 2007-10-04 19:21:24 +00:00
  • 29c33888cf Give MouseToolbar a CLASS_NAME (closes #1057). Tim Schaub 2007-10-04 18:39:17 +00:00
  • 84ab6d9a2f The createCRSObject stuff never really worked. Unfortunately, the tests didn't catch it because they were all minimal unit tests -- so they never hooked up features to layers with projections. This fixes the createCRSObject function, including updated documentation, and includes tests for regression. (Pullup #1062) crschmidt 2007-10-04 18:11:15 +00:00
  • 71c338c3c6 coding standards. no functional change. (Closes #1047) euzuro 2007-10-03 22:34:08 +00:00
  • c38e1ee76c update comment to be valid for given code. (Closes #1048) euzuro 2007-10-03 22:32:59 +00:00
  • 145e446ceb rearranging the style here for setBaseLayer() so that it's more readable, less duplication of code. No functional change, all tests pass euzuro 2007-10-03 22:32:01 +00:00
  • ee1455c399 Tag RC4. release-2.5-rc4 crschmidt 2007-10-03 21:47:20 +00:00
  • 4f62fdcfc8 Pullup for KML needs to automatically determine the namespace of the document it is handling. (Closes #1044) crschmidt 2007-10-03 21:18:39 +00:00
  • 5904d15680 KML should use the correct namespace for the placemark it is processing. This is slightly more expensive for parsing, but leads to the ability to load almost all KML Placemarks with geometries on the web, instead of a small portion of them. crschmidt 2007-10-03 21:15:09 +00:00
  • c505d23c7b Pullup fix for zooms to branch. (Closes #1043) 4791:4792 crschmidt 2007-10-03 20:42:35 +00:00
  • 6ecd34eaf0 Pull up most of the changes for what will be 2.5RC4: * Clone on WMS/MS Untiled, 4760:4761 (Closes #1013) * serviceVersion on TMS, 4720:4721 (Closes #1023) * W3CGeo in Format.GeoRSS, 4768:4769, 4778:4779 (Closes #1024) * GeoJSON Draft4 Update, 4769:4770 (Closes #1028) * pagePosition Regression 4782:4783, (Closes #1034) * example changes 4691:4692 (Closes #1040) * WFS missing registerTileListener 4759:4760 (Closes #1045) * Yahoo API to stop dragging 4792:4793 (Closes #1052) crschmidt 2007-10-03 20:27:15 +00:00
  • 408a7aee84 Disable dragging on the Yahoo API, since we implement it ourselves. Recent API changes have made working with the Yahoo! API more painful (more errors) but have also made available a function to change that, which we now use. (Pullup #1052) crschmidt 2007-10-03 20:11:50 +00:00
  • 137a69b17a Change to getZoomForResolution() (and those who call it) so that it does not choose the closest fit by default. Doing so was causing us problems, because user would drag a zoom box and then the map's new zoom would not contain said zoombox. Not good. Default is back to how it was before, but now there's an option 'closest' for those times when what we really want is the closest. Right now, the only time that's true is when we're switching baselayers. This is based on the work from sandbox/euzuro/zoomToResolution, which is started by reverting r4318. (Closes #1043) euzuro 2007-10-03 19:21:05 +00:00
  • cb494d0c3f Allow user to specify the 'slideFactor' for the default panzoom control. (Closes #996) euzuro 2007-10-03 16:19:04 +00:00
  • d29782e3e2 Add API method for changing an icon's marker image. crschmidt 2007-10-03 16:17:55 +00:00
  • 3d71b4ff4e IE thinks that window and document.body are really the same thing -- even though one has a style property and the other doesn't. This means that when we pass in 'window' to pagePosition, it blows up, but it didin't before a recent reorganization. Here, we create a short term preventative measure to ensure that old apps don't break -- this should be fixed in 2.6. (See #1034, #1051) crschmidt 2007-10-03 16:15:43 +00:00
  • 61bd874785 Fix Format tests (committed the wrong one.) (See #1024) crschmidt 2007-10-03 14:57:45 +00:00
  • 8ddd13db34 GeoJSON format back up to spec with draft 4. (See #1028) crschmidt 2007-10-03 05:32:18 +00:00
  • cb3cde8d1c Support W3C Geo in Format.GeoRSS -- this.geons was referenced ,but never defined. Add property and test. Reviewed by SDE (thx!), (See #1024) crschmidt 2007-10-03 05:30:17 +00:00
  • 5957d25583 Even though we're deprecating them, we can't go back. WMS.Untiled and MapServer.Untiled both need to be able to clone correctly. Patch with tests. (See #1013) euzuro 2007-10-03 01:39:08 +00:00
  • d000ca7b6b The WFS moveTo function was not calling addTileMonitoringHooks on new tiles it created after the first one. this means that the layer loadstart/loadend functions were never being called. Fix with a patch by rdewit. (See #1045) crschmidt 2007-10-03 01:23:35 +00:00
  • a1d3f20632 All geometry equals methods now work with bad arguments (closes #1041). Tim Schaub 2007-10-01 01:03:29 +00:00
  • 7ce4621042 Add vector layer to map (see #1040). Tim Schaub 2007-09-30 20:07:08 +00:00
  • 149e85c923 In changing base layers, we now rely on the old map resolution instead of the old map zoom. This means that for layers with different resolutions arrays, we try to keep the map resolution as consistent as possible (instead of keeping an arbitrary zoom level consistent). This change also fixes a bug that comes up in changing base layers for layers with different length resolution arrays (closes #1032). Tim Schaub 2007-09-30 18:11:27 +00:00
  • 01154beb5d from fredj: "in lib/OpenLayers/Layer.js and lib/OpenLayers/Control.js the div id is not passed to the createDiv() function." (Closes #1015) crschmidt 2007-09-30 16:41:42 +00:00
  • 33f85eeb35 From fredj: "layer.destroy() calls removeLayer() so control.destroy() should do the same by calling removeControl()". (Closes #1009) crschmidt 2007-09-30 16:25:43 +00:00
  • 46c8730601 Make VML Renderer use namespace set in this.xmlns, instead of hardcoding it in two places. From fredj. (Closes #1002) crschmidt 2007-09-30 16:24:02 +00:00
  • 2b2fccc847 Better firebug include. (Closes #1014) crschmidt 2007-09-30 16:22:58 +00:00
  • 1390a0a6f7 Do not copy by reference size/bounds/position in making a new tile. All tests pass ie6/ff (Closes #1026). euzuro 2007-09-28 21:37:05 +00:00
  • eacfa2b88a Remove 'drawn' property from Tiles. (Closes #1018) euzuro 2007-09-28 20:45:31 +00:00
  • af2f5b6577 Add serviceVersion property to Layer.TMS. (see #1023) Schuyler Erle 2007-09-28 18:13:55 +00:00
  • 8c003733cf add missing semicolons. Paul Spencer 2007-09-28 17:17:45 +00:00
  • c28f13f88d Fix to remove extraneous clear() from Tile.moveTo (Closes #1017) euzuro 2007-09-28 17:11:18 +00:00
  • 24200f73d8 Tag RC3 release-2.5-rc3 crschmidt 2007-09-21 13:41:47 +00:00
  • ef306a7cbe Pullup changes for RC3: * KML Examples broken (Closes #1001) * drag handler doesn't reset properties on left or improperly modified mousedown (Closes #1003) * Text nodes limited to 4096 in length (Closes #1006) * KML/GML Attribute CDATA Parsing (Closes #1007) * Control.MousePosition (Closes #1008) crschmidt 2007-09-21 13:32:42 +00:00