Commit Graph

  • 1912d4355c OpenLayers.Layer.KaMap is now working much better. The TIGER example which was just a hack before is now working properly, and there's an actual scale calculation being performed based on params passed into the constructor of 'units' and 'resolution', both of which are determined by the mapfile. The only limitation yet to be tackled is that maxResolution on the map must split the map up such that 0,0 is a tile corner. This requires subclassing more (or perhaps all) of the Layer.Grid functions, so I'm off to do that now. crschmidt 2006-06-26 13:15:20 +00:00
  • 4784ed1acd Disable alpha PNG hack in WMS tiles from r605 and r681... it just kills IE6 when used in earnest. Schuyler Erle 2006-06-25 11:41:04 +00:00
  • 14a859a60d Made the layer switcher a bit more responsive in IE. It would be nice if we could figure out how to keep the text from being selected when the switcher is clicked. Schuyler Erle 2006-06-25 11:29:37 +00:00
  • d8263d200b Changed zoomToFullExtent to call getZoomForExtent rather than just using zoom level 0. Schuyler Erle 2006-06-25 10:18:13 +00:00
  • 00c0655cd2 Changed default proxy host for ol.org. Schuyler Erle 2006-06-23 17:34:07 +00:00
  • 97694ddcf7 Merged in missing fix for #95 from r678:r679. Schuyler Erle 2006-06-23 15:31:41 +00:00
  • be610548a7 Pulled down documentation and build.sh fixes from 1.0 branch. Schuyler Erle 2006-06-23 15:30:43 +00:00
  • c43a44dc75 Pulled down documentation and build.sh fixes from 1.0 branch. Schuyler Erle 2006-06-23 15:30:43 +00:00
  • 83e1317b38 Commit Urban demo for WW. This lets you browse around and look at hte high-res urban density data. crschmidt 2006-06-23 05:10:04 +00:00
  • e3e192f869 Commit change to worldwind layer so you can turn off landsat and see bathy layer. They only overlap at one zoom. crschmidt 2006-06-23 04:21:59 +00:00
  • e0c564c0e3 Add worldwind support to OpenLayers. To define a worldwind layer, you need a URL, a lzd (level zero degrees), a maxZoom level, and a param name 'T' to define the map you're pulling from. crschmidt 2006-06-23 04:20:46 +00:00
  • cbc808c5d0 Tagged release candidate 1.0-rc1 for real this time. release-1.0-rc1 Schuyler Erle 2006-06-22 20:15:14 +00:00
  • 8608c16344 Adding cleanup phase to build.sh. Schuyler Erle 2006-06-22 20:14:21 +00:00
  • 86d7fa176e Added some fiddling bits of documentation. Schuyler Erle 2006-06-22 20:10:49 +00:00
  • fd1fdf2f8e Pulled up r686:r688 test fixes from trunk. Schuyler Erle 2006-06-22 19:58:01 +00:00
  • bd166b5ac1 Fix tests for Tile.Image // Layer.WMS changes for alphaImage #96. crschmidt 2006-06-22 19:52:39 +00:00
  • 24b58b5e0b Pulled up r679:r684 from trunk for the IE performance and bug fixes. Schuyler Erle 2006-06-22 19:28:31 +00:00
  • 809f1da955 Update the freemap example to explicitly state that the upper layers are transparent, to work with new code. crschmidt 2006-06-22 19:11:29 +00:00
  • 891fdf7a38 'true', in quotes, not true. we're checking the value that's being passed through to the WMS server. crschmidt 2006-06-22 19:11:09 +00:00
  • 50babaeb34 Also pass the transparent param on to addTile in the column/row functions. crschmidt 2006-06-22 19:10:44 +00:00
  • 8e0793b191 Only draw transparent images if the tiles are transparent. crschmidt 2006-06-22 19:02:33 +00:00
  • 7584d12ae5 Turn off selecting in IE, so we don't end up selecting tiles while dragging a box. crschmidt 2006-06-22 18:53:36 +00:00
  • 2dc364f417 In IE, we use the image hack, so changing the img.src doesn't help. crschmidt 2006-06-22 18:47:51 +00:00
  • 83197dc4f2 Branching OpenLayers for 1.0 release. Schuyler Erle 2006-06-22 17:17:50 +00:00
  • cff8c06621 Convert Layer/UntiledWMS to Layer/WMS/Untiled. Update example. Update include list. Update exclude list for singlefile build. crschmidt 2006-06-22 15:59:23 +00:00
  • 6b28c78655 Make the UntiledWMS work better. This changes the API for an internal function (moveToNewExtent), but doesn't break any existing code. crschmidt 2006-06-22 15:35:33 +00:00
  • ca9109deeb These files are not currentely supported for this release. (GYM, KaMap, UntiledWMS, KeyboardDefaults) crschmidt 2006-06-22 15:13:43 +00:00
  • 17f955279d Commit an untiled WMS class, per discussion in #kamap. Partly this is a demonstration of how quick it can be to develop in OpenLayers. crschmidt 2006-06-22 14:18:21 +00:00
  • d370a3c5f9 Safari: also known as Lint for Javascript! crschmidt 2006-06-22 12:40:11 +00:00
  • 2a1ad38ce2 Bad Syntax. Was breaking Safari. crschmidt 2006-06-22 12:39:29 +00:00
  • 7791ab952e Fix for #69: "Non-visible layers suffer deficiencies when turned on." Add the layerContainer offset to the pixel location of the images, to place them in the map correctly. crschmidt 2006-06-22 11:36:25 +00:00
  • a9c0ce8f85 Commit tiger demo with different toolset. crschmidt 2006-06-22 11:20:52 +00:00
  • 49e4625998 Fix ka-map to new api crschmidt 2006-06-22 10:49:55 +00:00
  • 8600f7d688 More work on KaMap layer. This TIGER demo looks good, but it's really broken underneath. crschmidt 2006-06-22 10:47:43 +00:00
  • 98ed96e4ec OpenLayers.Layer.KaMap, for displaying KaMap-tiles in OpenLayers. Currently specific to the example -- needs work on determining 'scale' from resolution. possibly just simple math. I'm not sure yet. crschmidt 2006-06-21 21:49:31 +00:00
  • bf6ad055df Renamed zoomExtent to zoomToFullExtent, added tests for it and for the new lonlat/px convenience functions. Schuyler Erle 2006-06-21 17:12:19 +00:00
  • 221aedebc6 Added convenience functions getLonLatFromPixel and getPixelFromLonLat; added some more jsdoc. Schuyler Erle 2006-06-21 17:04:16 +00:00
  • c8c780a941 Remove a temporary hack for layers setting their own div. crschmidt 2006-06-21 16:48:34 +00:00
  • eabe05fa1b Added directory for documentation. Schuyler Erle 2006-06-21 16:38:13 +00:00
  • b06c49e1da Added directory for documentation. Schuyler Erle 2006-06-21 16:38:13 +00:00
  • 59b48c755e remove extraneous alert() euzuro 2006-06-21 16:04:06 +00:00
  • ead31f6dc6 Added license headers to all JS source files. Schuyler Erle 2006-06-21 15:22:48 +00:00
  • 60e994f36b Rolled back accidental changes to zoombar.svg. Schuyler Erle 2006-06-21 15:17:15 +00:00
  • 65cc8e0ab7 Added full text of license to repository. Schuyler Erle 2006-06-21 15:15:53 +00:00
  • c36d63d0ec use correct resolution euzuro 2006-06-21 15:11:30 +00:00
  • 9b9a902ec0 Add additional fallback for Map.js if getDimensions doesn't work. I think this is essentially a 'special case' for our testing process, but it fixes it for this case. crschmidt 2006-06-21 15:04:59 +00:00
  • abb950a7c3 coding standards euzuro 2006-06-21 14:32:27 +00:00
  • 705555f1f7 add concept of slideFactor to panzoom euzuro 2006-06-21 14:31:34 +00:00
  • 61a93c8d38 add() method on lonlat does not modify actual lonlat, but rather creates new lonlat with the add affected. must therefore assign from return value. euzuro 2006-06-21 14:29:06 +00:00
  • 91e9c17c98 small fix - context was not correctly set to get the slide factor euzuro 2006-06-21 14:06:21 +00:00
  • 82f40f8f3f commenting/JSDOC/coding standards euzuro 2006-06-21 13:44:30 +00:00
  • ee2b60ff6b allow user to set the slide factor in keyboarddefauls euzuro 2006-06-21 13:09:17 +00:00
  • 1cca9fcde7 one last small optimisation / readability fix euzuro 2006-06-21 13:05:50 +00:00
  • 3323a0e2a8 small code reorganization and bringing up to date with JSDOC and coding standards euzuro 2006-06-21 13:03:00 +00:00
  • e9bc79203b correct comment/JSDOC euzuro 2006-06-21 12:48:44 +00:00
  • 823d2ddedd add comment regarding current handling of base layers euzuro 2006-06-21 11:51:59 +00:00
  • 76156b7317 give Map the concept of a base layer euzuro 2006-06-21 11:48:27 +00:00
  • 2d91cade96 Remove Yahoo, Google, VE from the default build until they're working better. crschmidt 2006-06-21 02:55:00 +00:00
  • b6f7222282 Bug fix to map.updateSize for IE when size is a percentage. Calls Element.getDimensions from Prototype.js, which hopefully is the right thing to do. Fixes ticket #37. Schuyler Erle 2006-06-21 02:35:04 +00:00
  • 91a566ca61 the last of the screen -> viewPort changes euzuro 2006-06-20 23:23:31 +00:00
  • 9a74fc1f7e update comment euzuro 2006-06-20 23:08:10 +00:00
  • 33e84b6ff0 more screen->viewPort euzuro 2006-06-20 23:07:30 +00:00
  • adf91b1d10 again, change function name from ScreenPx to ViewPortPx euzuro 2006-06-20 22:57:18 +00:00
  • ed3c2a6f0b change function name from ScreenPx to ViewPortPx euzuro 2006-06-20 22:51:55 +00:00
  • 7ebaf2a630 wms is not a base layer if it is transparent euzuro 2006-06-20 22:31:44 +00:00
  • 8ef2cc58d5 these layers are never base layers euzuro 2006-06-20 22:16:38 +00:00
  • 2ab99c6c8d Tests changed per new default maxResolution. crschmidt 2006-06-20 19:26:06 +00:00
  • bf9628ea39 set G-Y-M layers' isBaseLayer() to true euzuro 2006-06-20 17:58:11 +00:00
  • b2ca284f9b add isBaseLayer() function to Layer euzuro 2006-06-20 17:53:30 +00:00
  • 4c6b232bd2 coding standards / JSDOC euzuro 2006-06-20 17:47:26 +00:00
  • 351ebb0d52 Fix minor typo introduced in r619. Thanx, euzuro\! Schuyler Erle 2006-06-20 14:57:29 +00:00
  • 9e8c2f3802 Augment r618 by allowing the more prosaic and self-documenting { maxResolution: 'auto' }. Schuyler Erle 2006-06-19 21:09:31 +00:00
  • 00d14534d2 Set a default maxResolution. Theres' a couple reasons for this: caching of tile requests, aligning OpenLayers with Google Maps zoom levels, and saving an initial calculation that most people won't need. For the old behavior, add: {maxResolution:null} to your OpenLayers.Map() call. crschmidt 2006-06-19 18:29:42 +00:00
  • 35dc7ba8f0 In XHTML Transitional, using unitless values in Javascript to set width, height, etc. doesn't work. This change should make it so that openlayers works under XHTML 1.0 transitional in firefox and safari. crschmidt 2006-06-19 17:19:36 +00:00
  • e582436f55 catch autodrag as well (this is for double-clicks) euzuro 2006-06-17 15:47:27 +00:00
  • 6392e9877c finishing touches of first draft of yahoo layer. adding correct script tag, fixing zoom levels business, etc. euzuro 2006-06-17 15:41:42 +00:00
  • bf60b9d01d first round test code for yahoo layer euzuro 2006-06-17 15:11:36 +00:00
  • 467236ed25 prepare to take a Yahoo.js euzuro 2006-06-17 15:11:01 +00:00
  • c73291770c cosmetic change. relic variable name from ve layer implementation euzuro 2006-06-17 14:59:20 +00:00
  • b6f541fb49 disable google for now so users dont get errors/slowdowns euzuro 2006-06-17 14:46:07 +00:00
  • 29c8c45814 no need to include the gmaps script here. though we may roll back to doing it this way... euzuro 2006-06-17 14:41:31 +00:00
  • 0978988638 first shot at getting gmaps working in openlayers. euzuro 2006-06-17 14:41:00 +00:00
  • 86b99df3f3 modify all equals() functions in Util.js (Size, Pixel, LonLat, Bounds) such that if a null value is passed in, they return false. Tests updated to make sure this is true. euzuro 2006-06-17 14:12:56 +00:00
  • 988cf47bdd temporarily disabling VE until we can come up with a better solution for dynamically loading VE euzuro 2006-06-17 12:39:32 +00:00
  • 1df168849e make sure vemap is loaded before trying to move it euzuro 2006-06-17 12:06:06 +00:00
  • 836b47c192 fix for #77. alpha png transparency. and tests. yay. euzuro 2006-06-15 19:02:21 +00:00
  • 18d178d7d2 update freemap example euzuro 2006-06-15 18:14:38 +00:00
  • e023b4c075 Fix #57. Add event handlers to the spans created by adding corners to the layer switcher tabs. (Somewhat hacky.) follower 2006-06-15 17:35:21 +00:00
  • ea732d4535 add requere statement for singlefile euzuro 2006-06-15 17:29:39 +00:00
  • f5a5777e2a Fix URL changes to WMS. crschmidt 2006-06-15 17:29:15 +00:00
  • 084a3e6989 Extract the event handler setting functionality into its own method in preparation for our fix for #57. follower 2006-06-15 17:26:39 +00:00
  • 239f542783 Rename 'doubleClick' to 'ignoreEvent' now the method is being used to stop events in more than one situation. follower 2006-06-15 17:19:07 +00:00
  • 4b9445115b Complete revert. crschmidt 2006-06-15 17:12:20 +00:00
  • 4ef444e821 Yeah, this didn't work out so well. This is neccesary code, but it doesn't work, and I can't figure out why. Moving out -- will work on this in a sandbox. crschmidt 2006-06-15 17:07:45 +00:00
  • 5cd7142e67 Remove left/right conditional aspects, since this is breaking somehow. crschmidt 2006-06-15 17:06:16 +00:00
  • cd8fe2cc81 Remove console.log statement crschmidt 2006-06-15 17:03:43 +00:00
  • 082133730e Fix conditional. crschmidt 2006-06-15 17:02:27 +00:00
  • 747573cfad When moving by long distances (whole screenfuls) via API setCenter calls, reinitialize the grid. This solves an 'infinite loop' like problem where if you jumped by a long way, where addColumn/addRow were simply looping for so long that the browser went unresponsive/broken. Fixes issue reported by NickH on users list as well. crschmidt 2006-06-15 16:37:15 +00:00
  • 25ecdae9c2 zoom out a bit so the zoom issues are less pronounced. jeje euzuro 2006-06-15 12:45:14 +00:00
  • 237b32bad7 we can do without this test case euzuro 2006-06-15 12:11:35 +00:00