Commit Graph

  • bebcb130f7 Opera doesn't encode greater than symbols, only less than, when using XMLSerializer. Format.GeoRSS tests now pass. crschmidt 2007-12-17 04:57:13 +00:00
  • 5f6cabf2ec opera drops the ';' on the assigned property when retrieving it. crschmidt 2007-12-17 04:47:30 +00:00
  • abfe313ab4 Opera returns a 'null' instead of an empty string if the attribute doesn't exist. Fallback to an empty string if getAttributeNS returns null. With this change, the Format.XML test passes in Opera. crschmidt 2007-12-17 04:38:12 +00:00
  • 428710e3af Add support for reprojection of lonlats/bounds. (Closes #1213) crschmidt 2007-12-17 03:12:57 +00:00
  • 5884c02683 shorter url for run-tests.html Tim Schaub 2007-12-17 02:18:04 +00:00
  • 2f1c17446b apply r5447 to auto-tests crschmidt 2007-12-17 01:30:16 +00:00
  • 430906ff22 FF3.0b1 has a bug with testing innerWidth/innerHeight of frames. This will be fixed in later versions, but none are released yet. crschmidt 2007-12-17 01:19:57 +00:00
  • bacdad9e30 Add auto-tester page for OpenLayers. Three differences from the main run-tests.html: 1. Meta-refresh, set to 20 minutes. 2. 20 second page download timeout, instead of the standard 6. 3. After all tests have finished, posts results back to http://openlayers.org/test/results.cgi , which shows the results. Failures kick off an email (currently only to me). crschmidt 2007-12-17 00:55:07 +00:00
  • db90eca5bb An antidote to r5440: Allow for '@requires: ' to trigger single file build dependencies, since this is our most common tpo in this regard. crschmidt 2007-12-16 23:15:28 +00:00
  • 41bfd3b4d4 single file build broke with r5401 as well - layer now requires OpenLayers.Projection (see #1035) Tim Schaub 2007-12-16 22:45:29 +00:00
  • 7fddbbdaef very trivial typo - but single file build is broken without this fix (closes #1215) Tim Schaub 2007-12-16 22:33:12 +00:00
  • b5b1cd3c9d Fix a couple minor mis-spelings in OpenLayers.Geometry.Polygon.createRegularPolygon (Closes #1214) crschmidt 2007-12-16 20:00:20 +00:00
  • 6ad22b8e6a adding a click handler for flexible cross-browser single and double click handling - add to a control and set click or dblclick callbacks - thanks for the review and pairing crschmidt (closes #1211) Tim Schaub 2007-12-16 04:42:14 +00:00
  • aa3536ed3a Fixed test for GeoJSON collections (closes #1067). Tim Schaub 2007-12-16 03:09:08 +00:00
  • 35054c4a41 non-functional change - just removing an extra comma from r5435 to appease IE (see #1067) Tim Schaub 2007-12-16 01:08:46 +00:00
  • 44a6b9b176 GeoJSON should parse and serialize GeometryCollections as a Geometry.Collection object. (Closes #1067) crschmidt 2007-12-15 21:45:51 +00:00
  • 7881c2099a When trying to deactivate a control from within that control's featureAdded event, a null exception is encountered. A null check fixes this bug. (Closes #1143) crschmidt 2007-12-15 21:29:06 +00:00
  • f746ed4211 Fix getZoomForResolution() on FixedZoomLevels, which is passed an extra (unused) argument. (Closes #1046) crschmidt 2007-12-15 16:32:33 +00:00
  • 45c420782c Don't flip SVG Y values anymore, since we're working in pixel space these days, and the Y transforms just make working with the SVG directly -- for example, with people modifying it to support text -- more difficult than it should be. crschmidt 2007-12-15 16:24:31 +00:00
  • fb3c02354f Add support for the extremely awesomely super-comprehensive rule based styling that Andreas has been working so hard on. I think this is the single most awesome commit I've ever had the pleasure of committing. The results of this commit are described on http://trac.openlayers.org/wiki/Styles: essentially, this makes it possible to style features in all kinds of fun ways based on rules, and will also form the underlying basis for #533. Things this patch adds: crschmidt 2007-12-15 16:17:50 +00:00
  • 43a4f9320b Tile.Image should register for error events with respect to tile loading events -- this means that if an image fails to load, it will still trigger a loadend event, and the layer will eventually be in a state where it is no longer waiting to load. Thanks to Andreas for the investigation! (Closes #842) crschmidt 2007-12-15 14:16:18 +00:00
  • 4322cf921d Forgot to svn add before committing. crschmidt 2007-12-15 05:52:15 +00:00
  • 059e4ec61f Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups. (Closes #1204) crschmidt 2007-12-15 03:51:21 +00:00
  • c720e44c7c Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups. (Closes #1204) crschmidt 2007-12-15 03:51:21 +00:00
  • c9fdb6122f Create Format.Text, and have Layer.Text use it. (Closes #1033) crschmidt 2007-12-14 22:02:00 +00:00
  • 7c04a7f88a tweaking the dynamic script tag adding bit (closes #1092). Tim Schaub 2007-12-14 20:48:19 +00:00
  • a170e3fdf6 Add support for transformation functions without using proj4js, and make the SphericalMercator mixin register two transformations to/from EPSG:900913, EPSG:4326. Thanks to Tim for the feedback and review. (Closes #1210) crschmidt 2007-12-14 20:45:42 +00:00
  • 9dd5d0e6da Declare 'proj' and 'projCode' properties, simplify verbose code Frédéric Junod 2007-12-14 13:52:43 +00:00
  • c1eb0fe24b Fix for "Permalink captions and harcoded to be smaller". (Closes #747) crschmidt 2007-12-14 12:11:33 +00:00
  • 22bbf98398 Include tests/test_Projection.html and lib/OpenLayers/Projection.js (taken from projections.2.patch). (Closes #1035) Frédéric Junod 2007-12-14 08:36:36 +00:00
  • 47edbf4524 Fix bad spelled word Frédéric Junod 2007-12-14 07:30:32 +00:00
  • 2a00af3dd7 Move scale control styling into CSS file where it belongs. crschmidt 2007-12-14 04:47:43 +00:00
  • f223101539 Apply a fix to KML format to support > 4k characters in a linestring. (Closes #1088) crschmidt 2007-12-14 00:01:13 +00:00
  • abe2a52c31 With a confirmation that Tim is happy considering this a review, I'm going to go ahead and commit this (relatively lighttweight) patch to the code so that the projection library base API is there, even though for the most part, it's not usable yet. This changes map.projection from being a string to being a class, with a projCode on it. (Closes #1035) crschmidt 2007-12-13 23:29:18 +00:00
  • c3c2895e8c Use Format.GeoRSS to do the work in Layer.GeoRSS. (Closes #1025) crschmidt 2007-12-13 23:23:02 +00:00
  • 5824170f10 Box Handler should use CSS to style its box. (Closes #1070) crschmidt 2007-12-13 19:51:49 +00:00
  • 3e652566e8 triggerEvent can now be called with additional arguments for the listeners - this means instead of getting news like 'hey, someone won the lottery' listeners now get news like 'hey, you won the lottery' - in addition, the triggerer gets back the return from the listener, so if a listener wants to say 'dont tell anyone else' the triggerer gets that message - thanks for the reviews (closes #1189) Tim Schaub 2007-12-13 17:30:52 +00:00
  • 0b39ae35ce remove unused code that referred to element.geometry - thanks for catching this pgiraud - I missed it in r3043 (closes #1140). Tim Schaub 2007-12-13 17:08:38 +00:00
  • 2f7fad80df Handler.Point doesn't render points if no default resolution props in map object. Thanks fredj for the review. (closes #1205) Éric Lemoine 2007-12-13 14:53:36 +00:00
  • 0cd5ba5b9f fix ND comment typo Frédéric Junod 2007-12-13 13:09:01 +00:00
  • 7063cdab3a Speed up geometry rendering with VML by replacing string concatenation by array concatenation and joining. Thanks tschaub for the patch optimization and review. (Closes #1095) Frédéric Junod 2007-12-13 10:24:51 +00:00
  • 8f1bca93b1 IE6 is happy, IE7 is happy, I'm grumpy - seems like it takes IE a while to properly update the elements here - adding in an alert lets tests pass in IE6 - clearing the renderer does the same thing Tim Schaub 2007-12-12 23:35:14 +00:00
  • fc442271b7 try namespaced element first for ie7 - what a godawful mess Tim Schaub 2007-12-12 23:16:08 +00:00
  • 5a70226676 throw a real geometry in there for good measure Tim Schaub 2007-12-12 22:53:06 +00:00
  • 4ae06d5be9 this fake renderer needs an eraseFeatures method - thanks pgiraud for catching this Tim Schaub 2007-12-12 22:50:26 +00:00
  • ac1f51a19a renaming getLayersByType and getControlsByType to getLayersByClass and getControlsByClass - since controls have a type property, we want to leave room for a real getControlsByType - thanks for the review elem (closes #1153). Tim Schaub 2007-12-12 20:17:30 +00:00
  • 00d6f66c06 removeLayer must reset layers z-index. Thanks tschaub for the review and the new patch. (closes #1090) Éric Lemoine 2007-12-12 20:08:49 +00:00
  • 8f38213e86 scope matters Tim Schaub 2007-12-12 17:45:39 +00:00
  • 4722009ade A coworker points out that all old OpenLayers builds are pointing to an invalid location for the license. Fix it by adding a reference to the current license location. crschmidt 2007-12-12 02:23:03 +00:00
  • fa81ea81a6 Remove the drawCurve method from the renderers because it is never used. Reported by pgiraud (Closes #1138) Frédéric Junod 2007-12-11 08:32:18 +00:00
  • a9b2a64bdc Util.modifyDOMElement don't update the opactity if the passed value is evaluated as false, passing 0.0 won't work as expected. Fix it. Spotted by sebastien and reviewed by crschmidt. (Closes #1168) Frédéric Junod 2007-12-11 08:23:52 +00:00
  • 354817649d MousePosition control throws error when no layers are on map. Fix it so that they don't. Thanks for the review, fredj. Includes tests. (Closes #1029) crschmidt 2007-12-11 07:27:45 +00:00
  • b105017586 removing console call from example Tim Schaub 2007-12-10 23:06:27 +00:00
  • 6a1b77b382 Turn the pixels into geographic coordinates. crschmidt 2007-12-10 23:01:24 +00:00
  • 1864e21a77 move walkthrough from Schuyler over into doc, since it is not an example, and update links in the process. crschmidt 2007-12-08 14:32:20 +00:00
  • d72fb3c130 move walkthrough from Schuyler over into doc, since it is not an example, and update links in the process. crschmidt 2007-12-08 14:32:20 +00:00
  • 222814b67b Merge the excellent documentation work done during foss4g into trunk. Many thanks to all the contributors who helped put this together. I'm not exactly sure of what's going to happen with this, but for now, at http://openlayers.org/dev/doc/examples.html you can see links to all the examples *with descriptions*. Hooray! crschmidt 2007-12-08 14:21:53 +00:00
  • 7da6a3540e Merge the excellent documentation work done during foss4g into trunk. Many thanks to all the contributors who helped put this together. I'm not exactly sure of what's going to happen with this, but for now, at http://openlayers.org/dev/doc/examples.html you can see links to all the examples *with descriptions*. Hooray! crschmidt 2007-12-08 14:21:53 +00:00
  • ebf611c932 adding getBy and related methods to map - this allows flexible retrieval of things like controls and layers - thanks elem for the review (closes #1153). Tim Schaub 2007-12-08 00:18:56 +00:00
  • e5998110b3 Fix broken link. (thx hue) crschmidt 2007-12-07 22:49:52 +00:00
  • 382b750edd fix ND comment typo Frédéric Junod 2007-12-07 15:48:18 +00:00
  • de427d30f5 Fix missing units param in call to getResolutionFromScale . This should have been fixed a while ago, but we were waiting on a test: Now that it's been reported by four different users, I'm just going to go ahead and fix it, grudgingly, rather than wait longer on a test. (Closes #958, #1117) crschmidt 2007-12-07 14:50:15 +00:00
  • 46b75b2154 Mark the forward and reverse mercator functions as public. This is hte canonical way of transforming data, and we should make sure users feel comfortable using it. crschmidt 2007-12-06 15:00:48 +00:00
  • 6758f490bc set map.baseLayer to null when removing base layer - thanks for review elemoine (closes #1191). Tim Schaub 2007-12-05 17:20:56 +00:00
  • 6b1b2f0f37 There is 2 tests for the getLength function, remove one of them Frédéric Junod 2007-12-05 13:25:05 +00:00
  • e58ba687cd remove geometry components backwards - thanks for the catch flixo and review crschmidt (closes #1190). Tim Schaub 2007-12-05 08:53:27 +00:00
  • fce3f19724 fix ND comment, non-functional change Frédéric Junod 2007-12-05 07:54:59 +00:00
  • b71f8bc6c9 applies latest patch to the renderers tests, special thanks to pgiraud for his great work! (hopefully closes #1128 this time) Éric Lemoine 2007-12-04 13:36:02 +00:00
  • 75795805b4 ND comment fix (non-functional change) Frédéric Junod 2007-12-03 10:01:18 +00:00
  • 7e43f8688a ND comment fix (non-functional change) Frédéric Junod 2007-12-03 09:29:00 +00:00
  • 8231be5a4b Another fix for an ND comment typo, thanks pgiraud! (non-functional change) Éric Lemoine 2007-12-03 08:49:57 +00:00
  • db47606f6c ND comment fix (non-functional change) Éric Lemoine 2007-12-03 08:44:30 +00:00
  • a277332238 fix test_Elements.html tests and make them compatible with r5323 (#1172) (closes #1184) Éric Lemoine 2007-12-03 08:13:04 +00:00
  • fec5d40fc7 Add the missing this.layername in TileCache constructor (in clone function), add a unit test for this function (Closes #1180) Frédéric Junod 2007-12-03 06:59:05 +00:00
  • 92f5a7d749 Reversing the order we set opacity changes the behavior when using VE, but nothing else. This fixes the fact that you can't use client side opacity while including the Virtual Earth javascript. Thanks for the spot from Jeff Yutzler. Includes a manual test. (Closes #1175) crschmidt 2007-12-02 20:46:15 +00:00
  • 70ec5ed6de ND comment fix (non-functional change) Éric Lemoine 2007-12-02 12:36:34 +00:00
  • 73fe6380c7 Fixes and performance improvements to VML renderer problems with externalGraphic, diligently filed, investigated, and fixed by The great and powerful Oz, er, Andreas, who is becoming my new vector rendering hero. (Closes #1172) crschmidt 2007-12-01 22:57:58 +00:00
  • a291ff04fb Fix a mistake in my commit of the tests: forgot to 'svn add' the directory I needed. Good catch, elemoine. (Closes #1128) crschmidt 2007-12-01 19:16:05 +00:00
  • d91db97efa Renderer tests, from pgiraud. (Thx!) (Closes #1128) crschmidt 2007-12-01 15:03:23 +00:00
  • f6091b2ecf FixedZoomLevels.js doesn't properly set the resolutions array. Special thanks to Sebastien Roch for the bug report and to Tim Schaub for the code review and extra comments. (closes #1124) Éric Lemoine 2007-12-01 14:04:18 +00:00
  • 76fa0da3b7 New OpenLayers.String.format function to Format a string given a string template and some context -- to be used within the SLD framework. Developed by Andreas and Sr. Schaub. Thanks, guys! crschmidt 2007-12-01 13:20:59 +00:00
  • 10cf5bfefc drag, rotate, resize, and reshape with the ModifyFeature control - thanks pvalsecc and elemoine for the inspiration, tests, and code - good partenering with you guys (closes #1150). Tim Schaub 2007-11-30 17:09:23 +00:00
  • 600435ad21 adding a manual acceptance test to tests folder Tim Schaub 2007-11-29 20:57:55 +00:00
  • 155796bcfd Fix ND comment typo. Spotted by blaamann Frédéric Junod 2007-11-28 07:02:31 +00:00
  • 527866aa51 adding doc comments to text layer - tidying up doc menus Tim Schaub 2007-11-27 18:20:18 +00:00
  • f1fe7c7c63 Fix ND comment. Frédéric Junod 2007-11-27 11:40:53 +00:00
  • 7d0d11fba3 Correctly check if the alpha hack needs to be applied to the layer's div by testing if the alpha option is set and by calling Util.alphaHack(). Thanks elemoine for the review (Closes #1130) Frédéric Junod 2007-11-27 10:17:54 +00:00
  • 38652a7686 Change Util.alphaHack to return 'False' not 'undefined' as defined by the API. (Closes #1169) Frédéric Junod 2007-11-27 10:05:18 +00:00
  • 12c7cb07b2 extend now only sets defined properties on the destination - if your source has a property set to undefined, the destination property will not be set (closes #1160). Tim Schaub 2007-11-26 23:45:43 +00:00
  • d7905ec735 applyDefaults now respects null - if you want to override a property with applyDefaults, set it to undefined first - applyDefaults also now correctly applies a custom toString method (closes #1063). Tim Schaub 2007-11-26 23:34:50 +00:00
  • 0b571f128f fix gmaps key for domain euzuro 2007-11-23 21:52:36 +00:00
  • 263fade72a Mark drawFeature as stable (Closes #1059) crschmidt 2007-11-21 20:31:13 +00:00
  • 24d4fdc1bd apply patch from #1106, minor tweaks for performance. (Closes #1106) Paul Spencer 2007-11-21 20:14:50 +00:00
  • a13cacdde9 protect stopObserving() from trying to remove nonexistant events. thx for review, cr5 (Closes #1151) euzuro 2007-11-21 18:50:55 +00:00
  • 3bbc473bfb Commit this quite-excellent patch from Roald de Wit, which adds: * the ability to 'flip' the GML format xy ordering on parsing, allowing the GML parser to parse 'real' GML in 4326 when the option is on. * parsing of GML 'envelope' as a Polygon. this is primarily to support the next... * GeoRSS GML read support, using the GML format when neccesary. crschmidt 2007-11-21 15:53:32 +00:00
  • 164f96714f Commit this quite-excellent patch from Roald de Wit, which adds: * the ability to 'flip' the GML format xy ordering on parsing, allowing the GML parser to parse 'real' GML in 4326 when the option is on. * parsing of GML 'envelope' as a Polygon. this is primarily to support the next... * GeoRSS GML read support, using the GML format when neccesary. crschmidt 2007-11-21 15:53:32 +00:00
  • a4d3f48752 'supported' is defined, API-wise, to return 'false' if not supported, but the VML test returns 'undefined' instead. Fix that with this patch from fredj. (Closes #1165) crschmidt 2007-11-21 15:48:41 +00:00
  • de8c0119f1 Only add the VML namespace if we haven't already added it. (Closes #1141) crschmidt 2007-11-21 15:18:12 +00:00
  • bd15c32ca4 Add attribution for OSM. crschmidt 2007-11-21 13:36:22 +00:00
  • ffc9a57575 typo snuck into previous commit. crschmidt 2007-11-21 08:38:49 +00:00