Commit Graph

  • 0c03b8e631 Separating jsdoc declarations. Frédéric Junod 2008-03-04 10:29:08 +00:00
  • d9cef80589 typo in ZoomBox. Thanks avlee for spotting this and the patch. r=me (closes #1413) ahocevar 2008-03-04 10:19:24 +00:00
  • 88b42f0e46 Separating jsdoc declarations. (See #1229) Frédéric Junod 2008-03-04 10:11:32 +00:00
  • b11d8bbd37 fix ND comments Frédéric Junod 2008-03-04 07:09:05 +00:00
  • c7bd58b774 fix stray ND comments euzuro 2008-03-03 18:15:31 +00:00
  • 6adeb7c304 ND typo Tim Schaub 2008-03-03 07:06:27 +00:00
  • cac0402c92 chagne geo for sigma, since geo appears to be gone/down crschmidt 2008-03-01 15:08:04 +00:00
  • ad97e9b16f Silly patch, doubling up my example. crschmidt 2008-03-01 15:06:22 +00:00
  • 7001ce1be6 A bit more docs for fractionalZoom. Tim Schaub 2008-02-29 21:13:42 +00:00
  • e54074e6f1 Improve WFS reprojection: * Transform bbox back to layer projection * Transform commits back to layer projection r=tschaub, (Closes #1406) crschmidt 2008-02-29 18:39:37 +00:00
  • 05858dc9fb Changing bounds.transform so it works with non-conformal projections. r=ahocevar (closes #1407) Tim Schaub 2008-02-29 17:32:02 +00:00
  • 279af295f1 Add missing ND comments. (non-functional changes) Frédéric Junod 2008-02-29 14:16:10 +00:00
  • bf97a6c0d2 be very very careful about how we deal with the wheel. only take action when over scrollable items or over the main map. all of this is explained in the ticket and patch it is really late and i dont feel like typing it again. basically, this puppy means that scrolling on controls or in popups will no longer zoom the map unwantedly. that is good. thank you cr5 and IRC for taking such care of me. (r=cr5) (Closes #1382) euzuro 2008-02-29 08:37:12 +00:00
  • fde0715f4e add the Quad easing methods for Tween pgiraud 2008-02-29 07:31:56 +00:00
  • 323de7085b The click and hover handlers need to take care that the event they are handling doesn't get modified before the delayed listeners get called. Appears to only be a problem in IE. Thanks for the catch madair. r=crschmidt (closes #1393) Tim Schaub 2008-02-29 07:30:34 +00:00
  • 8b91ee8d64 Send events when modifying features: 'beforefeaturemodified' triggered when a feature is selected to be modified, 'featuremodified' triggered when a feature has been modified, 'afterfeaturemodified' triggered when a feature is finished being modified Frédéric Junod 2008-02-29 06:50:39 +00:00
  • 5f93cc2b52 panmethod option on map to allow for the turning off of animated panning. Includes example. All tests pass. r=tschaub. (Closes #1356) crschmidt 2008-02-29 06:03:12 +00:00
  • 6ff86dc756 Checking for properties directly on the prototype since it has been extended already. r=crschmidt (closes #1405) Tim Schaub 2008-02-29 05:59:43 +00:00
  • 836f037fda The loadURL function now returns something that acts more like XMLHttpRequest should. If you name this return request, call request.abort to abort the request. r=crschmidt (closes #1386) Tim Schaub 2008-02-29 00:16:47 +00:00
  • 145981c303 Though the structure is not something we promise will not change, the internal context object is now available to those who parse WMC. r=crschmidt (closes #1370) Tim Schaub 2008-02-28 21:09:28 +00:00
  • fcd7ecfa3c got ahead of myself in r6399 Tim Schaub 2008-02-28 20:21:53 +00:00
  • 4107e90c0a sasifying my need for unmixed tabs Tim Schaub 2008-02-28 20:20:23 +00:00
  • c92527fae5 Improve calls to movestart/moveend so that they happen at the start/end of moves. This includes fixing pantween to set playing to false after it is done, and fixing the map to store its dragging state again so we can use it to figure out when a move has started. crschmidt 2008-02-28 19:47:38 +00:00
  • 248385ccf4 Make MapGuide tests run in IE. It appears that IE tries to run tests even if they're commented out (at least IE7) in test.anotherway, which is slightly annoying ( to say the least). crschmidt 2008-02-28 18:31:35 +00:00
  • 2f0382e6f6 * Style and Rule now have separate context properties * new convenience method addUniqueValueRules in OL.!StyleMap. This can actually be used to achieve what I was trying to show in the example of this ticket's description. * some refactoring of OL.Style to remove duplicate code (with tests) * a new example showing how to add a "unique value" legend to a point layer using the new addUniqueValueRules method * Rule.symbolizer can now also be just a symbolizer, instead of a hash of symbolizers keyed by "Point", "Line", "Polygon". This will make things even simpler (as can be seen in the styles-unique.html example) ahocevar 2008-02-28 17:57:37 +00:00
  • d3294e73fd proper tabbing is the artichoke of a good garden. euzuro 2008-02-28 00:02:48 +00:00
  • 3e21905fc4 "svg flicker at end of pan". Gecko-based browsers might not reflow svg if only style properties of dom elements are changed. Fixed by setting the scrollLeft property. r=pgiraud,tschaub (closes #1390) ahocevar 2008-02-27 19:32:44 +00:00
  • 1b57ea3069 Invoking the trivial change clause, I'm adding a semicolon. (see #1392) Tim Schaub 2008-02-27 19:05:28 +00:00
  • ffecbe0594 add a new 'playing' property to the Tween class so that a call to stop doesn't do anything if animation is already finished, r=ahocevar,crschmidt (Closes #1392) pgiraud 2008-02-27 13:57:13 +00:00
  • 0fc0112e07 remove extra comma, IE was complaining tests don't seem to pass under IE though pgiraud 2008-02-27 08:46:44 +00:00
  • 16a83026a1 WFS transactions use wrong namespace for Delete. Thanks to Stephen Woodbridge for this fix. r=tschaub (closes #1394) ahocevar 2008-02-27 00:50:09 +00:00
  • 9c55f8c1e1 SVG renderer draws features in the upperleft corner of the map pane when coordinate outside range. r=tschaub (closes #1360) ahocevar 2008-02-27 00:47:55 +00:00
  • 99265c2581 Add support for MapGuide Open Source layers in OpenLayers. Great work by Mike Adair on following this one through. Includes example, tests, code, etc. r=me (Closes #995) crschmidt 2008-02-26 02:56:40 +00:00
  • 3405e97835 Adding more complete style parsing to the WMC format. The format now has support for named, linked (SLD), and inline (SLD_BODY) styles. r=ahocevar (closes #1313) Tim Schaub 2008-02-24 20:25:27 +00:00
  • b06a8762a4 asynchronous false implies synchronous Tim Schaub 2008-02-24 08:02:41 +00:00
  • fa42329b31 Modifying xml_eq so that prefixes for element and attribute nodes are not tested by default. Namespace URI is always tested for both. If you also want to confirm that prefixes are equal, test with options.prefix true. Modifying tests for the XML format to use xml_eq. (see #1383) Tim Schaub 2008-02-22 20:08:28 +00:00
  • 39b2cae514 Adding a xml_eq method to Test.AnotherWay test objects. The function takes two nodes (or strings) and a message. A test passes when got and expected nodes have the same type, the same name, the same namespace prefix and uri, the same attributes, and the same children (based on the same criteria). Otherwise it fails. Failure messages tell you at which child on which node which criteria was not met. (closes #1383) Tim Schaub 2008-02-22 00:12:07 +00:00
  • 0f8f8c4249 "WFS layer format cannot be modified on the map". Concatenate EVENT_TYPES with specific class prototype instead of this.EVENT_TYPES. r=tschaub (closes #1361) ahocevar 2008-02-21 09:11:34 +00:00
  • f34358f1b9 now really fixed this test. The additional assertion (call of Console.warn) occured with non-english browsers, because the language resource could not be found. Setting the language to the default language for this test fixes the problem. ahocevar 2008-02-21 00:54:39 +00:00
  • 1f107bde9d fixed number of planned tests in test_Util_getArgs ahocevar 2008-02-21 00:15:11 +00:00
  • 9635c8868c exclude additional language resources from the full.cfg build profile. r=tschaub (closes #1372) ahocevar 2008-02-21 00:10:14 +00:00
  • db8869e50f Respecting minResolution and maxScale if specified in the layer options. r=ahocevar (closes #1321) Tim Schaub 2008-02-21 00:03:11 +00:00
  • 697da4900d Adding support for fractional zoom to the pan zoom bar. Setting map.fractionalZoom to true allows you to access a continuous range of resolutions with the pan zoom bar. r=crschmidt,me (closes #1288) Tim Schaub 2008-02-20 23:44:34 +00:00
  • c3c34751bd Click on overview map raises error in IE. r=tschaub (closes #1371) ahocevar 2008-02-20 23:40:18 +00:00
  • 0a96e9c17b Adding a preaddlayer event for maps. This is triggered before a layer is added. r=me (closes #1220) Tim Schaub 2008-02-20 23:39:46 +00:00
  • 3dcbeaa351 converting encoding to UTF-8 ahocevar 2008-02-18 18:49:59 +00:00
  • 505b6fc665 fixed @requires ahocevar 2008-02-18 18:46:01 +00:00
  • 1f7e97a500 German Translation. Thanks anonymous for that contribution. Some changes were made to the original patch: * replaced some German terms with English terms that should be more familiar to the average German speaking user * removed translations for console messages (which are usually only read by developers), because too much translation of code-related information does not help in understanding a problem * apply defaults from Lang["en"] to avoid ending up with dictionary keys in messages. ahocevar 2008-02-17 15:41:39 +00:00
  • e8d8dfccb7 New minimumSymbolizer object on Renderer.Elements, which defines only those properties that are needed to ensure that nothing breaks. r=tschaub (closes #1345) ahocevar 2008-02-17 14:49:37 +00:00
  • afd0648a2f Add Tiles@Home layer to spherical-mercator example. Schuyler Erle 2008-02-17 11:54:51 +00:00
  • 10ee48c84c fixes typo (Closes #1365) pgiraud 2008-02-16 08:20:49 +00:00
  • 1f2a057c5d We have a Format.WFS that works in IE now -- by doing so, it means it is spitting out a string, not an object, so this patch removes the Ajax.serializeToString on the string which was breaking. r=tschaub (Closes #1355) crschmidt 2008-02-15 22:42:07 +00:00
  • fa55f54e32 Adding framework for internationalization support. The new OpenLayers.Lang.translate method takes a key and looks for a value in a dictionary based on the current language setting. Set a new language code with OpenLayers.Lang.setCode. Get the current code with OpenLayers.Lang.getCode. Thanks to Mike Adair for the lead on this one. r=ahocevar,me (closes #109) Tim Schaub 2008-02-15 21:15:48 +00:00
  • bafc8b758b fix nd arguments list euzuro 2008-02-13 19:08:10 +00:00
  • b3e53fce68 added @requires OpenLayers/StyleMap.js ahocevar 2008-02-13 15:35:32 +00:00
  • 0d9ab3b3df looking for properties in rules symbolizer may fail. r=elemoine (closes #1362) ahocevar 2008-02-13 12:21:47 +00:00
  • c5dd8ada2c "users should be able to customize the select style per feature": Created a !StyleMap class which stores all styles that are needed for a layer. Controls that need to render features differently can now just give a render intent (e.g. "default", "select" or "temporary") to the layer's drawFeature method, instead of having extra style informations like Control.!SelectFeature.selectStyle. Existing application that set layer.style or feature.style are still supported, but both of these style properties are now null by default. r=crschmidt,elemoine,tschaub (closes #1120) ahocevar 2008-02-12 23:05:47 +00:00
  • dd1f4d1fa9 We split the grid init into a seperate function, and use that as the controlling mechanism, to reduce code duplication between Grid/KaMap/other layers that need a different grid origin. r=euzuro (Closes #1349) crschmidt 2008-02-12 18:24:15 +00:00
  • 57f6d9b914 Only destroy events if they are not already destroyed. This is relevant for controls with obligate controls. Since the map thinks it is in charge of destroying controls, and parent controls also destroy obligate controls, control.destroy ends up getting called twice. If someone wants to change the way this is handled, we should have a standard property that lets the map know that control.destroy is the responsibility of someone else. r=crschmidt (closes #1346) Tim Schaub 2008-02-12 16:43:47 +00:00
  • 49c7ec2739 Tim points out I'm clearly not running the tests often enough by showing that the Ajax test fails. Sorry to all; I'm a bad OL dev. crschmidt 2008-02-12 16:33:23 +00:00
  • 38a6b180ba Map depends on tweening; fix single file builds for users who have custom profiles. Reported by Bart on the mailing list. crschmidt 2008-02-11 14:15:15 +00:00
  • 93b25bf073 It looked like movestart, move and moveend events weren't triggered in a good way while using panTo (with panTween effect), this is fixed by calling moveTo with 'dragging' and 'noEvent' options, and trigering 'moveend' internaly, r=crschmidt (Closes #1348) pgiraud 2008-02-11 13:55:04 +00:00
  • 32d541641d fix typos and missing documentation in ND comments. (non-functional changes) Frédéric Junod 2008-02-11 09:54:21 +00:00
  • da706ed568 fix ND start tag. (non-functional change) Frédéric Junod 2008-02-11 08:08:11 +00:00
  • f42bb15716 No need for ProxyHost to be in Format.KML directly anymore, since #1350 adds it to Ajax.Request. Thanks, rdewit. r=me (Closes #1354) crschmidt 2008-02-11 02:39:01 +00:00
  • 416661ecc6 Apply patch from rdewit to fix a typo I missed; thx rdewit. (Closes #1350) crschmidt 2008-02-11 00:28:42 +00:00
  • 54f85bdb8f Move ProxyHost addition to Ajax.Request instead of OpenLayers.loadURL. Makes it easier to write more complex apps that require ajax.request stuff without duplication of code. r=elemoine (Closes #1350) crschmidt 2008-02-10 20:57:41 +00:00
  • 4d6ccf2e50 Closing the panel div. Tim Schaub 2008-02-10 20:48:51 +00:00
  • 03248296e7 Set a FID on OSM features. Includes tests. Original patch by kleptog (thx), r=me (Closes #1351 crschmidt 2008-02-10 16:18:48 +00:00
  • c70fb21103 Add KML Styling support. Thanks rdewit for this great contribution. r=crschmidt,me (closes #1259) ahocevar 2008-02-09 20:42:32 +00:00
  • 06571e2cf3 fix indent (non-functional change) Éric Lemoine 2008-02-09 20:33:47 +00:00
  • db77398339 Thanks Ian Mayo for this nice ScaleLine control. Give your maps a dualie scale line control customizable with CSS. r=crschmidt (closes #1089) Tim Schaub 2008-02-09 19:39:12 +00:00
  • 1bb88a2f13 Make popup text selectable in Firefox. (Closes #1129) crschmidt 2008-02-09 19:35:27 +00:00
  • b4bf9ea9bc Pass WMC options through to versioned methods. crschmidt 2008-02-09 19:18:02 +00:00
  • 7b87a414a3 The vector layer now only adds events to those available from the layer superclass. r=crschmidt (closes #1343) Tim Schaub 2008-02-09 19:16:25 +00:00
  • 886b963ce5 Fixed several destroy() methods to avoid running into undefined objects when the page unloads. r=crschmidt,me (closes #1222) ahocevar 2008-02-09 18:51:48 +00:00
  • 8e2b4956f2 make redraw have a 'force' parameter to allow it to actually add random data to the params hash to bust caches. r=ahocevar (Closes #1295) crschmidt 2008-02-09 18:29:18 +00:00
  • 09a6814e2d VML flicker when dragging is finished. This very nice patch by sbenthall fixes it. Thanks Seb! r=me (closes #1340) ahocevar 2008-02-09 17:35:33 +00:00
  • 431b882630 Don't redraw the single tile if the layer is not visible; it will be redrawn by setCenter since we clear the grid anyway. crschmidt 2008-02-09 16:51:39 +00:00
  • bf224d699d Giving all controls an events instance. You can now listen for activate and deactivate on any control. Panel controls do this to know when they should redraw. Navigation history control demonstrates the effect of this change. r=elemoine (closes #1346) Tim Schaub 2008-02-09 16:46:02 +00:00
  • 9bfd829512 Rollback patch from #1332, which broke feature creation. crschmidt 2008-02-09 04:23:54 +00:00
  • eb5307608a VML fails to render features with undefined pointRadius symbolizer property. r=crschmidt (closes #1345) ahocevar 2008-02-09 04:00:20 +00:00
  • c52ed952d8 Add navigation history control. This control creates two obligate controls: next and previous. Calling trigger on the next and previous controls steps through the navigation history. r=crschmidt,ahocevar,pgiraud (closes #1240) Tim Schaub 2008-02-09 01:27:45 +00:00
  • 05409a35c0 Make default build be full. crschmidt 2008-02-09 01:19:12 +00:00
  • 60706fc3f9 Refactor Hanadler.Point cancel/finalize to just call a cleanup and pass a callback type, since otherwise they're the same thing. From sbenthall, r=me (Closes #1332) crschmidt 2008-02-09 00:49:38 +00:00
  • de13a7f91f Updating the WFS (transaction) format to add srsName to geometry and include attributes. Thanks sbenthall for the patch. r=me (closes #1344) Tim Schaub 2008-02-08 23:54:24 +00:00
  • f27833f1db Trigger feature related events with feature information and layer related events with layer information. Also adding events.on and events.un convenience methods. r=crschmidt (closes #1343) Tim Schaub 2008-02-08 23:31:27 +00:00
  • 464fb30589 Reset the deal. Tim Schaub 2008-02-08 23:19:09 +00:00
  • bde60b6851 Destroy toys when you're done playing. Tim Schaub 2008-02-08 23:14:38 +00:00
  • 10907f2880 In order to make it more clear that users are required to have the theme/ directory to deploy when depending on features which use CSS, and make it clear how to override the CSS in OpenLayers, include <link rel> ags in all examples. (Closes #884) crschmidt 2008-02-08 22:19:28 +00:00
  • 5625955fbe Fix lots of EOL SSTyle line ending problems. crschmidt 2008-02-08 19:51:55 +00:00
  • 6f2a3598be Fix lots of EOL SSTyle line ending problems. crschmidt 2008-02-08 19:51:55 +00:00
  • d555835791 Committed the wrong version of this file somehow; this should have been in the commit for #110. crschmidt 2008-02-08 19:47:51 +00:00
  • d6691ed219 missing layer (how did this go away? Nobody knows.) crschmidt 2008-02-08 19:37:54 +00:00
  • 3581276835 Add optional context property to OpenLayers.Rule, so rules can now be evaluated against diffent contexts than feature.attributes. This changeset also renames Rule.Logical.children to Rule.Logical.rules, to make it more consistent with OL.Style. r=crschmidt (closes #1331) ahocevar 2008-02-08 16:56:48 +00:00
  • bb26a2601d Add support for animated panning, with most of the work done by Pierre, thx pierre! panTo method now animates when moving. (Closes #110) crschmidt 2008-02-08 16:28:11 +00:00
  • 3f7bbdfa9c Fix for map destroy doesn't clean up all listeners r=tschaub (Closes #1301) crschmidt 2008-02-08 16:04:00 +00:00
  • 49e0bff93d For controls with multiple handlers, we now tack them on to a handlers object. The base destroy takes care of the handlers. r=crschmidt,uz/2 (closes #1338) Tim Schaub 2008-02-08 15:52:03 +00:00
  • 03a827de4d Refactor setCenter to do most of its work through a smarter function called moveTo. In moveTo, we also have knowledge of whether the event was fired through setCenter, allowing us to know the difference between an 'internal' move and an external one. crschmidt 2008-02-08 13:23:41 +00:00
  • d165ad1bce adds tween and easing classes (with algorithms from Robert Penner) to handle animation pgiraud 2008-02-08 13:09:58 +00:00