Commit Graph

  • d51ea434ca Removing stray console call. Tim Schaub 2009-04-09 19:01:22 +00:00
  • 2e3f22809d fix for insufficient mocking which resulted in an error being thrown on teardown by IE; add a .destroy() to the mocked renderer. crschmidt 2009-04-09 16:18:30 +00:00
  • 3222fd3618 Updated example to use a simpler dataset with data from a maintained demo server. Thanks dwins for putting this together. ahocevar 2009-04-09 12:57:31 +00:00
  • 2b7e8f5198 Add support for ArcIMS/ArcXML to OpenLayers. crschmidt 2009-04-09 00:15:48 +00:00
  • 08077f0f42 Adding methods for getting geodesic measures from geometries. Assuming geometries can be transformed into Geographic/WGS84, getGeodesicLength and getGeodesicArea should return reasonable 'on the ground' metrics. Use getLength and getArea for the planar metrics. r=crschmidt (closes #1819) Tim Schaub 2009-04-08 23:12:24 +00:00
  • 5f335f4207 patch had added these two files twice. FIx that. (no real change.) Thanks edgemaster for pointing it out. crschmidt 2009-04-08 20:11:20 +00:00
  • 0e858fa4af Sending a response object along to the user callback after a commit that issues multiple requests. Thanks for the collaborative patch work crschmidt. r=crschmidt,elemoine (closes #1973) Tim Schaub 2009-04-08 17:52:55 +00:00
  • 861a9c10f5 adding XYZ layer (and OSM laayer) to OpenLayers. r=fredj, (Closes #1950) crschmidt 2009-04-08 06:54:16 +00:00
  • 87a2f0d47e adding newline to style.css - no functional change Tim Schaub 2009-04-07 21:26:03 +00:00
  • 194474999c And replacing it with use of supported controls. Tim Schaub 2009-04-07 20:48:08 +00:00
  • f2f118ad90 Reverting unintentional changes in r9234. Meant to just change the controls example. Tim Schaub 2009-04-07 20:43:27 +00:00
  • e72da4f74e Removing use of deprecated control. Tim Schaub 2009-04-07 20:38:11 +00:00
  • 0e05f90932 Remove Icon-specific code from Markers Layer, patch by meek,me, r=euzuro. (Closes #818) crschmidt 2009-04-07 15:21:39 +00:00
  • c1f9d60985 Vector tests broke with r9164. Fixing tests by mocking up calculateInRange instead of just inRange. (closes #1939) Tim Schaub 2009-04-07 14:11:19 +00:00
  • ed5420b678 Adding a persist option to the measure control. This passes the same to the sketch handler. The cancel method on the control calls the same on the handler. Patch from dwins. Tests from me. r=me (closes #2029) Tim Schaub 2009-04-07 02:03:57 +00:00
  • d3d80a02a9 As a result of the changes in #1634, the symbolizer for the temporary rendering intent was exposed. This was a bit uncharacteristic for OL symbolizers given its 4px stroke width and eye melting yellow hue. After some agreement on the mailing list that this should be changed, I'm changing it. The temporary symbolizer is now a 2px cyan thing. Would be nice to have a more involved design process, but I'm feeling a bit desperate about this one not knowing when the release candidate will go out - and not wanting to be embarassed by the garish yellow. Reopen if this is objectionable. r=ahocevar (closes #2032) Tim Schaub 2009-04-06 23:12:40 +00:00
  • f59eceef71 create UserStyle in a way that propertyNames cache will be generated. Thanks sonicx for catching this. r=tschaub (closes #2000) r=tschaub ahocevar 2009-04-06 23:08:08 +00:00
  • a685884a4f remove stray console.log() from test. breaks in all non-FF browsers euzuro 2009-04-06 22:31:37 +00:00
  • 143f72a8e5 Allowing the popup-panning FF hack to be disabled as it causes bad effects when a popup contains flash content. not thrilled with the property name but can't really think of anything better myself. patch by gregers r=me (Closes #1941) euzuro 2009-04-06 22:29:27 +00:00
  • f52c7c955e forgot to add WFSCapabilities.js and test in my previous commit. Thanks tschaub for spotting this (see #1988) ahocevar 2009-04-06 22:13:05 +00:00
  • e3103362ee added WFSCapabilities format. Original patch by tschaub, r=tschaub,me (closes #1988) ahocevar 2009-04-06 21:32:46 +00:00
  • 043bbab2ca Documenting events that are not fired. Tim Schaub 2009-04-06 21:32:14 +00:00
  • 3841155621 fixed aspect ratio rendering in IE to not break rotation any more. r=pgiraud (closes #1836) ahocevar 2009-04-06 21:21:18 +00:00
  • 85974d11a0 Take care not to change layer visibility when changing layer draw order (allOverlays only). r=ahocevar (closes #2004) Tim Schaub 2009-04-06 21:15:39 +00:00
  • ebb7a08325 Adding a format for parsing WMS capabilities docs. r=ahocevar (closes #1176) Tim Schaub 2009-04-06 18:55:20 +00:00
  • 64b4752592 Not that it needs to be this way, but because it is generally safer, set non-default resolution related properties on the map instead of on the layer. (closes #2031) Tim Schaub 2009-04-06 18:29:48 +00:00
  • f5269f8acd BBOX strategy register for layer visibilitychanged, r=tschaub (closes #1835) Éric Lemoine 2009-04-06 11:50:30 +00:00
  • bcf29b8a65 SelectFeature should allow panning the map when over features, without activating click method at the end of drag, r=tschaub (closes #1824) Éric Lemoine 2009-04-06 11:46:15 +00:00
  • f372bd3fd1 Wrapping json.write in a try/catch to guard against possible failures reported in one case on IE. If anybody cares to get to the bottom of this properly, see the test case attached to the ticket. r=me (closes #1826) Tim Schaub 2009-04-03 23:58:16 +00:00
  • b0f71c2702 Fix for GeoJSON + Reprojection problems for GeometryCollections. Original patch/ diagnosis by ibolmo, refactored by me. Includes manual test. (Closes #2024) crschmidt 2009-04-03 20:26:35 +00:00
  • d1898d1a7d Making it so format.getChildValue concatenates all simple content (except for GeoRSS format). Use getChildValue instead of concatChildValues. Adding a number of other format methods for those who do manual dom traversal. Original patch from dparker. r=me (see #1846) Tim Schaub 2009-04-03 19:17:49 +00:00
  • e1b1c814de create attributes with null value for empty attribute nodes. Original patch by milovanderlinden, simplified by tschaub. r=me (closes #1556) ahocevar 2009-04-03 16:52:26 +00:00
  • 467dff424c Added geometry parsing for Mapserver output. Thanks bartvde for the patch. r=elemoine,me (closes #1976) ahocevar 2009-04-03 16:42:26 +00:00
  • 8b0208ae44 Fixed ElementsIndexer to not stop at elements that are not currently rendered. Thanks Adam Borrows for catching and describing this and the patch which does exactly the right thing. r=me (closes #1986) ahocevar 2009-04-03 16:29:00 +00:00
  • 49774f6ab5 SelectFeature now takes a hilightOnly config options, that way user can hover features without actually selecting them, combining two differents controls will allow to separate hover and click events, patches from ahocevar, elemoine and pgiraud, reviewers are ahocevar, elemoine and pgiraud pgiraud 2009-04-03 10:28:41 +00:00
  • b625337018 clear timer for rightclicks so that we don't fire single right click event after double rightclick event. thanks for the excellent find and fix, itbeyond. r=me (Closes #1995) euzuro 2009-04-03 01:34:58 +00:00
  • 1bf80712a6 fixing improper api name. euzuro 2009-04-03 01:19:10 +00:00
  • b2258606dc To have a functioning map with all overlays, set the map.allOverlays property to true. With all overlays, the map derives projection, resolution, and max extent information from the lowest layer in the draw order (map.layers[0]). To change the layer order, use map.setLayerIndex or map.raiseLayer. r=ahocevar,elemoine (closes #2004) Tim Schaub 2009-04-02 16:40:52 +00:00
  • 3c863c8c2f mergejs: Remove white space around filename. No functional change. (closes #2026) Frédéric Junod 2009-04-02 10:35:21 +00:00
  • 4254d1efdf Control.GetFeature should abort requests with protocol.abort() instead of response.priv.abort(), r=ahocevar (closes #1999) Éric Lemoine 2009-04-01 16:25:35 +00:00
  • 339f5bf8f6 Strategy.Fixed should listen to refresh event, (Closes #1939), r=tschaub crschmidt 2009-04-01 16:20:23 +00:00
  • 5b61fdafd1 fixed ProxyHost path ahocevar 2009-04-01 16:00:54 +00:00
  • f37ee550f4 Changed example to follow our well known structure. Now it also works in IE. ahocevar 2009-04-01 15:59:52 +00:00
  • bfc17248e9 Fixed styleNames creation for layers with mixed strings and arrays. Thanks dwins for spotting this and the quick patch, which, btw, was perfect (i.e. with unit tests that show the problem). r=me (closes #2025) ahocevar 2009-04-01 15:39:58 +00:00
  • b1c11b9814 changed the renderer's getRenderLayer method to getRenderLayerId, which always works even if the layer is not added to a map. Also removed an unneeded map.events.unregister from Control.SelectFeature. r=elemoine (closes #2022) ahocevar 2009-04-01 13:43:53 +00:00
  • 59c49eb98e Added WMSGetFeatureInfo control. Thanks dwins for the patch. I made the following modifications: * WMSGetFeatureInfo class was contained twice in WMSGetFeatureInfo.js. Removed one. * Fixed @requires * Added vendorParams option (with test) to allow for e.g. adding custom params like RADIUS * Changed the clickPosition key in the getfeatureinfo event parameter to xy to comply with other event parameters in OpenLayers * Modified concatenation of layerNames and styleNames as proposed in my previous comment * Made a separate handleResponse function from the previously closured callback function and added xy to the scope * Fixed some ND comments, especially removed links (<..>) from object types that cannot be linked (e.g. {String}) * Inserted line breaks where lines exceeded 80 chars * Fixed test for format option, because this is now formats and has a different type * Fixed tests in the example (this is no US census data) * added ProxyHost and absolute WMS url to the example * removed custom format from the click handler in the example so users can also see the simpler instantiation with the default formats r=me (closes #2007) ahocevar 2009-04-01 09:13:23 +00:00
  • 85888788ea Consistent list type for layer events. Tim Schaub 2009-03-31 22:16:05 +00:00
  • 8b58d97206 Consistent list style for vector event types. Tim Schaub 2009-03-31 22:11:21 +00:00
  • fe0ddf9f21 Various other ndoc tweaks for controls. Tim Schaub 2009-03-31 22:05:30 +00:00
  • deaa52477b Fixing up ndocs for ZoomPanel. Tim Schaub 2009-03-31 21:59:41 +00:00
  • 8ba31e4a91 Consistent event type listing for controls. Tim Schaub 2009-03-31 21:57:08 +00:00
  • ffe3f90ffb NaturalDoc menu updates. Tim Schaub 2009-03-31 21:52:53 +00:00
  • a8c1973d27 Making example header like others. Tim Schaub 2009-03-31 21:42:15 +00:00
  • a6e84ae192 Adding an events instance to the OpenLayers.Request object. Register listeners for complete, success, or failure events. These events are triggered after every request is issued. Original patch from tcoulter. Changes from ahocevar, elemoine, and me. r=me (closes #1933) Tim Schaub 2009-03-31 21:41:16 +00:00
  • 2ab6c404e1 Adding the ability to change the aspect ratio of features while resizing with the modify feature control. Thanks for the patch rdewit! r=me (closes #1975) Tim Schaub 2009-03-31 21:36:11 +00:00
  • ef23accd13 Allowing for multiple feature types in a GML doc. Thanks bartvde for the patch and tests. r=me (closes #1838) Tim Schaub 2009-03-31 21:22:48 +00:00
  • 0c1fe31b0a added missing semicolons; while at it also introduced some array length caching and simplified var assignments. Non-functional change. Thanks rot for spotting this. (closes #2019) ahocevar 2009-03-31 16:39:28 +00:00
  • 61b5293692 Added WMSDescribeLayer format. Thanks bartvde and sbenthall for the patch. I made some minor modifications: * changed file structure to match other formats (i.e. put version 1.1 parser in a WMSDescribeLayer subfolder) * fixed a type in the example which showed owsURL instead of owsType r=me (closes #1201) ahocevar 2009-03-31 15:06:02 +00:00
  • cf5aa98cce minimize triggerEvent code path when no listeners, r=tschaub (closes #2014) Éric Lemoine 2009-03-28 16:17:54 +00:00
  • 8bac39243f Removing an unnecessary var and adding a semicolon. Just running jslint on some random files. Tim Schaub 2009-03-28 02:07:57 +00:00
  • 44ab482e89 addad namedLayersAsArray option to Format.SLD.v1. Patch by tschaub and me, r=tschaub,me (closes #2005) ahocevar 2009-03-27 08:39:15 +00:00
  • a9e087b5b9 Writing sld:Mark fill and stroke in cases where graphicName is not provided. r=ahocevar (closes #2008) Tim Schaub 2009-03-27 02:02:58 +00:00
  • 84fa9dd1ae Adding gml namespace to SLD format for writing spatial filters. r=ahocevar (closes #2006) Tim Schaub 2009-03-27 02:00:15 +00:00
  • cd899ab11e Changing the draw feature example to use the default drawing behavior. To enable freehand drawing, use the shift key. Tim Schaub 2009-03-26 15:35:11 +00:00
  • 05658f1231 Add a panDuration property to the map. This allows for a workaround for VirtualEarth panning with markers which causes drift, using the 'novibrate' example. Tests continue to pass. r=me (Closes #1947) crschmidt 2009-03-24 21:38:57 +00:00
  • 807706219b Adding a slideRatio property to the PanZoom control. Setting this will cause the pan buttons to pan the map by a ratio of the map dimensions. A slideRatio of 0.5 will cause pan up to pan by half the map height. Thanks for the patch and tests sbenthall. r=me (closes #1998) Tim Schaub 2009-03-24 20:27:51 +00:00
  • 273c7ab5d2 r9113 came with one minor typo in the PanZoom tests. Tests now pass. (see #1949) Tim Schaub 2009-03-24 20:17:32 +00:00
  • 2ee964ba55 Added missing requirement, no functional change, patch from aabt (Closes #2003) pgiraud 2009-03-24 09:52:17 +00:00
  • 3be75cc8d9 Improvements to the WMSGetFeatureInfo format which was not able to parse some Mapserver responses. Thanks adube for the patch. r=me (closes #2002) ahocevar 2009-03-23 20:20:47 +00:00
  • 3e55ef6aa3 Adding a threshold property to the cluster strategy. If a threshold set, clusters will only be created if the number of features in a group meets or exceeds the threshold number. r=elemoine,crschmidt (closes #1815) Tim Schaub 2009-03-23 17:34:28 +00:00
  • 85dc3a9880 made global variable features in parseData local. Non-functional change. ahocevar 2009-03-22 20:35:12 +00:00
  • 2b1e8641f9 SelectFeature control can now select across multiple vector layers when passed an array of layers instead of a single layer with the constructor. This changeset also introduces a new layer type, Layer.Vector.RootContainer, which will be set as the topmost layer by the SelectFeature control and collect the svg/vml/canvas roots of multiple vector layers. r=crschmidt (closes #1666) ahocevar 2009-03-22 14:25:18 +00:00
  • 5c26d578ca In order to make subclasses of Layer which support edge tiles which are of a size which is not the same size as all the tiles on the layer (as is the case in Zoomify layers), change Tile.Image to use the size passed in on construction instead of this.layer.tileSize. All tests still pass, should have no functional change for all existing layers. patch by pascalou, r=me (Closes #1496) crschmidt 2009-03-22 00:11:45 +00:00
  • fdb267987b Fixed rendering issues in (vector) layers when map div has dir="rtl" set. r=crschmidt (closes #1778) ahocevar 2009-03-21 21:38:42 +00:00
  • 7130992b16 better cleanup for ZoomBar and PanZoomBar. Fixes a memory leak. r=crschmidt (closes #1949) ahocevar 2009-03-21 20:13:26 +00:00
  • 65e4ce3e47 add logic in Layer.WFS to prevent sending a BBOX when a 'filter' parameter is active. This behavior is unsupportd in WFS, given an error message, so this is a way to protct people aganst that. However, users should be aware that the best way to do this probably to use Protocols and Strategies right now; this is a fix for those getting caught out by this issue until they can switch. Originla patch by Jachym, r=me (Closes #1734) crschmidt 2009-03-21 13:24:40 +00:00
  • f06b11d878 Deciding that setCenter deserves a bit of docs. Tim Schaub 2009-03-20 17:47:20 +00:00
  • 0a6ea3125d always include field type in DescribeFeatureType fields. With modifications from tschaub. r=tschaub (closes #1202) ahocevar 2009-03-20 17:26:40 +00:00
  • 7e35022dff Updating the sundials spherical mercator example a bit. Tim Schaub 2009-03-19 23:34:56 +00:00
  • 567d32f35f Suport for tooltips on externalGraphics using the graphicTitle symbolizer property. Only supported in IE and FF. Patch by zspitzer, modified by me (added some docs, moved code that sets the title tag so it gets executed for externalGraphics. p=zspitzer, r=me (closes #1946) ahocevar 2009-03-19 18:53:15 +00:00
  • e49f1435bc Fix for autoSize popups too big when panMapIntoView is false, r=euzuro, (Closes #1957) crschmidt 2009-03-19 17:33:27 +00:00
  • 22af9d6412 permit abstract classes (an abstract class being a class without an "initialize" method) as parent classes, final patch from tschaub, r=tschaub (closes #1987) Éric Lemoine 2009-03-19 14:29:12 +00:00
  • 66b4cd65f6 Don't remove the drag control's reference to the feature on up. This is intended to solve issues with fast dragging. Thanks for the patch bjornharrtell. r=me (closes #1196) Tim Schaub 2009-03-18 21:56:53 +00:00
  • c6a7dd235d Add ExtendedData support to KML. r=tschaub, patch mine + his comments, thx to rdewit for initial help/pointers, (Closes #1955) crschmidt 2009-03-18 18:15:47 +00:00
  • baf260c6f1 Adding an option to make the bbox strategy more agressive. Thanks for completing the tests crschmidt. r=crschmidt,igrcic (closes #1830) Tim Schaub 2009-03-18 17:42:14 +00:00
  • eb03ccc02d Modifying the loader script to check more carefully for the location of OpenLayers.js - allowing folks to have scripts called things like foo-OpenLayers.js. r=crschmidt (closes #1888) Tim Schaub 2009-03-18 15:57:41 +00:00
  • 6708f691e2 in situations where a framed popup has a minSize set which isn't big enough to hold all the blocks, it is possible that the popup will throw an error. Though this is a configuration error, it is unlikely to be run across in typical development, so we'll be nice to the user and protect them from this mistake. (Closes #1891) crschmidt 2009-03-18 15:47:37 +00:00
  • 2c177fc85c Adding a ruler, contributed by smcmurray. Not used anywhere, but if someon wants it, they can have it. (Closes #1913) crschmidt 2009-03-18 15:43:25 +00:00
  • 5e387191d5 make zoomWorldIcon an APIProperty. (Closes #1985) crschmidt 2009-03-18 15:34:38 +00:00
  • 5497e3a272 Additional ndocs for geometry.equals. Tim Schaub 2009-03-17 18:31:46 +00:00
  • b505822fd1 Additional ndocs for geometry.move. Tim Schaub 2009-03-17 18:26:15 +00:00
  • 576e931dac Adding support for cloning rules and filters. r=ahocevar (closes #1919) Tim Schaub 2009-03-17 16:08:12 +00:00
  • 7fa74f1b0b examples for #1901 ahocevar 2009-03-17 12:34:41 +00:00
  • 082107b2a0 Added alternatvie way to initialize the map object, without passing a div to the constructor. Original patch by tcoulter, modifications by me and tschaub. r=tschaub (closes #1901) ahocevar 2009-03-17 10:56:54 +00:00
  • 7af042ac7f Adding more support for sld:TextSymbolizer parsing. Reading TextSymbolizer, Label, Font, Halo, and Radius. Writing symbolizer fontWeight and fontStyle as sld:CssParameters. Writing sld:Halo and sld:Radius. r=ahocevar (closes #1984) Tim Schaub 2009-03-17 00:14:26 +00:00
  • 291d2e27f6 mapnik layer declared twice, removing the first one pgiraud 2009-03-16 08:59:04 +00:00
  • cea2bdd3a1 set Protocol read, create, update, delete and commit APIMethod. r=tschaub (closes #1660) Frédéric Junod 2009-03-16 07:05:56 +00:00
  • 483c6ea4e6 Rolling back the parts of r9051 that were not really part of #1987. These changes will come with a review of #1556. Thanks to elemoine for catching this. (see #1987, #1556) Tim Schaub 2009-03-16 04:23:41 +00:00
  • f9e9eb61ae Modifying bounds.intersectsBounds to it catches bounds intersections where corners of one bounds are not contains in the other bounds. Thanks for the review. r=sderle (closes #1951) Tim Schaub 2009-03-15 03:44:22 +00:00
  • 49d6463f4e r8455 introduced good changes to Class.js that gave us useful instanceof results. This change also made is so that people using the Class function to extend from non-OL constructors were unwittingly modifying their prototypes (by giving them an initialize property whose value was undefined). By ensuring that the parent prototype has an initialize property already, we don't add anything unexpected. r=crschmidt (closes #1987) Tim Schaub 2009-03-15 01:31:11 +00:00