Commit Graph

  • f6fe7d48d3 adds tween and easing classes (with algorithms from Robert Penner) to handle animation pgiraud 2008-02-08 13:09:58 +00:00
  • 1847986723 Correctly add the fill element to the VML node. r=ahocevar (Closes #1312) Frédéric Junod 2008-02-08 06:51:01 +00:00
  • db0e03e2bd Layers with the 'alpha' flag set to true never register proper load events, so they never fire loadend events. r=euz (Closes #1336) crschmidt 2008-02-08 04:18:13 +00:00
  • 99f3fa0d26 By default, the click handler now has a zero pixelTolerance. This means we don't call click if the click includes a drag. Set pixelTolerance to null if you want click called with a drag. r=crschmidt (closes #1335) Tim Schaub 2008-02-08 03:24:42 +00:00
  • fba4528c9a Add further improvements to WFS writing code from sbenthall, to write out things in IE. (Closes #1278) (again) crschmidt 2008-02-08 00:56:52 +00:00
  • a56b84e922 overviewmap needs to set fallThrough to false (Closes #1333) crschmidt 2008-02-08 00:42:47 +00:00
  • 6c2dfdeaf1 we want to keep a reference to the close div in our popups if we make it. (Closes #1334) euzuro 2008-02-07 23:59:54 +00:00
  • c46a338872 Adding Seb Benthall and Ivan Willig to authors.txt, for their contributions added earlier today. crschmidt 2008-02-07 22:28:18 +00:00
  • 870e196c20 Adding Seb Benthall and Ivan Willig to authors.txt, for their contributions added earlier today. crschmidt 2008-02-07 22:28:18 +00:00
  • 9075aa804c Refactor out names into namespace prefixes for overridability (and to make the code slightly less verbose). crschmidt 2008-02-07 21:54:33 +00:00
  • 61f124f214 Only write out min/max scale related properties if they are explicitly set on the layer. Thanks for slapping Safari around a bit with this on crschmidt. Works but still untested there. r=crschmidt (closes #1314) Tim Schaub 2008-02-07 21:06:08 +00:00
  • 9d045baf71 Changing the editing toolbar to use a single image. Thanks iwillig for the work on this. r=me (closes #1330) Tim Schaub 2008-02-07 20:07:48 +00:00
  • c75909a45e Don't render features with no geometry. This gives us similar behavior in IE and FF. There is probably more to this, but we can solve those issues as they come up: going with this one as is for now. (Closes #1111) crschmidt 2008-02-07 20:04:42 +00:00
  • 92b4894e33 "Tests Broken on IE6". This adds an additional check that prevents IE6 from complaining about undefined properties. r=crschmidt (closes #1322) ahocevar 2008-02-07 19:46:04 +00:00
  • d52701aec8 Adding a space to clean up diffs for transition patch. (No functional change.) crschmidt 2008-02-07 06:20:50 +00:00
  • ca5c08ee26 Fix typo in comments. crschmidt 2008-02-06 23:52:39 +00:00
  • ae6588140a Race conditions with creation and destruction of OverviewMap. r=tschaub (closes #1320) ahocevar 2008-02-06 22:49:41 +00:00
  • 8d5d8f6d94 Just because I had it open and was looking at 952, I'm shortening test names. (see #952) Tim Schaub 2008-02-06 19:46:22 +00:00
  • 98edddb28d More tests for XML format that pass in Safari - confirming nothing except that I have gone nuts Tim Schaub 2008-02-06 16:00:55 +00:00
  • 911a2772a4 Opera version < 9.20 invert the wheelDelta value but version >= 9.20 don't. r=crschmidt (Closes #1193) Frédéric Junod 2008-02-06 15:34:16 +00:00
  • 672d3c4eed give the navigation control a proper destroy and also give it a test file while we're at it. (Closes #1289) euzuro 2008-02-05 06:34:20 +00:00
  • 8311449985 give the wfs layer a proper destroy method (Closes #1256) euzuro 2008-02-05 06:12:29 +00:00
  • 211a2834de Adding fractionalZoom property to the map. This allows zooming to an arbitrary level, making it possible to have non-discrete resolutions for layers that support it. This property should not be set to true for layers with fixed zoom levels (commercial layers or others with cached tiles). r=elemoine,crschmidt,ahocevar (closes #1243) Tim Schaub 2008-02-04 06:23:54 +00:00
  • 1faf641806 evaluation of else filter in SLD. r=tschaub (closes #1317) ahocevar 2008-02-03 17:48:19 +00:00
  • f75f450214 left in too much from source license text crschmidt 2008-02-03 17:43:18 +00:00
  • a664b6b390 left in too much from source license text crschmidt 2008-02-03 17:43:18 +00:00
  • cf87ffc26c Add properties stopClick, stopDown, and stopUp to the feature handler. If stopClick is true, clicks handled by the feature handler don't propagate to other click listeners; otherwise handled clicks do propagate. The same kind of rule applies to stopDown and stopUp. These properties default to true. Thanks to Attila Csipa for expressing the need for this feature and cooking up the first patch. r=tschaub. (closes #1266) Éric Lemoine 2008-02-03 17:35:39 +00:00
  • f9950ec389 This commit solves the following problem with the select feature control: if you create two select feature controls on the same vector layer, one with hover:false that handles geometry type A only, and the other with hover:true that handles geometry type B only, then if you click on a geometry of type A and moves out of that geometry, the second control will unselect it. r=tschaub (closes #1221) Éric Lemoine 2008-02-03 17:20:39 +00:00
  • 3acc19ae3d The modify feature control destroys the vertex that was dragged in the drag complete callback. Thus, the drag feature control won't detect a mouse-out on that vertex and won't deactivate its drag handler. This causes errors because the drag feature control has a feature to drag but that feature is destroyed (feature.geometry is null). To prevent this, we make resetVertices explicitely call outFeature on the drag feature control if the control has a feature to drag. tschaub did most of the investigation on the problem. r=tschaub,me (closes #1235) Éric Lemoine 2008-02-03 17:10:03 +00:00
  • 5a176d7852 Explicitly check that we know who the parent is before removing child from parent. r=crschmidt (closes #1316) Tim Schaub 2008-02-02 22:48:37 +00:00
  • 2bb8d7cc8f Add mention that the files have been changed. This is obvious from context, but the apache license requires us to mention it explicitly. (No functional changes.) crschmidt 2008-02-02 14:46:04 +00:00
  • cdf1419f34 Add links to various licenses that we use, in order to come closer to compliance with those licenses. crschmidt 2008-02-02 14:38:27 +00:00
  • 592e1719db Add links to various licenses that we use, in order to come closer to compliance with those licenses. crschmidt 2008-02-02 14:38:27 +00:00
  • 2259db2225 Correcting typo in the OSM format and adding support for null namespaceURI in IE. r=crschmidt (closes #1318) Tim Schaub 2008-02-01 21:44:43 +00:00
  • 4fc4c6ce4b SLD maps minScaleDenominator and maxScaleDenominator to rule minScale and maxScale. r=tschaub (closes #1297) ahocevar 2008-02-01 21:17:12 +00:00
  • 9bb51fb088 Taming the select feature control a bit. Previously, onUnselect was called twice for every unselection. r=elemoine (closes #1234) Tim Schaub 2008-02-01 16:42:33 +00:00
  • 508dc66e6a fix typo in ND comment (non-functional change) Frédéric Junod 2008-01-31 15:05:57 +00:00
  • 152e48a5a4 Cannot switch externalGraphic style on VML-rendered feature. r=tschaub (closes #1312) ahocevar 2008-01-30 22:43:18 +00:00
  • 894589fe7c Docs for Util.js incorrect documented parameter types. crschmidt 2008-01-30 17:07:23 +00:00
  • 8276327d7f sld example does not need a custom select method for Control.SelectFeature any more ahocevar 2008-01-28 23:02:47 +00:00
  • d1d058d30f Removing use of deprecated untiled wms layer from example in favor of layer with singleTile true. (closes #1309) Tim Schaub 2008-01-28 21:19:32 +00:00
  • c3c97be5b2 Create tests for OpenLayers.js. r=crschmidt (closes #1267) ahocevar 2008-01-28 20:29:25 +00:00
  • 97ec46b15d "_getScriptLocation cannot handle query string". Patch originally by john.pulles@geodan.hl, improved by beau@beaugunderson.com. Thanks! r=crschmidt,me (closes #1263) ahocevar 2008-01-28 20:27:54 +00:00
  • 44f7ebdc22 Adding Web Map Context document parsing for versions 1.0.0 and 1.1.0. This also adds a cross browser setAttributeNS to the XML format. Thanks bartvde for supporting this work. r=crschmidt (closes #100) Tim Schaub 2008-01-28 16:39:05 +00:00
  • a14418f53f Modifying initResolutions so that minResolution and numZoomLevels are respected if they are set as layer options. Note that if only minResolution and maxResolution are specified, minResolution will still not be respected in general. r=pspencer (closes #1300) Tim Schaub 2008-01-28 16:28:21 +00:00
  • 866cfe631d Change OpenLayers.Layer.setIsBaseLayer to trig the 'changebaselayer' event not the 'changelayer' event. r=crschmidt (Closes #1306) Frédéric Junod 2008-01-28 13:10:46 +00:00
  • 221967cc3f Map.setCenter() should not call Layer.moveTo if inRange has changed to false. With this patch you should no longer see tiles loading if your layer is out of range or not visible. Hopefully! r=crschmidt (closes #937) Éric Lemoine 2008-01-27 22:59:31 +00:00
  • 9b8bedac35 add kleptog to authors.txt crschmidt 2008-01-27 18:12:19 +00:00
  • 8487829362 add kleptog to authors.txt crschmidt 2008-01-27 18:12:19 +00:00
  • d597e4f9a9 Because onselectstart is null by default, our logic to set it and replace it was somewhat lacking. This changes the behavior such that using hte drag handler does not totally disable text selection in IE. Patch from Bart, r=me (Closes #906) crschmidt 2008-01-27 14:48:02 +00:00
  • ea5e96df85 Add support to set the 'title' property of a control such that it will be displayed when hovering over the control in a control.panel via its panel_div. r=me (Closes #822) crschmidt 2008-01-27 14:44:16 +00:00
  • bd07adbb10 This commit fixes this: once a feature's been selected the "pointer" cursor is always used when going over it. r=crschmidt (closes #1217) Éric Lemoine 2008-01-27 14:26:28 +00:00
  • 5f3e05bb5e Set the fallThrough property to 'true' by default. This seems to have no adverse affect on the examples, is documented in the 2.6 release notes, and will allow for easier display of built-in browser tooltips for controls. r=elemoine (Closes #1303) crschmidt 2008-01-27 14:10:00 +00:00
  • 83d5461796 Add a seperate method which actually does the formatting in the MousePosition control in order to allow easier changes in formatting at the application level (with less duplication of code). Patch from Kleptog, r=me. (Closes #778) crschmidt 2008-01-27 02:26:36 +00:00
  • cd266a99e0 Updating example for changed location where osm_id is stored crschmidt 2008-01-26 14:46:12 +00:00
  • bd7eaeb167 Add support for parsing and serializing OpenStreetMap data. Includes tests, examples, modification to proxy.cgi, etc. This should allow one to build an OpenLayers based OpenStreetMap editor with some effort, and makes it trivially simple to drop OpenStreetMap data from the API into your OpenLayers application. r=ahocevar,elemoine (Closes #1271) crschmidt 2008-01-26 14:41:41 +00:00
  • 4159d1b1e8 add a manual test showing how OpenLayers should behave with respect to when it should load tiles and when it shouldn't. As reported in #937 OpenLayers doesn't behave properly today, it breaks Test 1 and Test 3 of this manual test. Éric Lemoine 2008-01-26 13:36:35 +00:00
  • 3ccf5af733 arg parser triggers load of baselayer too early. thanks for the patch, kleptog. i've taken it upon myself to run the damn tests. all pass. (Closes #1290) euzuro 2008-01-26 00:00:37 +00:00
  • 082ff954d6 be more forgiving in removeMarker() -- do not cause script error if marker has already been removed r=cr5 (Closes #1152) euzuro 2008-01-25 23:46:03 +00:00
  • fd321883a8 fix broken test_Handler -- stray try {} statement, presumably from debugging. euzuro 2008-01-25 23:28:26 +00:00
  • a68492e003 The deactivate method of the modify feature control calls the unselect method of its select feature control and passes it the current selected feature (if any). If that selected feature is destroyed between the time it was selected and the time the modify feature control is deactivated, the unselect method of the select feature control will attempt to draw it on the layer while it no longer has a geometry (it's destroyed!). This patch prevents this from happening. Thanks to tlpinney for reporting the bug and helping on its evaluation. r=tschaub (closes #1281) Éric Lemoine 2008-01-25 23:18:20 +00:00
  • 45d5fdfd06 SelectFeature and OpenLayers.Feature.Vector.style["select"]: changed Control.SelectFeature to inherit properties that are not set in selectStyle from feature.style. r=tschaub (closes #1260) ahocevar 2008-01-25 23:13:57 +00:00
  • 8901982955 Fix broken handler test due to r5891 in IE. crschmidt 2008-01-25 17:07:15 +00:00
  • e4ec1b58b0 Cleanup after the Navigation control (at least slightly more) crschmidt 2008-01-25 01:35:34 +00:00
  • 233af36280 "We know this doesn't work" warning. crschmidt 2008-01-24 13:33:50 +00:00
  • 81505f54b0 Add generic 'button' control. r=tschaub. (Closes #872) crschmidt 2008-01-24 03:16:42 +00:00
  • 412314e665 missing semi-colons Paul Spencer 2008-01-24 02:22:04 +00:00
  • cff527ba6f Change the Format.WFS to use Format.XML methods instead of document.createElementNS methods. r=tschaub. (Closes #1278) crschmidt 2008-01-24 02:18:56 +00:00
  • 72a1cef5da Accidentally committed Format/OSM test in list-tests. crschmidt 2008-01-24 02:14:10 +00:00
  • 7af5b1c657 Fix silly typo which neither Paul nor I caught, with tests this time. Thanks Tim for catching it. crschmidt 2008-01-24 02:12:21 +00:00
  • f4b4e85433 loadURL does not escape + (plus) character in proxied URL. Thanks to rdewit for following up on this, and to tschaub for reminding us of the right way to do things. r=pagameba (Closes #1262) crschmidt 2008-01-24 02:04:11 +00:00
  • ef1af7dee4 Add clone methods to Tile and Tile.Image, and add associated tests. r=crschmidt (closes #1296) Paul Spencer 2008-01-23 20:29:46 +00:00
  • 74bbd0347e Documenting supported event types for the map. Tim Schaub 2008-01-23 20:08:43 +00:00
  • 077db39d39 Fix mice.xml loading in IE. crschmidt 2008-01-23 01:03:53 +00:00
  • ea06b08517 fix projection tests (wrong count, got missed in patch) crschmidt 2008-01-23 00:56:10 +00:00
  • 68a05a7c0d remove test numbers from wfs layer's tests euzuro 2008-01-23 00:01:58 +00:00
  • 90d8517e73 Previous commit to change wfs tile to support formatobject + formatoptions was the wrong patch: this typo was left out. crschmidt 2008-01-22 15:43:07 +00:00
  • 6937fabe3a Ensure that GeoRSS format does not fail when reprojection null geometries. patch=Edgemaster, ar=me (Closes #1258) crschmidt 2008-01-22 00:17:29 +00:00
  • bf39fa06a9 To make the example work out of the box for external URLs, the URL to the proxy must be changed. (closes #1287) ahocevar 2008-01-21 23:44:49 +00:00
  • df78f09e36 "Pointtrack example does not work". r=crschmidt (closes #1287) ahocevar 2008-01-21 16:13:59 +00:00
  • f28a1c314a Add support for reprojection of vector formats when loading data. This allows for the definition of a 'projection' option on a layer. IF this projection object exists, it will be used to create the format's internal/external projection options, making it such that any data loaded will be reprojected to the map's projection automatically. r=pagameba (Closes #1273, #1225, #1269) crschmidt 2008-01-20 20:33:54 +00:00
  • 7a19fd6a95 Don't let the SVG renderer bail if the node we are trying to add is out of bounds *and* not yet added to the map. r=pagameba (Closes #1274) crschmidt 2008-01-20 20:11:38 +00:00
  • f6e20a0b75 Fix for Projection.equals fails when passed 'null'. r=pagameba (Closes #1286) crschmidt 2008-01-20 20:03:42 +00:00
  • ae9ceeec6c mis-spelling in comment. Paul Spencer 2008-01-20 19:09:27 +00:00
  • a0e6dd7c7a Thought that normal selection wasn't working. Turns out I had a local modification I'd forgotten about. take hover off to more closely resemble the boxes-vector example. crschmidt 2008-01-20 16:50:12 +00:00
  • d4ca01a134 vector boxes examplee crschmidt 2008-01-20 16:45:56 +00:00
  • 7d15b18d86 Bump time out up to 12s crschmidt 2008-01-20 16:07:51 +00:00
  • 6b4c0acc54 add missing mice.xml file crschmidt 2008-01-20 15:32:10 +00:00
  • fff63a1f9f (Closes #1187.) applying Bart's patch to add a zoom out option to the zoom control. r=pspencer. Paul Spencer 2008-01-17 16:35:49 +00:00
  • 52220873e3 See #964 - not only should we cancel ajax requests when we destroy the tile, but also when we initiate a new response. which is to say that when we instruct the tile to run a new request, we can discard the old one(s). that is what this patch does (as well as cleaning up memory in the destroy). Note that I have added this.request.destroy(); call, but commented out. this is a nod to future development/improvement of the OpenLayers.Ajax.Base and OpenLayers.Ajax.Request class to give it its own destroy() method. Just for fun I'll go ahead and open a separate ticket for that: #1277. Thanks elemoine for the reviews and the good dialogue to finishing up this patch. euzuro 2008-01-16 17:35:51 +00:00
  • b1e4c57dc8 Add setUrl function for GML layer. Thanks to a well done patch (with tests!) from Ian Johnson. (Closes #1264) crschmidt 2008-01-16 17:07:20 +00:00
  • 28659c9ebc Add setUrl function for GML layer. Thanks to a well done patch (with tests!) from Ian Johnson. (Closes #1264) crschmidt 2008-01-16 17:07:20 +00:00
  • ab47cc6040 VML renderer fails to render features without strokeOpacity set. r=crschmidt (closes #1276) ahocevar 2008-01-16 15:03:05 +00:00
  • e3e860b415 don't re-append the geometry node to root if it is already there to keep it in place and to prevent z-index to change, r=elemoine (closes #1066) Thanks Eric for giving me the opportunity to have my first commit in OpenLayers trunk pgiraud 2008-01-16 08:40:22 +00:00
  • 0f2d373a90 If scales is set on the map, you cannot use minScale and maxScale on the layer. r=crschmidt. (closes #1199) Éric Lemoine 2008-01-15 20:49:24 +00:00
  • c768a12a4d fix typo in ND comment (non-functional change) Éric Lemoine 2008-01-15 20:25:00 +00:00
  • f053a4e0c8 Add hover handler. With this handler user-defined actions can be triggered as the mouse moves over the map and pauses. An example of use is send WMS/GetFeatureInfo requests. r=crschmidt,tschaub (closes #1255) Éric Lemoine 2008-01-15 12:54:47 +00:00
  • c1185e8f8b TileCache.js uses math.floor instead of math.round like TC does. Thanks Brent. (Closes #1261) crschmidt 2008-01-15 12:19:22 +00:00
  • df3d4b2d98 Fixed geo namespace declaration. The previously defined namespace was the one used in Atom feeds with georss:point, but we have a rss 2.0 feed here with geo:lat/geo:long. ahocevar 2008-01-14 15:17:19 +00:00
  • 651b60f8f7 New layer type PointTrack: connects point features to lines. r=crschmidt,elemoine. (closes #1167) ahocevar 2008-01-14 14:42:29 +00:00