Commit Graph

  • 4df6b8aa2b rollback 1295 -- prematurely committed euzuro 2006-08-17 20:27:41 +00:00
  • d2601b3684 coding standards, adding jsdoc comments, small code reorganization in svn statavkn euzuro 2006-08-17 20:22:47 +00:00
  • 1a0cbdfd25 add comment euzuro 2006-08-17 19:34:10 +00:00
  • 9956bffe71 update parameter name for parallelism with the rest of the mergeNewParams() methods --- and for better readability euzuro 2006-08-17 19:19:21 +00:00
  • 24047ee512 when merging new params to untitled layer, we need to uppercase them for case-insensitivity like in the regular wms. euzuro 2006-08-17 19:14:50 +00:00
  • 07d39aca00 removing alpha nuller from the destroy broke tests. sorry euzuro 2006-08-17 19:12:52 +00:00
  • 7ae04f7423 the 'alpha' property belongs to Layer, and it's a boolean so no need to null it anyways euzuro 2006-08-17 18:53:57 +00:00
  • d8d2b225e4 remove unused getTile() method and related tests euzuro 2006-08-17 18:17:48 +00:00
  • 5952a7e3af mark a few functions as private euzuro 2006-08-17 18:15:29 +00:00
  • 8d1fe36b0f add comments for spiralTileLoad() function euzuro 2006-08-17 17:43:27 +00:00
  • fa3b3a3d0c move baselayer functions down and separated from private layer functions euzuro 2006-08-17 17:36:17 +00:00
  • 36ec579e39 protect viewport-lonlat translation functions in the case no baselayer is defined euzuro 2006-08-17 17:20:30 +00:00
  • b1cfe16347 superfluous comment euzuro 2006-08-17 16:41:17 +00:00
  • 9d3aea6a2f getResolution() is only to be called on a baselayer, so no need to ask the map to getExtent() -- we just ask ourselves euzuro 2006-08-17 16:21:51 +00:00
  • a90c976375 always get the resolution from the map -- this grid might not be the base layer euzuro 2006-08-17 16:15:45 +00:00
  • 08981babaa use official map.getResolution() function here, do not bypass and go directly to baseLayer euzuro 2006-08-17 16:13:55 +00:00
  • 3623889f3a sbp points out that multiple perl calls are unneccesary. merging them all into one makes this code run about twice as fast. crschmidt 2006-08-17 12:27:36 +00:00
  • 1bb0952c68 We no longer define units/resolution on the kamap object. crschmidt 2006-08-17 12:13:27 +00:00
  • d28f293cd9 changeParams changed to mergeNewParams in 2.0 crschmidt 2006-08-17 12:13:03 +00:00
  • 5ffbe842c2 update map resize functionality to deal with google layer. if ve had a similar checkResize() function, then we would be able to safely resize an OL map with a ve layer in it as well. unfortunately, this is not the case. a bug report i am gonna file euzuro 2006-08-17 05:52:07 +00:00
  • 3a23e9ff8f All tests pass! Take that branch and call it an RC! release-2.0-rc1 crschmidt 2006-08-17 02:58:17 +00:00
  • 0da9f792c7 Branch OpenLayers for 2.0 release. crschmidt 2006-08-17 02:54:54 +00:00
  • 2f6fa6004a MouseToolbar typo in docs. crschmidt 2006-08-17 02:51:56 +00:00
  • 87c30e9e4e MouseToolbar typo in docs. crschmidt 2006-08-17 02:51:56 +00:00
  • c687fcaa1b Cleanup docs.sh to generate some different bits that make the refernece doc more useful. crschmidt 2006-08-17 02:51:22 +00:00
  • dad6bc4c0e Slightly more readable code. crschmidt 2006-08-17 02:25:41 +00:00
  • 4ad0609e07 Add BaseTypes docs. crschmidt 2006-08-17 02:21:59 +00:00
  • 7df337279e Add BaseTypes docs. crschmidt 2006-08-17 02:21:59 +00:00
  • db107fe884 Add doc generation tool (Crappy. Will be rewritten, i promise.) crschmidt 2006-08-17 01:48:55 +00:00
  • b278b8db1f Authors file updated with Tim's name. crschmidt 2006-08-17 01:44:55 +00:00
  • 2ee5996d54 Authors file updated with Tim's name. crschmidt 2006-08-17 01:44:55 +00:00
  • 7144f467f9 Commit documentation for remaining layers. crschmidt 2006-08-16 23:23:19 +00:00
  • d567b523c4 Commit documentation for remaining layers. crschmidt 2006-08-16 23:23:19 +00:00
  • c932a87d3f Fix missed change in KaMap. Tests now all pass. crschmidt 2006-08-16 23:00:47 +00:00
  • e955fcc6da We now have a concept of scale with the map, so we no longer need to depend on this being specific to KaMap. crschmidt 2006-08-16 22:56:47 +00:00
  • 2f2dcf2f09 remove old dragging code from gmaps -- eventpane does all this for us euzuro 2006-08-16 22:13:12 +00:00
  • ef13849db1 Commit Commercial layer documentation, Grid/HTTPRequest Docs, and WMS docs. Almost there. crschmidt 2006-08-16 21:55:25 +00:00
  • e76f87e0df Commit Commercial layer documentation, Grid/HTTPRequest Docs, and WMS docs. Almost there. crschmidt 2006-08-16 21:55:25 +00:00
  • 5c4a35b840 give BaseLayers madrid and barcelona euzuro 2006-08-16 21:39:58 +00:00
  • 7bf1112c81 remove reproject() method which was sort of silly anyways -- i think the ve/goog marker misplacement problem was that the layercontainerdiv was not being correctly reset on a changebaselayer. so im changing the setbaselayer() to auto call setCenter() with a new zoom (by nulling the zoom beforehand and passing in the current zoom). euzuro 2006-08-16 21:36:23 +00:00
  • 2fbb9f8add Add Layer documentation. crschmidt 2006-08-16 20:48:21 +00:00
  • 1d31d524d0 Add Layer documentation. crschmidt 2006-08-16 20:48:21 +00:00
  • ef83f182ca do not mess with DEFAULT_PARAMS -- in mozilla, where the tests get called in the opposite order, this was bombing. euzuro 2006-08-16 20:45:57 +00:00
  • 31df492761 r1255 broke a test. fixed. euzuro 2006-08-16 19:21:21 +00:00
  • 748234606e it's redundant for applyDefaults() to return anything. thx tschaub euzuro 2006-08-16 19:16:46 +00:00
  • 3a70b7daef Commit documentation for tile classes. crschmidt 2006-08-16 19:15:34 +00:00
  • 65f9ae8eac Commit documentation for tile classes. crschmidt 2006-08-16 19:15:34 +00:00
  • bf07dfea5f Document OpenLayers.Marker crschmidt 2006-08-16 18:44:46 +00:00
  • 584bbd59a1 Document OpenLayers.Marker crschmidt 2006-08-16 18:44:46 +00:00
  • 9e6a07b00c Document OpenLayers.Icon. crschmidt 2006-08-16 18:44:28 +00:00
  • d7b1483089 Document OpenLayers.Icon. crschmidt 2006-08-16 18:44:28 +00:00
  • 0f9a02bf61 no longer need to worry about grid moving around when it's invisible. euzuro 2006-08-16 18:14:10 +00:00
  • 4f3641606b baselayer needs to do a total redraw euzuro 2006-08-16 18:13:23 +00:00
  • e97e14bd6e Document AJAX helper functionality. crschmidt 2006-08-16 17:41:54 +00:00
  • bd25727b27 Document AJAX helper functionality. crschmidt 2006-08-16 17:41:54 +00:00
  • f98ac685d1 kill the double-click event after we have dealt with it euzuro 2006-08-16 17:34:39 +00:00
  • f1111a1c11 Documentation for Control classes. crschmidt 2006-08-16 17:28:52 +00:00
  • 7da2079736 Documentation for Control classes. crschmidt 2006-08-16 17:28:52 +00:00
  • c2355d207c make sure scroll only scrolls if it was done over the map, and also stop event propagation so that the window doesnt scroll too euzuro 2006-08-16 17:24:55 +00:00
  • 2e3ff459b2 Change Scale control to use getScale() from map. crschmidt 2006-08-16 17:19:28 +00:00
  • 5a68e0ffe0 stop using deprecated functions in examples and tests euzuro 2006-08-16 17:11:24 +00:00
  • c5223b4579 make marker fall *exactly* on barcelona. set the icon up with calculateOffset() function so it looks right euzuro 2006-08-16 17:09:14 +00:00
  • 0637223342 make ve take up whole screen width euzuro 2006-08-16 17:08:11 +00:00
  • f5ee80907c use default wheel functions that i created earlier euzuro 2006-08-16 16:53:41 +00:00
  • f24f01a1cc add an example with wms, google, and ve layers all together euzuro 2006-08-16 16:07:31 +00:00
  • 15d3d9fc21 do not update invisible baselayers as the user navigates around. only update them when they are made visible. euzuro 2006-08-16 15:53:33 +00:00
  • d828dd8f81 Enable Spiral Tile Loading In KaMap. crschmidt 2006-08-16 15:34:59 +00:00
  • 6735fb0b2a make google example bigger and reinstate ability to add a marker euzuro 2006-08-16 15:05:04 +00:00
  • 1393fb43f8 put @requires statements inside JSDOC comment block euzuro 2006-08-16 14:50:34 +00:00
  • 2376bfe291 This is only neccesary because of the naming scheme, not because it actually needs any functionality from WMS. crschmidt 2006-08-16 13:30:10 +00:00
  • 07751a7206 Fix @require: to @requires crschmidt 2006-08-16 13:27:56 +00:00
  • 6e14190463 Remove broken requires statement. crschmidt 2006-08-16 13:22:55 +00:00
  • 7e312bf596 if zoom hasnt changed, use PanToLatLong() instead of setCenter() euzuro 2006-08-16 05:59:37 +00:00
  • 208957ade6 there has never been a VELatLongBounds... at least not that we know of. this code was just brought over from google. euzuro 2006-08-16 05:49:07 +00:00
  • c7cb7744e7 if we are going subclass from EventPane, then there is no need to bother with catching VE events... euzuro 2006-08-16 05:48:09 +00:00
  • f3c12c729d remove deprecated methods for 2.0 release. Documentation available at ReleaseNotes2.0 euzuro 2006-08-16 02:26:12 +00:00
  • 3f19fdd490 fix for #168 - getScale() thanks for great patch from Tim Schaub euzuro 2006-08-16 01:09:42 +00:00
  • 1baadf57ac make the same change as in r1209 to wms-untiled. make baselayeredness based on transparency (as it was before) euzuro 2006-08-16 01:04:07 +00:00
  • f904f2ed15 add an informational comment and do a little coding standards cleanup. no functional change here euzuro 2006-08-16 00:33:25 +00:00
  • 930055ac19 With the IE fix, Untiled WMS is no longer a lost cause. bring it into the single file build. crschmidt 2006-08-15 21:14:24 +00:00
  • a6567afad5 Document OpenLayers.Map class. crschmidt 2006-08-15 20:02:10 +00:00
  • 44b695666f Document OpenLayers.Map class. crschmidt 2006-08-15 20:02:10 +00:00
  • f56824a778 Add support for Google Layer to MVS. crschmidt 2006-08-15 18:07:43 +00:00
  • 8255997bc7 Add a key for localhost, for those of us developing on a localhost setup, so that it can just be grabbed from here. crschmidt 2006-08-15 18:05:28 +00:00
  • cbd921f643 Add the ability to add a 'marker=true' option to URL queries, so that you can have a marker at your center point, a la gmaps. crschmidt 2006-08-15 17:48:07 +00:00
  • ae02671983 Don't ever return NaN from getLayerContainerPxFromViewPortPx, since that can cause problems in multiple different layers -- instead, just return null, which is handled more gracefully. crschmidt 2006-08-15 16:11:58 +00:00
  • cbde344ad0 Add non-stringified condition, courtesy of tschaub pointing out the error of my ways :) crschmidt 2006-08-15 15:38:26 +00:00
  • 4b7b1cb700 Untiled WMS defaults to not having a base layer, which doesn't work so much with the whole 'only layer in the example' thing. (Working on fixing #137 .) crschmidt 2006-08-15 14:22:31 +00:00
  • d11ddfbb87 Change OpenLayers.ProxyHost in Subversion to be null. This means that Ajax requests will 'just work' if the file is loaded locally (which was only the case before when using relative URLs). It also means that the examples better document how to set ProxyHost, since they no longer depend on an undocumented setting. crschmidt 2006-08-15 14:11:58 +00:00
  • 3faa7460ff scrolling with mousewheel triggers zooming. euzuro 2006-08-15 12:50:42 +00:00
  • 8ab6715f83 fix more tabs euzuro 2006-08-15 12:46:45 +00:00
  • dccfe5c4aa add all three variations of google layer to example euzuro 2006-08-15 12:46:20 +00:00
  • 512465037b fix tabs euzuro 2006-08-15 12:43:50 +00:00
  • 634eb0afc8 small updates to Google layer and EventPane -- Google needs to @requires EventPane and not Layer, some minor stylistic changes to EventPane, updating tests so they will pass. euzuro 2006-08-15 12:25:39 +00:00
  • 4d59db6648 extra comma bombs IE euzuro 2006-08-15 12:17:04 +00:00
  • dd07041019 make transparent wms layers be overlays again. fix test. euzuro 2006-08-15 12:09:46 +00:00
  • 9984c776de Since VirtualEarth doesn't understand bounds at all, this function didn't work. This is not an ideal situation, becauuse it's not really 100% correct for a mercator projection, but it does cause things to work. crschmidt 2006-08-15 02:15:03 +00:00
  • 846a11a004 altered VirtualEarth to subclass EventPane. Schuyler Erle 2006-08-15 01:48:55 +00:00
  • c1b8c8dd60 change the '@require:' to '@requires' so as to be compatible with JSDOC standards. put these directly inside the class definition comment block. update script to suggest this and update all source files to follow pattern. Caught a missing @requires in the EventPane.js file euzuro 2006-08-14 23:05:05 +00:00
  • 841fdcbfb3 split Util.js into two files. BaseTypes.js will contain all the OL Base types, such as Pixel, LonLat, Bounds, etc., as well as all the standard javascript basetypes (string, number, etc) extensions. All else remains in Util.js. In theory I have fixed all dependencies. If this doesn't work, I'll rollback. euzuro 2006-08-14 21:49:19 +00:00