Commit Graph

  • ce0ba0b570 New saveState option to restore the active state of controls in a panel after re-activating the panel. r=crschmidt,jorix (closes #2753) ahocevar 2010-08-23 12:09:42 +00:00
  • a6319b2974 LonLat.add: cast arguments to float. r=crschmidt (closes #2686) Frédéric Junod 2010-08-23 11:50:56 +00:00
  • 19af3bb8e7 Fix a localization problem with the XML format's createTextNode method in IE, p=fvanderbiest,me r=fredj (closes #2782) Éric Lemoine 2010-08-23 08:51:46 +00:00
  • 7832d8dda1 Add a smooth transition for singleTile layer panning only. r=tschaub (closes #2593) Frédéric Junod 2010-08-23 07:04:39 +00:00
  • cb3fc7842b Add a new option to Control.OverviewMap to start maximized. r=bartvde (closes #2746) Frédéric Junod 2010-08-23 06:59:49 +00:00
  • 29dece02a5 Use the graphicOpacity to set canvas.globalAlpha. Move the image source assignment after the onload. r=crschmidt (closes #2608) Frédéric Junod 2010-08-23 06:52:17 +00:00
  • 6b9ee6bb5e WMSGetFeatureInfo: add an event when no queryable layers are found, r=crschmidt (closes #2744) bartvde 2010-08-22 18:44:44 +00:00
  • ed2e943e52 Update MousePositoin control to support activate/deactivate. Patch by jorix, tests pass, and controls.html example still works the same as before. (Closes #2520) crschmidt 2010-08-21 22:45:32 +00:00
  • c5f233ab8c Extend the maximum size of the FramedCloud popup to 1200px wide, instead of 600. Updated image and patch provided by adrian_gh.popa@romtelecom.ro, tested by me. r=me, (Closes #2742) crschmidt 2010-08-21 17:38:27 +00:00
  • bf778b21c1 Remove unused events from OpenLayers documentation. doc change only. (Closes #2553) crschmidt 2010-08-21 16:20:51 +00:00
  • 69032c0534 ArcIMS layer does not have a proper clone method. patch=bartvde, r=me, tests pass in Safari and IE, (Closes #2490) crschmidt 2010-08-21 16:17:12 +00:00
  • 3520c32140 In order to resolve a memory leak in IE, observable via drip, remove elemnts from panels before calling innerHTML. This resolves the memory error. All tests pass in FF and IE, and there are no obvious side effects I can imagine; committing. Patch from aabt, r=me, (Closes #2745) crschmidt 2010-08-21 16:10:21 +00:00
  • da14451dbd Fix from tim_abell to make build.py callable from another function, (Closes #2468) crschmidt 2010-08-21 16:06:06 +00:00
  • a785dc1b1f Commit fix for #2670 from fredj, r=me (Closes #2670) crschmidt 2010-08-21 16:04:50 +00:00
  • 23137091fc Make VML behave when removing previously added stroke symbolizers. r=tschaub (closes #2784) ahocevar 2010-08-20 23:56:34 +00:00
  • f37c9f8aef Making it so mergeWithDefaultFilter returns undefined if the protocol defaultFilter is falsey. r=ahocevar,me (closes #2796) Tim Schaub 2010-08-20 23:48:45 +00:00
  • ee7065c9fa Fixed ScaleLine when geodesic option is set to true and the map center is beyond the poles. Also added geodesic option to the Scale control. r=tschaub (closes #2600) ahocevar 2010-08-20 23:29:33 +00:00
  • 3f172c501d Adding a WMTSGetFeatureInfo control for querying WMTS layers. r=ahocevar (closes #2678) Tim Schaub 2010-08-20 22:49:08 +00:00
  • 25fac24436 Adding a filter strategy for limiting features that are included in a layer's collection. The strategy takes a filter and caches features that don't pass the filter. Call setFilter on the strategy to update the cache and collection on the layer. r=ahocevar (closes #2790) Tim Schaub 2010-08-20 22:41:01 +00:00
  • 28558c171c Giving the getCentroid method on geometry collections a 'weighted' argument. If true, the centroid will be calculated based on the weighted average of all component centroids. Thanks for the great patch dzwarg. r=me (closes #2469) Tim Schaub 2010-08-20 20:28:48 +00:00
  • 2c7eade60c Demonstrating that the layer.destroyFeatures() issue is already fixed (see #2649). Tim Schaub 2010-08-20 20:01:08 +00:00
  • 59953b8eb6 Adding a zoomOffset property to XYZ and TMS layers. This allows you to have a map with a maximum resolution that differs from the maximum cache resolution (if you want to show a subset of OSM for example). r=ahocevar (closes #2616) Tim Schaub 2010-08-20 19:40:53 +00:00
  • 5750b5f6e0 Properly setting the hoverRequest so it can be aborted. r=ahocevar (closes #2797) Tim Schaub 2010-08-20 19:30:00 +00:00
  • 050eda6670 Layer.WMS should use a supported exception format for WMS 1.3 by default, p=ahocevar, r=me (closes #2478) bartvde 2010-08-20 18:48:55 +00:00
  • 7eaa37856c don't treat strings as array. p=madair, r=me (closes #2563) ahocevar 2010-08-20 17:05:23 +00:00
  • 814810f6ed Give ReglarPolygon handler a layerOptions config option. p=zanchin, r=me (closes #2755) ahocevar 2010-08-20 16:58:39 +00:00
  • 9450124359 Made transformcomplete listener do as documented - return the transformed feature. p=patzi, r=me (closes #2714) ahocevar 2010-08-20 16:56:46 +00:00
  • 9d4e91e717 Creating a Type variable that refers to arguments[i]. Including parentheses when calling the constructor. r=elemoine (closes #2791) Tim Schaub 2010-08-20 15:50:46 +00:00
  • 0d6658f52d fixed positioning of rotated graphics after zoom change. r=tschaub (closes #2733) ahocevar 2010-08-19 15:51:19 +00:00
  • 7993fc177b Fixed onselect handling for the first down-move-up-out cycle. r=bartvde (closes #2735) ahocevar 2010-08-19 14:52:45 +00:00
  • 94c29f1d4d Updating example and tests to demonstrate the trackAttributes property for per point attribute parsing (see #2771). Tim Schaub 2010-08-18 18:53:43 +00:00
  • 42fedc4d69 Make it safer to extend the Google Layer by not invoking Map.getLayersByClass. Also removed an unused variable. tschaub made one more change to check for other Google layers only if we have a cache already - otherwise the whole logic would not apply anyway. Thanks iacovlev_pavel for bringing this up on IRC. p+r=tschaub,me (closes #2793) ahocevar 2010-08-18 16:43:45 +00:00
  • 415fcbf9f9 Adding gx:Track parsing to the KML format. If extractTracks is true, the parser will extract points from gx:Track elements as features, acquiring attributes from the Placemark plus when, trackId, altitude, heading, tilt, and roll (assuming angles are present). r=ahocevar (closes #2771) Tim Schaub 2010-08-18 15:38:09 +00:00
  • fc9e67318e Adding OpenLayers.Date utility functions to parse and serialize dates. The date string format parsed complies with ECMA-262 (v5) section 15.9.1.15, derived from the profile of ISO 8601 for date and time on the Internet (http://tools.ietf.org/html/rfc3339). Where available (and functional) the native date.toISOString and Date.parse methods will be used. r=ahocevar (closes #2778) Tim Schaub 2010-08-18 15:11:27 +00:00
  • 9ae54040db Only call dashStyle when strokeDashstyle is set. r=tschaub (closes #2768) ahocevar 2010-08-15 19:53:14 +00:00
  • 5a8775cd16 the old-but-still-used GML format creates features with geometries of type OpenLayers.Bounds, p=fvanderbiest, r=me (closes #2724) Éric Lemoine 2010-08-11 14:24:51 +00:00
  • 602cf46c10 Marking setLayer on SelectFeature Control as API, non-functional change bartvde 2010-08-11 09:37:15 +00:00
  • 68d82edc01 Added note about requirement of serializability of feature attributes. Non-functional change. ahocevar 2010-08-09 14:05:57 +00:00
  • c68e234b71 Slippery proxy! (That 501 gets me all the time.) Tim Schaub 2010-08-07 00:06:11 +00:00
  • a52cb98622 Example demonstrating the use of a filter with the WFS protocol. Tim Schaub 2010-08-05 21:20:56 +00:00
  • 33410b0e76 Adding a removeAllFeatures method to the vector layer. This bypasses a few unnecessary steps when removing all features but retains the same behavior as the removeFeatures method otherwise. Optimizing the clear method on elements renderers a bit by avoiding length calculation of the live collection and looking up the first child once per node removal. r=ahocevar (closes #2774) Tim Schaub 2010-08-05 15:46:23 +00:00
  • e0c3db1227 Making consistent the evaluate method of filters. The evaluate method accepts vector features, making possible logical filters that combine spatial and comparison filters. r=ahocevar (closes #2773) Tim Schaub 2010-08-05 15:38:55 +00:00
  • c15a1a0779 Making it so the clear method on the canvas renderer permanently clears features (as with the other renderers). r=crschmidt (closes #2775) Tim Schaub 2010-08-05 15:34:48 +00:00
  • d965d4a1a0 fixed APIdocs. Non-functional change. ahocevar 2010-08-05 14:30:46 +00:00
  • c77688a0be Change the OSM example to show how to setCenter (using reprojection), in part to demonstrate that OSM is in spherical mercator coords. crschmidt 2010-08-04 18:41:00 +00:00
  • f0736370f3 Use a loop variable to avoid array lookups and use one if clause instead of two. Non-functional change (see #2764) ahocevar 2010-08-04 08:10:40 +00:00
  • ea1290f8d8 Do not change the active state of button controls on a panel when a tool control is activated. p=jorix, r=me (closes #2764) ahocevar 2010-08-04 07:56:25 +00:00
  • 9d3c4ecb1c Firing the beforefeaturesremoved event from the vector layer. r=ahocevar (closes #2770) Tim Schaub 2010-08-03 23:37:31 +00:00
  • 31afaf1fca Fixes for the WMTS layer to properly update matrix related properties. Determining the best matrix in the set based on current map resolution. Properly parsing TopLeftCorner coordinates and providing a way to specify identifiers for backwards CRS. r=ahocevar (closes #2677) Tim Schaub 2010-08-03 15:21:06 +00:00
  • f89fb1f226 make yx property an object rather than an array. r=elemoine,bartvde (closes #2767) ahocevar 2010-08-03 09:15:26 +00:00
  • 0892e61bcb Documenting that OSM extends XYZ and XYZ extends Grid. The buffer property comes from the Grid prototype. (closes #2766) Tim Schaub 2010-08-02 19:53:00 +00:00
  • 6c0952934f Adding point, line, polygon, text, and raster symbolizer constructors. This paves the way for rendering multiple symbolizers per rule. The SLD parser now successfully round-trips documents with multiple symbolizers and multiple FeatureTypeStyle elements (through the symbolizer zIndex property). The Style2 (yes, ack) constructor is used to represent a collection of rules with multiple symbolizers. Style2 objects are currently only used by the SLD parser if the multipleSymbolizer property is set to true. Future enhancements to the renderers can be made to account for multiple symbolizers. r=ahocevar (closes #2760). Tim Schaub 2010-08-02 19:49:52 +00:00
  • 9fd7463680 Making it so layers that use the SphericalMercator mixin call getLonLatFromViewPortPx and getViewPortPxFromLonLat on the Layer prototype instead of relying on the underlying map object for pixel to map location translations. This allows the Google (and other SM) layers to be used as a base layer but not be visible (with allOverlays set true on the map). r=ahocevar (closes #2759) Tim Schaub 2010-07-29 17:23:10 +00:00
  • f2247ae079 New api key and overlay for multimap example. ahocevar 2010-07-29 12:44:31 +00:00
  • e5f0cfe906 Respect setVisibity(false) before layer is fully loaded. r=tschaub (closes #2750) ahocevar 2010-07-29 07:25:21 +00:00
  • a5f2ddcfa1 Google layer improvements for maps with allOverlays set to true. r=tschaub (closes #2758) ahocevar 2010-07-29 07:23:02 +00:00
  • ca27481c66 The sandbox is now updated here as well, so check the most recent rev for the whole tree instead of just that particular checkout. crschmidt 2010-07-27 12:55:25 +00:00
  • 7398216346 Implemented activate, deactivate and destroy methods; use autoActivate option with a default of true. p=jorix,r=me (closes #2567) ahocevar 2010-07-23 14:38:21 +00:00
  • b2f810361d Improved clone method for Layer.XYZ; gave Layer.OSM its own clone method. Thanks aratcliffe for bringing this up. r=tschaub (closes #2738) ahocevar 2010-07-21 07:55:37 +00:00
  • 6adffe5be2 Add updating sandbox to script crschmidt 2010-07-20 15:27:13 +00:00
  • 2a30747bd9 add support for the ol:tileSize layer property in WMC, p=fvanderbiest,r=me (Closes #2740) pgiraud 2010-07-15 15:01:36 +00:00
  • 67b0c7180f Added a note about incompatibility with UI controls provided by the GMaps API. Thanks pwr for pointing this out (see #2736) ahocevar 2010-07-13 08:28:16 +00:00
  • ee00417729 Making the Google v3 layer work with deferred map rendering. r=ahocevar (closes #2731) Tim Schaub 2010-07-12 15:34:41 +00:00
  • d880d2d2b7 add missing semicolon, remove global and unused variables, remove unreachable code Frédéric Junod 2010-07-12 06:45:19 +00:00
  • afa7b9c2bb Making it so the Google layer is not visible if used as an overlay with visibility false. Container is offset to allow proper calculation of size. r=ahocevar (closes #2730) Tim Schaub 2010-07-09 21:52:04 +00:00
  • 3d0c264198 Moving the OpenLayers.Layer.Google.v2 definition into Google.js so we don't break any custom builds that include just the Google.js script. r=ahocevar (closes #2729) Tim Schaub 2010-07-09 21:10:00 +00:00
  • a5ca639c5b As with r10477, this change simplifies the setGMapVisibility tests to make sure that repositionMapElements is getting called. These tests were periodically failing depending upon the order in which they run. This likely indicates we've got to do some more cleaning up in map.destroy or elsewhere (see #2493). Tim Schaub 2010-07-09 20:21:30 +00:00
  • 1d8773eab6 In practice, this allOverlays example displays the terms of service element. In this test, it appears that the google script is hiding it again after we make it visible - perhaps because it is not actually displayed. And this is not always consistent. I can get this test to pass by making the timeout shorter. In any case, a simpler test is to confirm that repositionMapElements is getting called (see #2493). Tim Schaub 2010-07-09 18:05:42 +00:00
  • 309d198e04 Removing stuff that was added twice in r10474 (see #2493). Tim Schaub 2010-07-09 15:50:45 +00:00
  • 64842fd711 add support for GMaps v3. Thanks tschaub for the big improvements to my original patch. p=tschaub,me, r=tschaub (closes #2493) ahocevar 2010-07-09 12:01:11 +00:00
  • 4d3a1eebf7 coding style: add braces around test, use {} instead of new Array(), remove unused variable Frédéric Junod 2010-07-09 11:53:36 +00:00
  • 74a6f7e895 replace tabs with spaces Frédéric Junod 2010-07-09 11:45:31 +00:00
  • e32d63d7b2 Correctly selecting url when an array is provided. Thanks cmoullet for the patch. r=me (closes #2727) Tim Schaub 2010-07-08 16:46:06 +00:00
  • b81b05a9b5 remove tabs, remove unused variable Frédéric Junod 2010-07-08 10:29:41 +00:00
  • 1c4afaaded add missing semicolon. Frédéric Junod 2010-07-08 10:15:37 +00:00
  • 8c2caf91d1 remove wrong svn:mime-type. Non functional change Frédéric Junod 2010-07-08 09:59:29 +00:00
  • c4eaee5b5c fix comment error in containsBounds non-functional change bartvde 2010-07-08 08:48:23 +00:00
  • b428e58090 typo in previous commit bartvde 2010-07-08 08:24:41 +00:00
  • 28a7776d04 fix wrong comment in Cluster Strategy non-functional change bartvde 2010-07-08 08:22:19 +00:00
  • 42b003669c add missing semicolon. Frédéric Junod 2010-07-06 09:37:38 +00:00
  • 509042078e update documentation link. Non functional change Frédéric Junod 2010-07-06 08:16:09 +00:00
  • d47944e4b7 remove unused variable and unreachable code, replace tab with space. Non functional change Frédéric Junod 2010-07-04 19:28:20 +00:00
  • de462bbe33 remove global and unused variable. Non functional change Frédéric Junod 2010-07-03 21:14:00 +00:00
  • 22aa4281fa Making it more convenient to create WMTS layers from capabilities documents. The format now has a createLayer method that takes a capabilities response object and a layer configuration object. This returns a properly configured WMTS layer based on the layer and matrix definition found in the capabilities. Unless otherwise specified, the layer name will be derived from the advertised title, and the style identifier will be the advertised default. r=ahocevar (closes #2676) Tim Schaub 2010-07-02 16:11:37 +00:00
  • ef9afd22cb change the SLDSelect control's default Polygon symbolizer to produce the same result as before r10430. r=elemoine (closes #2712) ahocevar 2010-07-01 14:30:57 +00:00
  • ea183210fe replace the deprecated OpenLayers.Util.getArgs with OpenLayers.Util.getParameters Frédéric Junod 2010-07-01 13:22:38 +00:00
  • 72e2280c87 don't use the deprecated bind function Frédéric Junod 2010-07-01 09:46:32 +00:00
  • 955ee1b1a9 fix token syntax in lang files. Non functional change Frédéric Junod 2010-07-01 08:18:15 +00:00
  • a9a9b6387e remove tabs and trailing whitespace. Non functional change Frédéric Junod 2010-07-01 07:33:50 +00:00
  • 1f601390dd Documentation tweak for the vector layer. Tim Schaub 2010-06-30 19:48:29 +00:00
  • 40539ff6d3 remove setMap function from WMSGetFeatureInfo. r=ahocevar (closes #2717) Frédéric Junod 2010-06-30 13:56:50 +00:00
  • c8cad59575 remove unnecessary semicolon and unused variable. Non functional change Frédéric Junod 2010-06-30 11:58:49 +00:00
  • 20a4025af0 Renderer: give featureId to eraseGeometry function, r=fredj (closes #2693) bartvde 2010-06-30 10:49:06 +00:00
  • e643531a0a fix OverviewMap regression. r=elemoine (closes #2137) Frédéric Junod 2010-06-30 09:06:27 +00:00
  • 0bc3e3c8b3 Layer.Vector's renderers array should be able to deal with function as well as strings so that people can use their own custom renderer in their own namespace, r=ahocevar,fredj (closes #2669) bartvde 2010-06-29 11:53:59 +00:00
  • 08f506176b use array join instead of string concat. r=ahocevar (closes #2713) Frédéric Junod 2010-06-29 11:05:00 +00:00
  • 2939bad8d0 fixed use of the "fill" and "stroke" symbolizer properties in Renderer and Format.SLD to match the documentation (i.e. false means to not apply a fill or stroke) ahocevar 2010-06-29 08:21:26 +00:00
  • 0db8f59ae3 add missing semicolon. Non functional change. Frédéric Junod 2010-06-28 08:41:43 +00:00
  • d895af91a5 fix SVG tests in webkit Frédéric Junod 2010-06-28 08:33:15 +00:00
  • 98941c9952 removed svn:executable property. Non functional change Frédéric Junod 2010-06-28 07:23:16 +00:00