Commit Graph

  • 9b355b76dc update all base types to deal with any kind of input. a continuation of r1412 and a resolution for #245. euzuro 2006-09-07 18:18:06 +00:00
  • 00e354511e make sure passed in values are floats... if they are strings, parse them. just in case. add test for this euzuro 2006-09-07 02:31:37 +00:00
  • 74f5b814eb update id system -- now control and layer divs take their classname and add a random number euzuro 2006-09-06 20:44:55 +00:00
  • 6fd2302450 remove old unused line of code euzuro 2006-09-06 20:25:33 +00:00
  • dd3dcef4ed oops. we forgot to add the projection to the parameters. not good. euzuro 2006-09-06 05:24:07 +00:00
  • e8bd5086df If Events finds a listener on a DOM element, call Event.stop so we don't fall through to other DOMelements. Schuyler Erle 2006-09-06 04:36:38 +00:00
  • e1a1b94582 udpate id's of control divs. This is for #226 euzuro 2006-08-31 15:27:10 +00:00
  • 4b0d947f3e change of heart. revert r1396 euzuro 2006-08-31 14:56:29 +00:00
  • 51c86b7b3c create div on initialize euzuro 2006-08-31 14:54:31 +00:00
  • ae704e5158 remove superfluous example euzuro 2006-08-31 14:53:33 +00:00
  • 33499f59e9 Remove test.html. This file was originally used for debugging the new LayerSwitcher, which turned out to be a problem with IE not understanding '.checked' before an element is added to the DOM. crschmidt 2006-08-31 10:50:34 +00:00
  • 7a1ae31fc4 Fix for Ticket #201, reported by Steve Pomeroy. Thanks Steve! crschmidt 2006-08-29 11:25:54 +00:00
  • d1ac37984e Fix for #198, from Sean Gillies. Thanks, Sean! crschmidt 2006-08-29 11:19:00 +00:00
  • a2ded73387 Change GMaps key to be for OpenLayers.org. crschmidt 2006-08-28 05:28:19 +00:00
  • ef00010111 Multimap now conforms to other EventPane subclasses in expected behavior for some functions, and has tests available, so when I break it at some point, hopefully I'll know :) crschmidt 2006-08-27 01:46:09 +00:00
  • 0c1caaf717 Redo Yahoo class to work under EventPane. crschmidt 2006-08-26 20:37:00 +00:00
  • 2248b6a59b Make image load error color configurable. Document it. crschmidt 2006-08-26 16:05:25 +00:00
  • 8be2cfbc71 Make image load error color configurable. Document it. crschmidt 2006-08-26 16:05:25 +00:00
  • ecdb77fa9c getMousePosition did not take into account page scrolling. This closes #211 . crschmidt 2006-08-26 15:55:41 +00:00
  • ae6795f8d2 Better documentation of need to set controls: [] on constructor to turn off MouseDefaults. crschmidt 2006-08-26 15:26:10 +00:00
  • 954d0b351a Better documentation of need to set controls: [] on constructor to turn off MouseDefaults. crschmidt 2006-08-26 15:26:10 +00:00
  • 57161a94be part two of #204 -- all that remains is to write some test functions euzuro 2006-08-26 10:36:18 +00:00
  • 693eab5cc9 added getZoomForResolution() to map & layer. partial fix for #204 -- need to make a getZoomForResolution() for OpenLayers.Layer.FixedZoomLevels euzuro 2006-08-26 10:26:12 +00:00
  • d486e1964b fix for #210 euzuro 2006-08-26 10:14:41 +00:00
  • b9c6293b2c Forgot to add one comment from r1379: euzuro 2006-08-26 02:55:14 +00:00
  • f582775d11 - Removed unnecessary accessors from OpenLayers.Layer: getProjection(), getMaxExtent(), getMaxResolution(), and getNumZoomLevels(). They were just wrapping around the properties. better to just access the property directly. Needed to update for these removals in many different files. euzuro 2006-08-26 02:51:38 +00:00
  • a8891101d6 no reason to redefine these here -- isBaseLayer is defined in OpenLayers.Layer now. euzuro 2006-08-26 00:11:01 +00:00
  • b6200568d4 IE breaks on this -- probably because document.write () delays the onload, but appending script elements doesn't. (Hooray for IE.) rolling this back and reopening the ticket until I can work out the best workaround for this. crschmidt 2006-08-25 18:51:01 +00:00
  • 84d4e70fa5 More cleanups. These are unneccesary. crschmidt 2006-08-25 18:44:23 +00:00
  • e9331479dc Right. 2.0 and trunk are not the same. svn switch is my friend. crschmidt 2006-08-25 18:38:20 +00:00
  • 7ed62ba639 Commit canvas work to trunk. Note that the Canvas layer is *not production ready* -- it is a memory hog, and slow as heck when dragging. However, including it doesn't harm OpenLayers. crschmidt 2006-08-25 18:20:20 +00:00
  • 9233d5446d Merge multimap sandbox to trunk. crschmidt 2006-08-25 18:18:26 +00:00
  • 94eafc3f55 Merge 2.0 branch to trunk. crschmidt 2006-08-25 18:17:06 +00:00
  • 104e509eb9 Merge 2.0 branch to trunk. crschmidt 2006-08-25 18:17:06 +00:00
  • 48445f0878 And I said "Ship it, or I will want to kill the next reporter of an IE bug". And so it was done. release-2.0 crschmidt 2006-08-25 17:55:07 +00:00
  • a0cd93cb41 Document restriction on when to add permalink control. crschmidt 2006-08-25 11:55:45 +00:00
  • 0a01ef899e Commit r1365 against 2.0, rather than sandbox. crschmidt 2006-08-25 02:08:20 +00:00
  • 136393864b Tagging 2.0 branch for RC6. release-2.0-rc6 crschmidt 2006-08-24 18:51:29 +00:00
  • 5987d5ea33 (continuation of r1359) -- tschaub points out that zoomBox and measureBox are not the same thing, and also points out that he's already fixed the problem in a different and better way. Add in half of his patch, and keep the other on the back burner until I can review post 2.0 and see how much of this code needs a rewrite anyway. crschmidt 2006-08-24 15:20:48 +00:00
  • b5153746f6 git-svn-id: http://svn.openlayers.org/branches/openlayers/2.0@1359 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf crschmidt 2006-08-24 15:19:18 +00:00
  • fb663b5127 If we turn on the zooming tool, then click on the panzoombar in IE, because the click drops through (Why god Why?!) we get an error telling us that evt.xy doesn't exist, so we wrap it in an if statement which protects us. (Deliver us, o if statement, from IEvil...) crschmidt 2006-08-24 15:07:18 +00:00
  • 1f9cb14069 When you click and don't drag, we zoom in, but we want to set performedDrag, since that's how we ensure that we don't fire click. crschmidt 2006-08-24 14:52:39 +00:00
  • 6fe0826a54 Change zoomBox function to be a 'zoom in' if the user draws a very small box. In order to remove duplicate code, make MouseToolbar a subclass of MouseDefaults, and create zoomBoxEnd method. crschmidt 2006-08-24 14:21:45 +00:00
  • e61545167d Map should change zoom level to maximum for the baseLayer when the baseLayer changes, rather than trying to set it to 17, which will fail, and leave the zoom level as null, and then everything explodes. Thanks to Heidi Fox at MC for this report. crschmidt 2006-08-24 14:08:18 +00:00
  • d564f2da47 Add tests for MouseToolbar. This is relatively minimal compared to what really should be done, but this will catch the problems encountered in RC3 automatically if the tests are run in IE. crschmidt 2006-08-24 13:35:55 +00:00
  • 5320cd290c Dragging stopped by Event.stop call when it shouldn't have been -- no need for this. Only stop event if mousedown started in zoombar. crschmidt 2006-08-24 05:59:12 +00:00
  • a50b175b66 Because we've removed the ruler button, its image no longer needs changing when we change modes to/from that mode. Remember that. crschmidt 2006-08-24 05:49:02 +00:00
  • ba42a3a1b5 Never do release management at 1:30 in the morning. (I apologize.) release-2.0-rc5 crschmidt 2006-08-24 05:20:22 +00:00
  • 739b821570 console.log is NOT VALID JAVASCRIPT. Soon I will need to just create a wrapper function which does nothing, if I keep up these crappy commits. crschmidt 2006-08-24 05:19:20 +00:00
  • 539df55c39 RC3 had a major bug with event handling in the MouseToolbar, introduced due to firebug/safari-specific debug statements left in the RC. This will fix the "Every time I drag a rectangle, it just keeps dragging" issue that users were reporting. release-2.0-rc4 crschmidt 2006-08-24 05:14:46 +00:00
  • 82f786c630 Restore maxZoomLevel functionality, removoed between rc1 and rc2 by Erik. This was the *only* way of setting zoom levels up until 2.0, taking it away in an RC release is bad. (This resolves Jeff Dege's most recent mail to the users list.) crschmidt 2006-08-24 05:11:28 +00:00
  • eb783aab37 If we choose to switch to a mode via the toolbar, don't leave that mode until we're explicitly told to. This allows users to click the zoombox and zoom several times. crschmidt 2006-08-24 05:01:10 +00:00
  • a668730ec1 Replicating r1345 in 2.0 branch. Schuyler Erle 2006-08-24 04:21:27 +00:00
  • 282d9d6047 Added red box to drag rectangle buttons. Schuyler Erle 2006-08-23 22:06:52 +00:00
  • de391a73b1 Tag rc3 with fixes from user reports. release-2.0-rc3 crschmidt 2006-08-23 21:16:35 +00:00
  • 3aca63eabe Before, this example only worked on OpenLayers.org. crschmidt 2006-08-23 21:05:15 +00:00
  • 7ca9d2ec83 And it helps if you do the order of operations right so that the figures are not rounded to integers, really. crschmidt 2006-08-23 21:04:14 +00:00
  • 0500b9cba2 KaMap used to round its tiles. This dropped out. This was bad, since it means any existing KaMap caches were not working correctly with 2.0-rc2. crschmidt 2006-08-23 20:59:37 +00:00
  • 581df4e5f1 Commit r1337 to 2.0 branch. crschmidt 2006-08-23 20:55:04 +00:00
  • a7da80c24b Until we have line drawing, there's no need for ruler-ing. It's confusing users. crschmidt 2006-08-23 20:39:22 +00:00
  • 00dfc669d2 If we're zooming with this tool, we only want to actually change the zoom if the box was bigger than 5px in one direction or another. If it was smaller than that, the user probably just clicked, rather than drawing a box, because the MouseToolbar icon is kind of misleading. crschmidt 2006-08-23 20:37:16 +00:00
  • 2871b2c38c Removed apparently unnecessary call to map.event.attachToElement(). Schuyler Erle 2006-08-23 19:53:20 +00:00
  • 2f6da6cab1 Tagging 2.0-rc2. release-2.0-rc2 crschmidt 2006-08-22 19:48:21 +00:00
  • 2ed1ce98b3 Add news.txt to store release notes, which will contain information about API changes. Mention news.txt and doc/ files in readme.txt. crschmidt 2006-08-22 19:45:28 +00:00
  • 9f0b0e0ed7 A number of tests were not working as expected in IE. Specifically: * Layer-KaMap, Grid, and Map were all having commented out tests run by Test.AnotherWay. * Layer.html was adding an additional , after a list in an object creation, which IE doesn't allow. * When setting the href="" of an <a> element, IE does not then return the concatanation of the location+href via the DOM. * EventPane has mouse handling tests which work in IE, but not in FF. crschmidt 2006-08-22 18:56:12 +00:00
  • f6a50a37fc IE will not catch events on a div which has no content in it. (Why? Who knows!) However, if we set a background on the div, it works -- but not if that background is transparent. It has to have some thing. So, if we're in IE, we use our handy dandy notebook!, er, blank.gif, to populate a background so that the EventPane will work. crschmidt 2006-08-22 18:37:05 +00:00
  • deaebf8733 IE treats non-assigned zIndex values as 0. children of an element with a zIndex set to 0 will always be below children of an element with a zIndex set to 100. Because VirtualEarth sits outside the ContainerDiv, its maps were always showing up over things contained inside the container div, such as markers. Acceptance test for this is to visit ./examples/ve.html and see if the marker displays (should be over barcelona). IE, Firefox and Safari now pass this acceptance test. crschmidt 2006-08-22 17:33:12 +00:00
  • a6ff5584ad In order to set the status of an element before it's added ot the DOM in IE, you have to use "defaultChecked" rather than "checked". So, we'll set both -- one for IE, one for Firefox -- and call it done. crschmidt 2006-08-22 14:23:23 +00:00
  • 402021f24f If a mouseup is not preceeded by a mousedown *inside the layerswitcher*, then the mouseup should be allowed to drop through to the map, since it may have started as part of a drag action. crschmidt 2006-08-22 13:09:53 +00:00
  • abfbe30b2b FireFox apparently doesn't return any text with node.text, but it doesn't throw an exception either. This change makes the WFS example work in FF -- I'll have to check the effect it has on IE. crschmidt 2006-08-22 11:42:25 +00:00
  • a98ee2580d WFS Feature wasn't properly processing nodes. Let's see if this helps at all. crschmidt 2006-08-22 11:33:45 +00:00
  • 426e1cf2f9 WFS was not requesting correct URL. crschmidt 2006-08-22 11:16:13 +00:00
  • e31c7aaf0b redefining isBaseLayer is not necessary -- it inherits from OpenLayers.Layer.Markers euzuro 2006-08-22 00:25:17 +00:00
  • 6e9ba61679 make an accessor for setting isBaseLayer, because we need to trigger the 'changelayer' (assuming our layer has already been added to a map) euzuro 2006-08-22 00:23:43 +00:00
  • 6ddeb07e90 fix for #197 euzuro 2006-08-21 23:04:40 +00:00
  • 2408752e27 Mention GeoRSS version support. crschmidt 2006-08-21 20:22:35 +00:00
  • 39536e788a If Google fails to load before OpenLayers, occasionally dragging is not possible with Google, because GMap2 would be undefined when the Google class is included. So, we put this in a wrapper function, and call it when you init the layer instead. crschmidt 2006-08-21 19:34:15 +00:00
  • e2378ad68a Sometimes we call moveTo on a tile before we've actually created an image, in which case clearing the image caused an error. crschmidt 2006-08-21 19:20:52 +00:00
  • 44819f20e8 unregister allows you to specify a function. remove does not. I can't believe no one caught this before... (Fixes #192.) crschmidt 2006-08-21 19:18:47 +00:00
  • 6a2fa9aaf1 Buffer set to 1 on WFS layer, since we don't have as much cause to prevent swapping. crschmidt 2006-08-21 17:17:04 +00:00
  • ea9a6a6a23 Typo in change created around r1200 broke WFS. crschmidt 2006-08-21 16:03:52 +00:00
  • 4847d66d6a Post-drag 'click' events aren't really clicks. Don't let them fall through to the map. crschmidt 2006-08-19 15:57:14 +00:00
  • c4541115f9 Stop click events from falling through to the map. crschmidt 2006-08-19 15:03:45 +00:00
  • d500981f09 Let's trap all these events. Tested by bitner on IRC in IE (thanks!) and works in FF on Mac. Hopefully this works! this is my major blocker for RC2, a few more minor changes and i'll kick it out. crschmidt 2006-08-19 15:01:58 +00:00
  • 8e51ada8de Add example for setting an extent with visual annotation via Boxes layer. crschmidt 2006-08-19 14:05:39 +00:00
  • 633e31da36 Further documentation on the special casing Layer.WMS does. crschmidt 2006-08-19 13:59:39 +00:00
  • c1779d1520 update example for r1310 euzuro 2006-08-19 06:13:28 +00:00
  • 29d6d8f017 allow 'auto' for minResolution if minExtent is set euzuro 2006-08-19 06:13:09 +00:00
  • f56dab0644 just like r1308, we update virtual earth to use min/max zoomlevel, and update the example euzuro 2006-08-19 05:37:07 +00:00
  • 2ec05163ed allow google layer to be configured with min/max zoomLevels. update example. euzuro 2006-08-19 05:23:45 +00:00
  • 1e8c8e8404 update to example. euzuro 2006-08-19 05:18:24 +00:00
  • cd21f42dab put zoombar slider at the correct zoom level on first draw (not just always at the end) euzuro 2006-08-19 05:00:54 +00:00
  • 1459ac5de9 real fix for #189 -- event wasnt being triggered, and wihtout the clone(), control was floating down the div euzuro 2006-08-19 04:47:12 +00:00
  • 484fc207cf fix for #180 -- check zoomlevel bounds before calling setCenter() euzuro 2006-08-19 03:53:50 +00:00
  • cfd7858861 remove extraneous comment euzuro 2006-08-19 03:43:35 +00:00
  • 17581c714d Remove the concept of min/max zoom level from Map. Replace it with concept of num zoom levels. Bit of rearrangement in the initResolutions() function in HTTPRequest.js. Adapt all of OL to deal with numZoomLevels instead of min/max. Fix PanZoomBar so that it listens for change of baselayer and redraws itself. fix all tests so they pass. Add zoomLevels.html example for playing around with different methods of setting zoomlevels. euzuro 2006-08-19 02:09:29 +00:00
  • 1a12d90455 allow whirlwind to have options. otherwise no way to set tilesize euzuro 2006-08-19 02:07:26 +00:00
  • 7035551fcf Make OpenPlans TIGER WMS proxy not a base layer in this example, so you can see it on top of nasa. But it is kind of ugly in that case ;) crschmidt 2006-08-19 01:45:47 +00:00
  • b11580aca3 added problem/challenge text to test page euzuro 2006-08-18 17:36:50 +00:00
  • b8f4577a78 example to help fix #186 euzuro 2006-08-18 17:30:58 +00:00