Commit Graph

  • a56fe160d2 The built library file is now at the root level in the release archives (Closes #2923) pgiraud 2010-11-12 14:22:10 +00:00
  • 8e9087344d Updated single tile example. Tim Schaub 2010-11-10 18:23:58 +00:00
  • 851681cca1 changing an existing testcase to show that Format.WFST will write out srsName correctly on the envelope tag for a BBOX filter, non-functional change (closes #2921) bartvde 2010-11-09 13:08:56 +00:00
  • 66960d392f Filter strategy constructor should not need filter, r=tschaub,fredj (closes #2841) bartvde 2010-11-09 12:57:06 +00:00
  • c8c9b51e73 Fixed OverviewMap and PanZoomBar controls. The former was broken because the extent rectangle div now has to be added to the viewPortDiv instead of the div, and the latter because it uses pagePosition where it doesn't need to, with an incorrect argument. r=fredj (closes #2247) ahocevar 2010-11-08 12:26:40 +00:00
  • 003312856c Update KML layer example. Tim Schaub 2010-11-05 21:56:24 +00:00
  • 6763ec26f8 fix minor typo in a comment, non-functional change Éric Lemoine 2010-11-05 14:14:28 +00:00
  • 34c52fb5a8 handleBrowserEvent: don't compute mouse position if it's not needed. r=erilem (closes #2880) Frédéric Junod 2010-11-05 14:07:40 +00:00
  • 5924c75c9b in Popup.html mock BROWSER_NAME instead of Util.getBrowserName, non-functional change (closes #2919) Éric Lemoine 2010-11-05 14:05:41 +00:00
  • a59266325b Make it so getMousePosition does not report incorrect position when borders are used in containing elements, by replacing the pagePosition method with a new one and attaching map events to the internal viewport div instead of the user provided map div. r=erilem,tschaub (closes #2247) ahocevar 2010-11-05 12:44:38 +00:00
  • e40bb1f10d Support EPSG:3857, EPSG:102113 and EPSG:102100 as additional web mercator aliases. p=tschaub, r=me (closes #2915) ahocevar 2010-11-05 07:49:12 +00:00
  • b9517a4cb5 Handle projections with different aliases: smarter Projection.equals and Layer.WMS.getFullRequestString methods. r=tschaub (closes #2914) ahocevar 2010-11-05 07:33:38 +00:00
  • aa9112c494 Avoiding unnecessary repeated checks of navigator.userAgent. The constants added here should not be used outside the library. In the future, they should be removed from the library. r=ahocevar (closes #2911) Tim Schaub 2010-11-03 00:10:00 +00:00
  • 89c215bba4 Fixing up the WMS Post tests so they don't override getBrowserName (closes #2912). Tim Schaub 2010-11-02 19:35:02 +00:00
  • 532f64f105 Remove the activate, deactivate and setMap functions from the WMTSGetFeatureInfo control. Not needed because they do the same as the parent class. r=erilem (closes #2805) Frédéric Junod 2010-10-28 06:50:31 +00:00
  • 7fd84b613d avoid double redraw when panning/zooming. p=tsauerwein,r=erilem (closes #2801) Frédéric Junod 2010-10-28 06:44:35 +00:00
  • 8024e58177 do not assume that the browser won't add new script tags to the DOM before it's done with the evaluation of OpenLayers.js, r=fredj,ahocevar (closes #2873) Éric Lemoine 2010-10-27 10:26:05 +00:00
  • 3c57b6b36c Add missing semicolon and remove 'date' local variable declaration (already declared at the beginning of the function). Tests still pass with FF. Non-functional change. Frédéric Junod 2010-10-27 10:12:01 +00:00
  • da9bf7991d remove duplicated code in OpenLayers.html tests, no functional change Éric Lemoine 2010-10-26 14:09:26 +00:00
  • a5e06e66e2 add '-khtml-user-select: none;' to prevent the selection of the element .r=erilem (closes #2898) Frédéric Junod 2010-10-26 06:48:35 +00:00
  • e087e31621 Remove overhead from OpenLayers.Class, using erilem's fancy OpenLayers.inherit function. r=erilem (closes #2899) ahocevar 2010-10-22 20:34:21 +00:00
  • 1b44b82908 Make sure that the background node is removed when redrawing with a different symbolizer. Thanks ahtih for this excellent debut patch. p=ahtih, r=me (closes #2891) ahocevar 2010-10-20 14:01:36 +00:00
  • 2bb081255e Mention that layer.display is not designed for external use, and redirect users to setVisibility. No functional change. crschmidt 2010-10-18 19:12:13 +00:00
  • e606386b94 Path handler: create APIFunction from dblclick internals (called finishGeometry) so people can programmatically stop the path handler, r=erilem (closes #2889) bartvde 2010-10-18 09:46:46 +00:00
  • 107cf7948c remove property Layer.Vector.isVector, it serves no purpose, r=bartvde (closes #2888) Éric Lemoine 2010-10-18 08:09:56 +00:00
  • 6c56531378 change server for the example, because wfs on demo.opengeo.org appears to be broken. ahocevar 2010-10-16 21:58:49 +00:00
  • 44bba4bc6b dos2unix, non-functional change bartvde 2010-10-15 14:36:48 +00:00
  • 12d3c86eb4 Avoid VML rendering issues with zero area inner rings. We don't actually do an expensive area calculation, but just make sure that we have at least three distinct points. This version is slightly different from Tim's previous patch: it compares the VML path components rathter than the geometry components, which is less expensive and more reliable (because the VML path uses integers). p=tschaub,me r=me (closes #2876) ahocevar 2010-10-15 13:47:35 +00:00
  • 2176013e24 Use an OSM layer instead of TMS with a custom getURL. Non functional change. Frédéric Junod 2010-10-15 11:43:53 +00:00
  • 1ce6ce1827 fixed APIdocs. ahocevar 2010-10-14 18:52:19 +00:00
  • ea3999d755 partially reverted r10732 (because we don't deactivate controls on destrly) and reverted r10810 (because it is not needed any more). r=elemoine (closes #2864) ahocevar 2010-10-14 10:57:31 +00:00
  • 758a252bd8 reverted r10832 - inclusion of Console.js should be handled elsewhere. Thanks elemoine for mentioning this. ahocevar 2010-10-14 08:26:12 +00:00
  • aa49e90a2f added missing @requires. Thanks jorix for spotting this (see #2873) ahocevar 2010-10-14 08:18:56 +00:00
  • 102f7da67e Also handle the case where the regex does not match in OpenLayers.js::_getScriptLocation, and use a shorter variable name for the match. In addition to the reviewed patch, also added some comments about simplification in 3.0, and to make jorix happy. Finally, moved VERSION_NUMBER to the top to make it easy to see it in a minified build. r=elemoine (closes #2873) ahocevar 2010-10-14 08:08:54 +00:00
  • 1397f816b5 Adding interior ring digitizing for polygons. Thanks jachym for the initial work. r=ahocevar (closes #1894) Tim Schaub 2010-10-13 22:12:52 +00:00
  • ba21865e28 Update jugl. Tim Schaub 2010-10-13 19:01:00 +00:00
  • 113f87b317 return an empty string if the script don't ends with 'OpenLayers.js', add OpenLayers.VERSION_NUMBER. r=elemoine (closes #2873) Frédéric Junod 2010-10-13 13:59:31 +00:00
  • 485ebaa316 Made _getScriptLocation smarter, and added it to SingleFile.js also. This means that single file builds no longer need to contain OpenLayers.js. r=eleomine (closes #2873) ahocevar 2010-10-13 13:02:08 +00:00
  • 8dc19c84c7 Layer/TileCache.js missing @requires to Tile/Image.js, reported by fvanderbiest, no functional change (closes #2861) Éric Lemoine 2010-10-11 18:40:55 +00:00
  • 0bcf869632 Excluding Lang dir in library.cfg (Lang/en.js is pulled in by OpenLayers.js). Tim Schaub 2010-10-11 15:57:40 +00:00
  • 8047afd909 Adding support for excluding directories when an includes list is not explicitly provided. For our full.cfg example profile, we can exclude the OpenLayers/Lang and Firebug directories instead of having to explicitly list language files to exclude (see #2871). Tim Schaub 2010-10-11 15:51:29 +00:00
  • 5ec2f0371d Testing commit emails. crschmidt 2010-10-09 22:15:20 +00:00
  • e22a37476d remove unwanted streetview control from the google layer. r=pgiraud (closes #2868) ahocevar 2010-10-08 16:23:22 +00:00
  • ee9c3e76af add an Extend Cluster Strategy example, provided by Marc Jansen, no functional change to the library, r=me (closes #2865) Éric Lemoine 2010-10-07 08:29:06 +00:00
  • 26d20c1fb1 cannot destroy a map with panels, r=fredj (closes #2864) Éric Lemoine 2010-10-06 09:15:00 +00:00
  • 233ffe6a10 Use div.childNodes instead of div.children, as div.children isn't supported by FireFox 3.0, p=fvanderbiest, r=me (closes #2855) Éric Lemoine 2010-09-30 11:26:29 +00:00
  • 2049b2a8b2 Use new MultiMap API key for the mm example. ahocevar 2010-09-30 09:30:12 +00:00
  • 1d1911e28d Fire measurepartial synchronously if in freehand mode. Cancel delayed messages when measure completes, when control is deactivated, or when measure is canceled. p=jorix,me r=me (closes #2820) Tim Schaub 2010-09-28 21:57:00 +00:00
  • 059b83a52f we get a js error in the Fixed strategy when the layer is removed from the map right after strategy.load is called, p=fvanderbiest, r=me (closes #2851) Éric Lemoine 2010-09-27 10:13:00 +00:00
  • 0dc5793834 undo fix for #2850 bartvde 2010-09-24 08:44:12 +00:00
  • fe16f7b409 Control should set this.div to null in destroy, r=fredj (closes #2850) bartvde 2010-09-24 06:39:08 +00:00
  • ff6a4d44e7 Fixing identation, no functional change pgiraud 2010-09-21 13:20:11 +00:00
  • f4a99d4052 Fixed viewRequestID regression and mixin issue that caused the mixin to always be applied unless maxGetUrlLength was explicitly set. Includes a regression test for the viewRequestID bit. r=tschaub (closes #2847) ahocevar 2010-09-17 23:20:55 +00:00
  • b8feb3c22e Making it so OpenLayers.Util.getParameters doesn't fail with improperly encoded query string parameter names or values. We expect parameter names and values to be encoded according to RFC 3986 (http://labs.apache.org/webarch/uri/rfc/rfc3986.html). However, there are cases where browsers will not use utf-8 character encoding in generating a URL. In these cases, the unescape function provides a fallback that tries to use the ISO Latin character set. This may not always be a good second assumption, but it is better than failing to load the library when the first assumption fails. r=ahocevar (closes #2821) Tim Schaub 2010-09-17 16:48:11 +00:00
  • bb71632848 Removing null default values from symbolizers. Later, we could consider static setDefaults methods on the constructors. r=ahocevar (closes #2840) Tim Schaub 2010-09-17 16:32:07 +00:00
  • 38c3a4d4c5 use Util.getParameters correctly. r=tschaub (closes #2846) ahocevar 2010-09-17 16:20:54 +00:00
  • e22389086c removing unused method. Non-functional change, see #2824 ahocevar 2010-09-17 09:38:46 +00:00
  • ce90aebfd0 Made Tile.Image.IFrame an addin which will be used only if a layer is configured with the maxGetUrlLength option. This deprecates Layer.WMS.Post. r=tschaub (closes #2824) ahocevar 2010-09-16 21:54:22 +00:00
  • 1284b71bbc Updating basic example. Tim Schaub 2010-09-16 20:34:49 +00:00
  • c70a97fb77 Removing redundant redraw. This patch is an excellent example of how things should be done, well done jorix. p=jorix, r=me (closes #2837) ahocevar 2010-09-14 07:30:28 +00:00
  • 5417057974 Removing redundant line of code that causes problems when placing the div outside the map. Thanks jorix for catching this. p=jorix, r=me (closes #2836) ahocevar 2010-09-13 21:15:13 +00:00
  • a1f20ee345 Avoid panel being displayed after deactivate. p=jorix, r=me (closes #2835) ahocevar 2010-09-13 13:26:07 +00:00
  • 35092e9226 Added keywords and tags to examples. People who want to help clean up our examples collection should look for the cleanup tag. Patch created by marcjansen during the FOSS4G 2009 and 2010 code sprints. Thanks! p=marcjansen, r=me (closes #2830) ahocevar 2010-09-13 12:26:18 +00:00
  • 4be7614570 Add support for examples list to parse and use tags. Patch from marcjansen at the code sprint at FOSS4G2010. Woohoo. r=me, (Closes #2829) crschmidt 2010-09-13 11:27:12 +00:00
  • 581525af98 There is no reason to not create OpenLayers.Filter instances. Non-functional change (see #2818) ahocevar 2010-09-10 15:10:05 +00:00
  • a40edf44f7 Testing commit. crschmidt 2010-09-10 14:27:53 +00:00
  • 3aeab46132 Putting the script tag at the end of the body (for demonstration purposes). Tim Schaub 2010-09-10 13:14:06 +00:00
  • d879ca8d00 add MultiMap tests without document.write, because this does not work in IE. We also have to do a try-catch in the first test to avoid tests from failing in WebKit browsers when the api key is incorrect. Non-functional change. ahocevar 2010-09-10 12:49:10 +00:00
  • 8177cafd06 Tagging OpenLayers 2.10 final release. release-2.10 crschmidt 2010-09-09 09:32:31 +00:00
  • 54b31bb281 Prepping for final release. crschmidt 2010-09-09 09:31:13 +00:00
  • 92429bb7c2 add failure handler to SOS example, non-functional change bartvde 2010-09-04 08:27:21 +00:00
  • 47173e6b62 protect SOS example against misbehaving SOS bartvde 2010-09-04 08:22:58 +00:00
  • 3471306a2e (Minor spacing, testing commit.) crschmidt 2010-09-03 16:43:33 +00:00
  • 26eccbd049 Add a release tool to SVN. crschmidt 2010-09-02 21:53:34 +00:00
  • 4fff45f9b4 Tagging the 2.10 rc2 Release release-2.10-rc2 crschmidt 2010-09-02 21:47:14 +00:00
  • efb925d632 Commit fixes for: crschmidt 2010-09-02 21:43:25 +00:00
  • 95512dfa5a The cluster strategy originally destroyed all features on the layer because it created them. When the threshold property was introduced, the strategy should have been removing instead of destroying features that it didn't create. This wasn't a problem until r10597 when the destroyMethod method was made to actually work. With this change, the cluster strategy removes instead of destroys features. r=crschmidt (closes #2815). Tim Schaub 2010-09-02 18:29:06 +00:00
  • f76f8ded46 fix up SOS client example, non-functional change, the underlying SOS service had changed something in the accepted resultModel values bartvde 2010-09-02 09:35:09 +00:00
  • cfa3353d42 Change the remaining examples that reference MetaCarta Labs server to point to the newly set up TileCache service on the OSGeo projects server. crschmidt 2010-09-01 19:12:41 +00:00
  • fb35f555be Change all references to the labs.metacarta.com WMS server to the OSGeo-hosted vmap0.tiles.osgeo.org server. crschmidt 2010-09-01 11:36:05 +00:00
  • e3d36e80e9 Minor changes in languages: "es" and "ca". (Pullup #2751) crschmidt 2010-09-01 03:45:25 +00:00
  • f0d474e50b Change license text to point to "OpenLayers contributors", referencing authors.txt file. In reality, MetaCarta does not own copyright to these files, they merely have a right to distribute them under the license terms agreed to by the contributors. At this point, there is no longer any reference to MetaCarta as a copyright holder in the OpenLayers project, only to its individual contributors via the authors.txt file. crschmidt 2010-09-01 03:06:31 +00:00
  • dde71c9b3b fix up tests in Control SLDSelect (closes #2814) bartvde 2010-08-29 11:06:45 +00:00
  • 7f50e32905 fix up tests in Layer.Image as well see #2360 bartvde 2010-08-29 08:45:51 +00:00
  • fd083d64d2 no way to pass read options from protocol to format, r=ahocevar,elemoine (closes #2656) bartvde 2010-08-29 08:41:13 +00:00
  • f6a717ccf5 tagging the 2.10 rc1 Release release-2.10-rc1 crschmidt 2010-08-26 14:43:28 +00:00
  • 48145f62be Branching for 2.10 release crschmidt 2010-08-26 14:42:51 +00:00
  • 54fd1f561c Fix for Anchored popup does not respect anchor size when relative position is 'tl', (Closes #2651) crschmidt 2010-08-26 14:35:00 +00:00
  • acae8a8013 Panel: Adding controls, unnecessarily activations occur followed by deactivations (closes #2769) crschmidt 2010-08-26 14:34:30 +00:00
  • e32372e4b2 replace marker url (closes #2273) Frédéric Junod 2010-08-25 12:13:57 +00:00
  • 8b0d660b00 add missing semicolon Frédéric Junod 2010-08-25 06:27:44 +00:00
  • a167860818 add missing semicolon Frédéric Junod 2010-08-25 06:25:11 +00:00
  • 257cc5576b Give Layer.Vector a getFeatureByFid and a getFeatureBy method. Thanks vog for this very clean patch and the verbose unit tests. r=me (closes #2722) ahocevar 2010-08-24 11:13:51 +00:00
  • fce15acc01 better regex for host check (see #1691) ahocevar 2010-08-24 09:25:46 +00:00
  • b7f0f27dcd re-added MultiMap test with new API url and API key, but only if running from (www.)openlayers.org. The multimap-mercator.html example was fixed with r10552 already (closes #1691) ahocevar 2010-08-24 09:19:19 +00:00
  • cdb4b78136 fix WKT MULIPOINT in tests (see #2670) Frédéric Junod 2010-08-24 07:12:51 +00:00
  • 5f59b8d72d add missing semicolon Frédéric Junod 2010-08-23 14:39:06 +00:00
  • 7295ffc9d4 Element.{show|hide}: check element before setting display. r=elemoine (closes #2652) Frédéric Junod 2010-08-23 12:43:36 +00:00
  • 6e28a7cafd Layer: add getter method for maxExtent, p=regli_dominik, r=me Éric Lemoine 2010-08-23 12:37:39 +00:00
  • 6f73f7059f make Layer.addOptions call initResolutions if necessary, r=bartvde (closes #2360) Éric Lemoine 2010-08-23 12:28:57 +00:00