Commit Graph

  • 0adeb2670d changing 'minor' parameter name to 'dragging' for consistency euzuro 2006-10-03 04:35:04 +00:00
  • 97418cb70b Permalink will now save state if there's no base layer when it's added, and change the map when the first baselayer loads. crschmidt 2006-10-03 04:34:51 +00:00
  • cab24b665d update map's getScale() to use getScaleFromResolution() euzuro 2006-10-03 03:45:00 +00:00
  • 628409a993 change getScaleFromResolution() to return big scale value instead of normalized. update tests euzuro 2006-10-03 03:44:37 +00:00
  • a758efb2f2 added getScaleFromResolution() function to util, also added tests for both directions of the scale<->resolution tranformation functions, as well as the normalizeScale() function euzuro 2006-10-03 03:21:45 +00:00
  • 642c438c2c Add new test and fix code to make it work. Before, tests would sometimes work in one direction, but not the other on interectsBounds. crschmidt 2006-10-03 03:13:32 +00:00
  • 25ae28b642 Tiles should not load data outside maxExtent unless the 'displayOutsideMaxExtent' option on the layer is set to true. Add tests, docs, and code. crschmidt 2006-10-03 01:08:00 +00:00
  • 2cb4306beb Tiles should not load data outside maxExtent unless the 'displayOutsideMaxExtent' option on the layer is set to true. Add tests, docs, and code. crschmidt 2006-10-03 01:08:00 +00:00
  • 66a5d90965 Fix broken test of new Bounds.intersectBounds, add test to ensure it doesn't break again in the future. crschmidt 2006-10-03 01:05:42 +00:00
  • 07fc49ab31 add Bounds.intersectsBounds() function and tests euzuro 2006-10-02 23:49:19 +00:00
  • 36a76054a4 allow layers to prevent themselves from displaying in the layer switcher via the 'displayInLayerSwitcher' boolean option. modify example.html to show usage euzuro 2006-10-02 23:24:02 +00:00
  • 41f619b05e fix for r1478, #190 - need to specify a sort method. thanks to http://www.javascriptkit.com/javatutors/arraysort3.shtml euzuro 2006-10-02 22:00:13 +00:00
  • 890b2a6ffc allow VE to specify map type. fix for #273. update ve.html example to show how euzuro 2006-10-02 21:48:21 +00:00
  • 14a2418a62 remove old layer switcher. this fixes #200 euzuro 2006-10-02 21:22:43 +00:00
  • 5852fb835e Patch for better IE support from Tim Schaub. crschmidt 2006-10-02 16:16:58 +00:00
  • c5f2196f98 Patch from Tim Schaub to Box.js to make display better in IE. crschmidt 2006-10-02 16:06:44 +00:00
  • 2c80da26ff Untiled WMS layer didn't change on zoom. Now it should. crschmidt 2006-10-02 15:50:07 +00:00
  • edcb3d3863 Release OpenLayers 2.1. release-2.1 crschmidt 2006-10-02 15:04:18 +00:00
  • ee29537bbe Added some different color markers, based on the original one. Schuyler Erle 2006-10-02 05:03:44 +00:00
  • a09aee2d56 I really need to switch this to a formatting language I didn't write myself. crschmidt 2006-09-29 10:06:52 +00:00
  • 1de712c82f I really need to switch this to a formatting language I didn't write myself. crschmidt 2006-09-29 10:06:52 +00:00
  • 7b9c743cf4 Map documentation update. Missed documentation of some event_types. Brought to attention by David Herbert. (Thx david) crschmidt 2006-09-29 10:01:45 +00:00
  • 97147a21a8 Map documentation update. Missed documentation of some event_types. Brought to attention by David Herbert. (Thx david) crschmidt 2006-09-29 10:01:45 +00:00
  • 381f1d454d Add script to do part of release process. Will expand next time I get annoyed with doing the same things over and over again. crschmidt 2006-09-28 13:15:15 +00:00
  • c7d3520700 Tagging rc4 release-2.1-rc4 crschmidt 2006-09-28 13:06:27 +00:00
  • 6edb290f1b Merge bugfixes and test improvements for rc4 release. crschmidt 2006-09-28 13:05:36 +00:00
  • 0565566118 coding standards euzuro 2006-09-28 06:48:27 +00:00
  • cf7920ea11 fix off-by-one error in getZoomForResolution(). Created test to prevent this from happenning again. euzuro 2006-09-27 23:08:37 +00:00
  • 73fb43712f add onScreen() function to OpenLayers.Feature, and add tests to prove it. euzuro 2006-09-27 21:56:17 +00:00
  • 1cedf957b0 add test for marker.onScreen() euzuro 2006-09-27 21:26:32 +00:00
  • b774b592cd removing unnecessary line euzuro 2006-09-27 21:03:59 +00:00
  • 3b60032995 use new functions from r1506. euzuro 2006-09-27 20:56:42 +00:00
  • b5c6522c2b add containsPixel() and containsLonLat() functions to OpenLayers.Bounds object. added tests euzuro 2006-09-27 20:52:15 +00:00
  • 2255e7d56c update comment euzuro 2006-09-26 23:57:35 +00:00
  • e658877014 return a copy of the mapsize, not the mapsize itself. this will hopefully prevent some nasty bugs. euzuro 2006-09-26 23:54:59 +00:00
  • 5804cc6cb3 small cleanup of basic OpenLayers.Feature functionality -- specifically adding full control for popup and marker creation and destruction and better comments for all that. all tests pass. euzuro 2006-09-26 21:46:10 +00:00
  • 6a7dab4ea8 Tag RC3. release-2.1-rc3 crschmidt 2006-09-26 20:24:20 +00:00
  • c7c21ea08a Pullup changes since RC2. Fixes: * WorldWind layer working again * Popup.destroy() complaints * Decompose marker destruction code for easier subclassing. * Error catching for better layerPx error in Map.js * Several eamples, including getFeatureInfo, fullScreen, worldwind, layer-opacity crschmidt 2006-09-26 20:24:00 +00:00
  • 003f00bc22 *Always test before committing*. One of these days, I will teach myself to be a diligent committer. I promise. crschmidt 2006-09-22 13:55:10 +00:00
  • dabba5ef41 We've had a number of problems related to browsers complaining on this line. The popups go away, then cause: [Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "/lib/OpenLayers.js Line: 7663"] This will hopefully silence the exception. crschmidt 2006-09-22 13:51:08 +00:00
  • 086e1efb5f Currently attempting to debug some odd behavior where loading a remote URL is not workign the same as loading a local URL for reasons I don't understand. crschmidt 2006-09-21 17:05:48 +00:00
  • 6e2fd1bbf9 decompose the marker destruction code out so that it can be overridden in subclasses euzuro 2006-09-20 11:24:54 +00:00
  • 492b144147 add code so that if initialize() is called on a marker that already has an icon created, it resets the icon's data but preserves its DOMElement div euzuro 2006-09-20 11:24:16 +00:00
  • 5bd2c55610 reorder logic of test for isNaN so that if viewPortPx is null to start with we dont bomb out with error euzuro 2006-09-20 09:51:21 +00:00
  • c52e730378 protect px-lonlat translation from null values in default layer euzuro 2006-09-20 09:44:53 +00:00
  • 439ff9943e Change WorldWind layer to work properly when layer is not within appropriate zoom levels. Adjusts to new method of inittileing. crschmidt 2006-09-20 01:07:55 +00:00
  • a558ad0d88 WorldWind example has some documentation on the layer and the difficulties it presents. crschmidt 2006-09-19 23:39:18 +00:00
  • 42cb6b1fc3 Fix WorldWind layer. crschmidt 2006-09-19 23:35:19 +00:00
  • 157af40d45 layer-opacity example, from Tim Schaub's original use of it. Primarily because I've never been so impressed by a demo of software I've helped write :) crschmidt 2006-09-19 23:24:23 +00:00
  • 651caa931a When we set the background color for an erroring image, we also want to *display* the image... otherwise that color never shows up. crschmidt 2006-09-19 20:23:48 +00:00
  • 7cd4022d7b Update example to current API. crschmidt 2006-09-19 19:01:49 +00:00
  • 34dfbef5a5 fix for dynamic resizing euzuro 2006-09-19 17:08:43 +00:00
  • b77dc94f32 add a fullscreen OL example euzuro 2006-09-19 16:48:21 +00:00
  • 4ab9950902 Don't need to have modifier -- just display on every click. crschmidt 2006-09-19 16:45:48 +00:00
  • 22c3ba7430 Add world.freemap.in to proxy.cgi, so we can include a getfeatureinfo query in examples. crschmidt 2006-09-19 00:52:57 +00:00
  • 98759ba74d Tag RC2. release-2.1-rc2 crschmidt 2006-09-18 18:49:23 +00:00
  • 5f8dc06823 Pullup fixes to mouse controls since 2.1-rc1, along with a fix for zooming. crschmidt 2006-09-18 18:48:29 +00:00
  • 520f081688 r4612@creusa: crschmidt | 2006-09-17 14:51:38 -0400 sort() in javascript is not a numeric sort. As a result, this fails to sort "32, 75, 9" as "9,32,75", which means that with the current sort breaks zoom levels in any case where we're sorting the resolutions. Remove this for the time being. crschmidt 2006-09-17 23:56:16 +00:00
  • 601a6c8376 was able to reproduce the wierd clicking bug jrf found. it was happening because the mouseup was not being properly handled by the toolbar buttons. this is taken care of. euzuro 2006-09-15 20:20:59 +00:00
  • 263ff16782 coding standards -- spacing euzuro 2006-09-15 20:00:41 +00:00
  • 74dfbbc927 was there a specific reason why we were double-zooming in toolbar mode but single-zooming in normal mode? euzuro 2006-09-15 19:25:22 +00:00
  • c38874b374 make it such that the map is dropped and the zoom box abandoned if the mouse goes off the screen. obviously the better solution would be to treat things as if we were still in the div -- mach 2 had this functionality. for now, however, we dont have time to code that, so i have created a ticket #263 and put it in the drawer for 2.2. this fix at least gives the user consistent behaviour, and does not allow for this annoying zooming with the zoom rectangle on mouseout. euzuro 2006-09-15 19:07:57 +00:00
  • 42db224f3d this function is an exact copy of the same in mousedefaults -- just use the original from the superclass. euzuro 2006-09-15 18:59:40 +00:00
  • a7150860ec reproject no longer exists euzuro 2006-09-15 00:01:58 +00:00
  • 5ad0f05fc2 reproject no longer exists euzuro 2006-09-15 00:01:58 +00:00
  • d289fea786 do not allow doubleclicks to fall through to map from mousetoolbar euzuro 2006-09-14 23:12:39 +00:00
  • dd41ac7693 redo of r1438 to make popup use new Events-Fall-Through functionality (as introduced with r1468) euzuro 2006-09-14 20:58:46 +00:00
  • 88ff0bc9af give our events model the option of allowing events to fall through so that they can be picked up in lower layers. change the panzoombar and the mousetoolbar to use this new fallthrough option so that we aren't causing bugs when the drag zoom rectangle gets dropped over them, they dont freak out. next up i am going to re-fix the popup events code to use this feature. euzuro 2006-09-14 20:25:23 +00:00
  • 3b9f8b0e90 Tag 2.1-rc1 release. release-2.1-rc1 crschmidt 2006-09-14 16:35:26 +00:00
  • 130e527702 Branch for 2.1 crschmidt 2006-09-14 16:33:48 +00:00
  • f9fdb04f8c Timeout bumped to 4 seconds instead of 2. crschmidt 2006-09-14 16:31:53 +00:00
  • e295aee763 Test another way complains if there's no plan. crschmidt 2006-09-14 16:31:42 +00:00
  • 760e1ca014 Commit changes for tests to pass in IE. crschmidt 2006-09-14 16:28:24 +00:00
  • c0fc945824 In Map.setCenter, only call Layer.moveTo if Layer.getVisibility returns true. In Layer.setVisibility, call Layer.moveTo with zoomChanged = true, so that the grid tiles are reloaded. In an ideal world, the grid tiles would only be loaded if they haven't been loaded yet. This would spare us the split second wait while the browser reloads those images from the cache, but we want to release today, so it'll have to wait. Schuyler Erle 2006-09-14 16:16:50 +00:00
  • 24381c2f37 Remove MouseDefaults.zoomBox directly, rather than attempting to remove it by DOM ID. Fixes #199 in IE. Schuyler Erle 2006-09-14 15:47:22 +00:00
  • cea09f7fdb The name of the BaseLayers example should match the other examples, part 2. Schuyler Erle 2006-09-14 15:35:33 +00:00
  • 25b539d8bb The name of the BaseLayers example should match the other examples. Schuyler Erle 2006-09-14 15:35:25 +00:00
  • c76dc1c211 Sort resolutions from largest units/pixel to lowest units/pixel. This makes sure that you always zoom in, rather than out :) crschmidt 2006-09-14 15:03:20 +00:00
  • c5afbacc93 Add scoping term. Thanks to tschaub, closes #261 . crschmidt 2006-09-14 11:39:32 +00:00
  • a210e16479 final update to r1438 -- forgot to test on ie. turns out the 'safe' part means not setting that returnValue property. euzuro 2006-09-13 08:27:24 +00:00
  • 9cf595df01 did not mean to commit modifications to examples in r1438. Have set them back to how they were but for one small change to the popups.html example, which I give a hyperlink inside it to show off the new functionality euzuro 2006-09-13 08:25:40 +00:00
  • 7ce7f2484b update default behaviour of popups. now you can click and drag inside a popup without the events dropping through to the map, yet if you are dragging a zoombox over a popup, it still responds. this is all thanks to a new function i am adding to Util.js which is called OpenLayers.Util.safeStopPropagaition(). Turns out the default Event.stop() from prototype.js is also calling a function called preventDefault() which disallows things like selecting text or clicking a hyperlink. all tests pass. euzuro 2006-09-13 08:20:02 +00:00
  • 6793507a34 for case with no buffer, check lower bounds euzuro 2006-09-13 05:28:53 +00:00
  • c8e7d93f95 Windows svn under cygwin, apparently, believes it is a unix app. But windows *python* under cygwin believes it is a non-windows app. Altogether, we get a big ole mess. However, this should clear it up. crschmidt 2006-09-12 23:55:28 +00:00
  • 84a677f910 Let's try to fix this again... still having problems with Windows building. crschmidt 2006-09-12 23:44:10 +00:00
  • 9d0c94d915 Erik says that building the single file version on Windows no longer works with the propset on these, so we'll try undoing them and see if that fixes it. crschmidt 2006-09-12 23:36:13 +00:00
  • 4a65590d3e Tile opacity patch from tschaub: Fix for #235. Also includes tests to ensure that code works. crschmidt 2006-09-11 14:30:25 +00:00
  • 720c8507f7 If isBaseLayer hasn't been set at all, it's undefined, not null. crschmidt 2006-09-10 03:43:16 +00:00
  • a4654b4893 Fix all cases where we have Windows line endings, and set eol-style="native" on all files. Hopefully, this makes it easier for people to write patches and do other neat things. crschmidt 2006-09-09 15:46:17 +00:00
  • 28bff61128 Fix all cases where we have Windows line endings, and set eol-style="native" on all files. Hopefully, this makes it easier for people to write patches and do other neat things. crschmidt 2006-09-09 15:46:17 +00:00
  • 8305808bee only prevent event from falling through if there are actually listeners registered. this fixes #247 euzuro 2006-09-08 21:31:42 +00:00
  • 83f26a9336 fix bug introduced with r1421 -- mousedefaults doesnt create a div euzuro 2006-09-08 21:31:02 +00:00
  • e1878d3f65 use inheritance for draw() euzuro 2006-09-08 20:43:12 +00:00
  • 244e9543cd update popup id euzuro 2006-09-08 16:53:55 +00:00
  • b157687eb2 update broken feature test-- new id euzuro 2006-09-08 16:51:12 +00:00
  • cab72e3299 oops. update test for r1417 mod euzuro 2006-09-08 05:24:49 +00:00
  • 861335f356 more standardizing ids euzuro 2006-09-08 05:23:28 +00:00
  • 899101ef0b step toward standardization of id policy... for popups euzuro 2006-09-08 04:51:32 +00:00
  • 31692f51fe cosmetic changes -- remove spacing, add spacing. coding standards euzuro 2006-09-07 18:37:33 +00:00
  • e906982443 only set baselayer status based on transparency if *not* set in options. fix for #237 -- thanks tschaub euzuro 2006-09-07 18:32:07 +00:00