Commit Graph

  • dc69fc5360 Closes #1490. Add comment to make it clear that callers of createPopup must not call destroy on returned popups but rather use the feature.destroyPopup method. Paul Spencer 2008-04-08 02:04:28 +00:00
  • 4085a2c220 Pullup commits from trunk to 2.6 branch: * virtualStyle typo (Closes #1495) * JSON fix for Safari 3.1 (Closes #1493) * panzoombar off-by-one (Closes #1486) * Handler Hover exception (Closes #1480) * Popup.framedcloud exception (Closes #1479) * VML Renderer when including namespace in page (Closes #1477) * SLD/Rule/Filter changes -- most of this commit (Closes #1492) crschmidt 2008-04-08 01:51:04 +00:00
  • 1091e34c0b With dramatic flourish, I'm modifying 21 files with 1033 insertions and 815 deletions between release candidates. This moves all rule subclasses to a more natural home as filter subclasses. Also adds tests for SLD write and corrects a handful of issues there. Apologies to all who lose sleep over this sort of thing. r=ahocevar,crschmidt (closes #1492) Tim Schaub 2008-04-08 00:13:45 +00:00
  • d7bbcab4df spelling mistake in comment. Paul Spencer 2008-04-07 18:38:13 +00:00
  • 7251cb438f fixed typo: replaced styleVirtual with virtualStyle, so it matches the API property. r=crschmidt (pullup #1495) ahocevar 2008-04-07 08:07:25 +00:00
  • 53fb443819 Replace the regular expression used in Format.JSON with one which is longer, but apparently more friendly to braindead browsers. This allows Safari 3.1 to parse long JSON strings (>26k), which was not possible with the previous regex. r=euzuro (Pullup #1493) crschmidt 2008-04-07 04:22:35 +00:00
  • e84f3d6181 fix issue where we try to createblocks without a proper this.relativePosition. Robustness++. (Pullup #1479) euzuro 2008-04-07 04:09:46 +00:00
  • 1b269f06f8 2.6 accidentally broke behavior when clicking on the panzoombar. Thanks to Linda Rawson's report of this issue, this is now fixed, by moving the Math.floor call to a different part of the code. r=euzuro (Pullup #1486) crschmidt 2008-04-07 04:08:33 +00:00
  • 07b72def92 removing duplicated html ahocevar 2008-04-06 17:07:03 +00:00
  • 797c57586a The FramedCloud popup throws an error if you attempt to call setContentHTML before you add the popup to the map. To prevent this, don't call construct or updateBlocks if relativePosition is null, to prevent this error message. r=elemoine, (Pullup #1479) crschmidt 2008-04-02 14:08:01 +00:00
  • f95f280dc7 changed vml namespace prefix from "v" to "olv" to avoid conflicts with other libraries that use vml. r=pgiraud,crschmidt. (Pullup #1477) ahocevar 2008-04-02 13:03:23 +00:00
  • 72be27ac1b FF/Windows < 2.0.0.13 reports "Illegal operation on WrappedNative prototype object" when calling hawOwnProperty if the source object is an instance of window.Event. r=crschmidt (closes #1480) (Pullup #1480) Éric Lemoine 2008-04-02 11:53:20 +00:00
  • 67aca311a9 need to check if we have a center set or permalink won't work. crschmidt 2008-04-01 13:27:29 +00:00
  • 265b4632be Tag 2.6RC1. release-2.6-rc1 crschmidt 2008-04-01 11:04:59 +00:00
  • b9348dd5d5 avlee, elemoine, and ahocevar point out that we should change the initialization of the imageSrc property to be *before* we call the superclass. This pullup (Closes #1475), and is the last thing I'm going to touch before the 2.6 release. svn merge -r6749:6751 trunk branch. crschmidt 2008-04-01 11:00:45 +00:00
  • d94e408084 now also committed the removal of the imageSrc property definition in Popup.FramedCloud. avlee's original patch is perfectly sane. Sorry for the confusion. Thanks elemoine for the hint. (references #1475) ahocevar 2008-04-01 07:18:26 +00:00
  • 5fbfb504f4 Set the imageSrc bevore the super class is initialized in Popup.FramedCloud. Thanks avlee. r=elemeoine,me (closes #1475) ahocevar 2008-04-01 07:08:07 +00:00
  • 1c055d4f84 Branch the 2.6 release. Hooray! Schuyler Erle 2008-04-01 01:30:22 +00:00
  • d15ab68360 quick lint before rc1, only some missing missing semi-colons. Paul Spencer 2008-04-01 00:14:34 +00:00
  • 2fbb96099b apply VML rendering fix from andreas, since we're about to kick off RC1 crschmidt 2008-03-31 23:01:49 +00:00
  • 8aa4af76e0 Calculating the FramedCloud path at load time leads to not respecting the ImgPath variable if it is set, because it can't be set before the OpenLayers.js file is loaded. Move ImgPath calculation into initialize(), so that it is picked up correctly. Thanks, fvanderbiest! (Closes #1473) crschmidt 2008-03-31 14:17:58 +00:00
  • f5af355a17 Popup close image is now in the theme's img folder (closes #1472) ahocevar 2008-03-31 11:24:28 +00:00
  • b1a9f9b662 move close button image for popups into the theme (references #1472) ahocevar 2008-03-31 11:23:15 +00:00
  • d225c8b42a r6673 introduced typos in this file resulting in not valid html code pgiraud 2008-03-31 09:33:49 +00:00
  • 0f35350920 Add sizes to a couple of the sundial images, and zoom into show two of the ones we hae sizes for to create a more compelling first impression. crschmidt 2008-03-31 06:19:43 +00:00
  • a53dbf6cda Moving sundials kml into kml subdir crschmidt 2008-03-31 06:10:29 +00:00
  • c839d7be10 sorry, forgot about this jpg euzuro 2008-03-31 05:55:45 +00:00
  • f3d81983dd Add 'allowSelection' option to controls, to determine whether they allow selection. Use CSS ClassName in FF, and onselectstart attribute in IE, to control selection. Fix inappropriate overriding of className in some Control subclasses in order to let this work. Prevents accidental selection of controls in IE and FF. r=euzuro. (Closes #1378) crschmidt 2008-03-31 05:55:12 +00:00
  • 1c2dc204c4 Use framedcloud popups, because they're awesome. crschmidt 2008-03-31 05:37:39 +00:00
  • e6c3d695ad bring back changes from r6718 that i accidentally blew away crschmidt 2008-03-31 05:32:56 +00:00
  • 3e348f450e fix up tests, remove _01_. (Closes #1387) euzuro 2008-03-31 05:31:28 +00:00
  • 0d6174db7f Note to self: when moving all test files, *also* move the location of those files in the test plan. (in other words: oops.) crschmidt 2008-03-31 05:16:11 +00:00
  • ce1e4d81ea Another bad location crschmidt 2008-03-31 05:14:16 +00:00
  • 62d1ec19fc missed these files in the initial move crschmidt 2008-03-31 05:13:25 +00:00
  • a3b84b5d23 update path crschmidt 2008-03-31 05:12:47 +00:00
  • 0244858054 bring back r6710 now that popup changes are in crschmidt 2008-03-31 05:03:49 +00:00
  • 463dc45fbb Adding support for new generation 'framed' popups. This patch includes numerous improvements to the main popups, including the addition of autoSizing, panIntoView, and full support for overflow:auto of the contents div. Thanks go out to the CloudAmber folks, to Pierre in la belle France, to the guys at TOPP and of course, to senior cr5 for his patience and help in the last and final stretch. this is a huge improvement in the popup arena and couldn't have been done without the broad help of everyone out there in the community. Thank you everyone for making this possible. Big step for OpenLayers. (Closes #926) euzuro 2008-03-31 04:43:36 +00:00
  • 0fa07edb04 Firefox 2.0.0.13 changed behavior iwth regard to loading files relative to an iframe included in a page from matching every other browser to matching IE. Rather than try and guess what's going to happen with this in the future, at the moment, just duplicate the data, in hopes of a more sane solution coming along in the future for all our data loading needs. crschmidt 2008-03-31 02:41:26 +00:00
  • 69ca5c7fdd Revert r6710: The new popup coe is going to need to change tests, so this needs to wait. crschmidt 2008-03-31 02:12:03 +00:00
  • 02bbd43687 Since we've now completed all the work that is including new tests in 2.6, move tests around. (See #1387) crschmidt 2008-03-31 01:57:38 +00:00
  • 7a7ab7109b Path Handler can result in selection of map in IE (Closes #1410), with patch + research from bjorn (hooray!) crschmidt 2008-03-30 22:03:29 +00:00
  • 136a37bf2f replacing tabs with spaces. no functional diffs here. euzuro 2008-03-29 00:38:47 +00:00
  • d46f884201 Promoting the map.layers property to the API. Assuming this meets the approval of other devs, please roll back if not. Tim Schaub 2008-03-28 16:58:21 +00:00
  • e0aae7f946 Move to the latest google api to pick up smooth dragging support crschmidt 2008-03-28 14:51:22 +00:00
  • 3b267f5334 SLD format rewrite. Adds a versioned parser with read and write support. This does not come with full support for ogc:expression parsing, but makes for easy future enhancements. r=ahocevar (closes #1458) Tim Schaub 2008-03-27 17:18:05 +00:00
  • 6b1903b5a3 Improve performance when not using transitions by not forcing a reflow, which can slow rendering significantly when many layers are in place. crschmidt 2008-03-27 13:01:25 +00:00
  • 793fa3444b Add support for Safari 3.1 SVG version strings: Safari got more 'honest' about what it supports, at the cost of breaking OpenLayers Vector layers. This looks for a more 'basic' SVG featureset, as recommended by a Webkit developer. r=pagameba (Closes #1463) crschmidt 2008-03-25 17:29:11 +00:00
  • 19da92a321 Re #1451. Re #1456. Change the way ScaleLine respectZoom is tested to test if the maxWidth of the control is respected at all zoom levels with two separate map units and with a custom maxWidth value. Paul Spencer 2008-03-24 13:17:34 +00:00
  • 66e89b9bf0 Making the feature handler a dependency of the SelectFeature control. Tim Schaub 2008-03-21 18:55:26 +00:00
  • f07e0ccda6 Adding an extra check for IE, where request.responseXML is true on occasion even if the documentElement doesn't exist. r=crschmidt (closes #1428) Tim Schaub 2008-03-21 17:34:27 +00:00
  • 03fc6aacd4 FixedZoomLevels subclassese don't propertly set min/max resolution, so calculateInRange always returns false, so the layers can never be displayed (due to recent code): Fix calculateInRange by setting min/max res. r=tschaub, (Closes #1457) crschmidt 2008-03-21 17:31:58 +00:00
  • cc8f3d2319 Use the more modern click handler to interact with click events rather thanregistering directly on the map. This gives more flexibility and functionalityto applications, and should be the preferred way to handle these events goingforward. crschmidt 2008-03-21 15:45:54 +00:00
  • 4b02bc5ab1 Adding Czech translation from jachym. Only en.js is included in single-file builds. Edit your configuration for a single-file build with translation support. r=me (closes #1454) Tim Schaub 2008-03-20 18:16:00 +00:00
  • ce321ccea3 dragging mode of modify feature control is broken. r=crschmidt,tschaub. (closes #1418) Éric Lemoine 2008-03-20 07:26:21 +00:00
  • 8b759ab1d6 Closes #1451: change test to be (hopefully) map unit independent. r=crschmidt. Paul Spencer 2008-03-19 21:09:53 +00:00
  • 2694905155 Fix mousewheeling on eventpane layers. r=tschaub (Closes #1438) crschmidt 2008-03-19 20:53:59 +00:00
  • 9f425430ef removing extraneous lines from getParameters() function (r=tschaub) (Closes #1450) euzuro 2008-03-19 20:38:25 +00:00
  • 3cc419aada Fixing OpenLayers.Style.createLiteral to work with all strings. r=ahocevar (closes #1439) Tim Schaub 2008-03-19 19:23:15 +00:00
  • 410cd22976 fix doc typo Frédéric Junod 2008-03-18 08:44:40 +00:00
  • 88c449736c correcting namespace for xlink Tim Schaub 2008-03-17 20:09:15 +00:00
  • 8d4a03cbbc Natural Docs menu update Tim Schaub 2008-03-17 18:40:48 +00:00
  • ac7172bec7 If you call setVisibility(true) on a layer which is out of range, the layer's visibility won't change, but the tiles will be displayed anyway, in the wrong position. Instead, prevent tiles from being displayed at all. r=ahocevar, (Closes #1429) crschmidt 2008-03-17 15:53:13 +00:00
  • ec3c55606c added navigation control so users can at least play around a little ahocevar 2008-03-17 09:58:27 +00:00
  • 32d7e9d92b Correcting typo in message thrown by format. c=trivial Tim Schaub 2008-03-16 19:52:17 +00:00
  • cd27825fb5 Add format-level layerOptions configuration property to WMC parser, to support the configuration of user-preferred layer options in order to allow configurability of options like buffer, ratio, etc. r=ahocevar (Closes #1411). crschmidt 2008-03-16 12:21:15 +00:00
  • ca4a8d1ebf Demonstrating the use of the MousePosition control with the Hover handler. Tim Schaub 2008-03-15 00:16:37 +00:00
  • 6e9b661af1 Avoid infinite loops with Not elements in SLD parsing. c=ahocevar (closes #1440) Tim Schaub 2008-03-14 21:07:39 +00:00
  • adb7255910 Util doc updates. Tim Schaub 2008-03-13 16:58:01 +00:00
  • 0da40191ec Rolling back patch from #751: this broke IE when used (destroy tries to destroy slider even though it was never created). Thanks to the tests we caught it, but this patch needs reworking. crschmidt 2008-03-13 13:44:09 +00:00
  • 31f769b61a Prevent SVG renderer from drawing features in the upperleft corner of the map pane when coordinates are outside range. The fix in r6380 did not work properly. r=crschmidt (closes #1360) ahocevar 2008-03-13 09:49:43 +00:00
  • 9b1cf1ef01 showPan & showZoomBar options in control PanZoomBar, to turn off the various chunks. In the future, we'll use this to have a single control integrating panzoom and panzoombar, but not quite yet. Revamped patch from kkempfer (thx!) with tests. r=me (Closes #754) crschmidt 2008-03-13 04:20:53 +00:00
  • 85d06c5137 VML and SVG renderers behave differently with zero strokeWidth. r=tschaub (closes #1435) ahocevar 2008-03-12 22:38:15 +00:00
  • 106e73618a Adding an args argument to OpenLayers.String.format. This lets you set context properties as functions that will be executed with the given arguments where tokens match. For styles, this means you can specify a context that contains functions that return some value based on the feature being styled. See the styles-context.html example for use. r=ahocevar (closes #1434) Tim Schaub 2008-03-12 22:24:33 +00:00
  • 7a25a14f93 propertyStyles of a Style's default symbolizer will not be parsed unless rules are specified. r=tschaub (closes #1432) ahocevar 2008-03-12 16:42:16 +00:00
  • 0768fa4d27 Fix tileMonitoringHooks test: faked-out tile was missing an unload method. crschmidt 2008-03-12 16:04:23 +00:00
  • ae5ec139b9 Cruft begone. Tim Schaub 2008-03-12 15:40:02 +00:00
  • ba4a33b478 Since the name google.html should be reserved for our canonical Google example, I'm moving this reproject stuff into a google-reproject.html example. The google.html example now shows the various Google layers available. The google-reproject.html example demonstrates the reproject trick. I find examples with different indentation on every line a bit hard to read, so I'm straightening that out as well - and removing bits that were not used or not relevant to the examples. Tim Schaub 2008-03-12 15:34:05 +00:00
  • a54f36650c four tabs for spaces Tim Schaub 2008-03-12 14:51:37 +00:00
  • 90d824041c No longer do we force re-parsing of request.responseText for WFS, GML, and GeoRSS layers. Thanks avlee for spotting this performance hit we've been taking since at least r174. r=crschmidt (closes #1428) Tim Schaub 2008-03-12 14:21:27 +00:00
  • cde39e98ae Improve the handling of tile events with regard to tiles being unloaded before their load events fire by adding an 'unload' event to the tile, and calling it from the places where we're about to stop listening to events. In the longer term, it might make sense to have this be automatic, but this resolves issues with map resizes screwing with tile events, and reverts a previous, incomplete solution to solve a problem with untiled tiles not resizing when the map size changes. r=ahocevar, checked out by bartvde (Closes #1417) crschmidt 2008-03-12 12:53:34 +00:00
  • 819825d8c3 Apply patch from rdewit to fix parsing of hotSpot values on Icon objects in KML styles. This fixes issues reported with the location of icons when using KML styling. r=me (Closes #1426) crschmidt 2008-03-12 12:49:47 +00:00
  • ab41d557ac Add David Overstrom to authors for his help on #1402 crschmidt 2008-03-11 18:35:28 +00:00
  • 98e7bd3db6 Add David Overstrom to authors for his help on #1402 crschmidt 2008-03-11 18:35:28 +00:00
  • d12fd7c04c Smooth GDragging at last. Thanks to overstdr for digging up the getDragObject method. With v2.93 and later we no longer get flickers on panning. Non-API smooth dragging is no longer supported. r=crschmidt,me (closes #1402) Tim Schaub 2008-03-11 18:32:17 +00:00
  • 008c820e2b Clean up google example. crschmidt 2008-03-11 18:14:18 +00:00
  • 6d59830d0e Documenting onModification* methods as deprecated in ModifyFeature control. Tim Schaub 2008-03-11 16:02:39 +00:00
  • 606347cdc9 panning test updates Tim Schaub 2008-03-10 01:25:44 +00:00
  • d0b4a17116 Add improved navigation control support for disabling zooming with the mousewheel. Original from sbenthall (yay), example and more code from me, tests from elem. r=elemoine. (Closes #1339) crschmidt 2008-03-07 23:04:32 +00:00
  • 6ee694fc2b fix Tile tests (checked with FF2 and IE7) Éric Lemoine 2008-03-07 08:42:03 +00:00
  • 3fa5487c37 Re #933. Apply transition effect patch to trunk, many thanks to Erik, Tim and Chris for support. r=crschmidt, tschaub. Paul Spencer 2008-03-06 22:50:44 +00:00
  • e7b9a9a41b Adding explicit eventListener unregistering in map, layer, and control destroy methods. Note that this only makes explicit what is already happening elsewhere, but it makes us feel complete. Also throwing in the example I missed in the previous change. r=euzuro (closes #1404) Tim Schaub 2008-03-06 18:24:18 +00:00
  • 21c097a297 Add more docs to rectangle crschmidt 2008-03-06 15:02:30 +00:00
  • 438011bdab No var keyword needed in this scope. Tim Schaub 2008-03-06 09:23:10 +00:00
  • 0a8aa16f78 Control panels should deactivate all non-toggle type controls before activating a new control. r=me (closes #1414) Tim Schaub 2008-03-06 05:22:18 +00:00
  • e4b7c6de53 The barest of docs for the Google constructor. Tim Schaub 2008-03-06 04:58:46 +00:00
  • 23a1ce7729 fixinG icon offset issue. thanks to abejenaru for the oriGinal buGreport (r=tschaub) (Closes #1363) euzuro 2008-03-05 21:43:41 +00:00
  • 590aa9d74e MapGuide 2.0 (just released) has support for a 'clip' parameter, which is designed to help performance with non-tiled layers. Patch from madair to take advantage of this in OpenLayers. Thanks Mike. r=me, (Closes #995) crschmidt 2008-03-05 21:06:42 +00:00
  • 155d86f070 updated ND comment (see #1417) ahocevar 2008-03-05 15:11:21 +00:00
  • 0a8ffebb85 resizing the map quickly messes up tile load events (singleTile). Thanks bartvde for the patch. r=me (closes #1417) ahocevar 2008-03-05 14:41:32 +00:00
  • 894c457fdd Adding eventListeners property to layer, control, and map. Setting this property at construction registers the given listeners based on event type key. r=elemoine (closes #1404) Tim Schaub 2008-03-05 00:07:46 +00:00