Commit Graph

121 Commits

Author SHA1 Message Date
crschmidt
c20390c864 KaMap can't round. It works fine for degrees, but when you're working in inches, feet, meters, the rounding errors become quite significant.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@802 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 20:17:37 +00:00
crschmidt
6abc62718c aughhhh. This pains me, but it's in the spec. (Support ',' as a seperator for georss:point data.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@793 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 12:53:50 +00:00
Schuyler Erle
c92cd6d88a Pulled down bug fixes, example updates, etc. r717:r787 from source:/branches/openlayers/1.0.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@788 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 04:40:52 +00:00
crschmidt
067bbb5d75 Refactor GeoRSS Layer to support 'real' GeoRSS :) (geo:lat, geo:lon).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@783 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 04:04:41 +00:00
crschmidt
d7bb634cce Add GeoRSS layer and example. Only support for georss:point for the time being. Probably has a fair number of cases where it can fail, but it works for a first run, and the community can build from here :)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@778 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-27 03:35:55 +00:00
crschmidt
05025e97d0 Round the scale value. KaMap rounds internally, so adding extra precision here only breaks client-side caching.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@766 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 14:29:37 +00:00
crschmidt
a3e5944e4e KaMap layer now sublasses initTiles, to implement the kamap 0-based tiling scheme instead of the OpenLayers/WW -180,-90 method. This means that there are no longer any restrictions on using ka-Map with other layers! woohoo! You can use ka-map on top of WorldWind, or with another ka-map layer, even if it has differently sized tiles. yay!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@764 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 13:54:14 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@763 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-26 13:15:20 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@695 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-23 04:20:46 +00:00
crschmidt
891fdf7a38 'true', in quotes, not true. we're checking the value that's being passed through to the WMS server.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@683 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 19:11:09 +00:00
crschmidt
50babaeb34 Also pass the transparent param on to addTile in the column/row functions.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@682 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 19:10:44 +00:00
crschmidt
8e0793b191 Only draw transparent images if the tiles are transparent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@681 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 19:02:33 +00:00
crschmidt
cff8c06621 Convert Layer/UntiledWMS to Layer/WMS/Untiled. Update example. Update include list. Update exclude list for singlefile build.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@675 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 15:59:23 +00:00
crschmidt
6b28c78655 Make the UntiledWMS work better. This changes the API for an internal function (moveToNewExtent), but doesn't break any existing code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@674 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 15:35:33 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@672 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 14:18:21 +00:00
crschmidt
d370a3c5f9 Safari: also known as Lint for Javascript!
git-svn-id: http://svn.openlayers.org/trunk/openlayers@671 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 12:40:11 +00:00
crschmidt
2a1ad38ce2 Bad Syntax. Was breaking Safari.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@670 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 12:39:29 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@669 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 11:36:25 +00:00
crschmidt
8600f7d688 More work on KaMap layer. This TIGER demo looks good, but it's really broken underneath.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@666 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-22 10:47:43 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@665 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 21:49:31 +00:00
Schuyler Erle
ead31f6dc6 Added license headers to all JS source files.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-21 15:22:48 +00:00
euzuro
9a74fc1f7e update comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@633 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 23:08:10 +00:00
euzuro
7ebaf2a630 wms is not a base layer if it is transparent
git-svn-id: http://svn.openlayers.org/trunk/openlayers@629 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:31:44 +00:00
euzuro
8ef2cc58d5 these layers are never base layers
git-svn-id: http://svn.openlayers.org/trunk/openlayers@628 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 22:16:38 +00:00
euzuro
bf9628ea39 set G-Y-M layers' isBaseLayer() to true
git-svn-id: http://svn.openlayers.org/trunk/openlayers@623 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-20 17:58:11 +00:00
euzuro
e582436f55 catch autodrag as well (this is for double-clicks)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@616 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 15:47:27 +00:00
euzuro
6392e9877c finishing touches of first draft of yahoo layer. adding correct script tag, fixing zoom levels business, etc.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@615 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 15:41:42 +00:00
euzuro
bf60b9d01d first round test code for yahoo layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@614 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 15:11:36 +00:00
euzuro
c73291770c cosmetic change. relic variable name from ve layer implementation
git-svn-id: http://svn.openlayers.org/trunk/openlayers@612 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 14:59:20 +00:00
euzuro
0978988638 first shot at getting gmaps working in openlayers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@609 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 14:41:00 +00:00
euzuro
1df168849e make sure vemap is loaded before trying to move it
git-svn-id: http://svn.openlayers.org/trunk/openlayers@606 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 12:06:06 +00:00
euzuro
ea732d4535 add requere statement for singlefile
git-svn-id: http://svn.openlayers.org/trunk/openlayers@602 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:29:39 +00:00
crschmidt
4b9445115b Complete revert.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@598 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:12:20 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@597 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:07:45 +00:00
crschmidt
5cd7142e67 Remove left/right conditional aspects, since this is breaking somehow.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@596 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:06:16 +00:00
crschmidt
cd8fe2cc81 Remove console.log statement
git-svn-id: http://svn.openlayers.org/trunk/openlayers@595 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:03:43 +00:00
crschmidt
082133730e Fix conditional.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@594 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 17:02:27 +00:00
crschmidt
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.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@593 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 16:37:15 +00:00
euzuro
9ca4ca2cee Adding implementation of Microsoft Virtual Earth layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@587 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 12:09:21 +00:00
euzuro
fc366b73fe recommitting r574 - the bug was in the OpenLayers.Feature destroy() function, which was not checking to ensure a valid map setting.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@576 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 16:00:00 +00:00
euzuro
e3695d2223 rollback r574. though it was a valid patch, it is causing something else to break. Better to keep code functional. Will re-commit this patch when the error has been located.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@575 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:17:57 +00:00
euzuro
ba77d478b3 add destroy method which calls destroy() on both superclasses.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@574 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-12 15:06:12 +00:00
crschmidt
b0c86248e1 Change order of params: passed params should override existing params.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@559 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-08 17:11:36 +00:00
euzuro
6628d38dc5 on destroy(), go through and destroy() all of the features we have created.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@544 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:12:27 +00:00
euzuro
558c908f3c coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@543 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:11:29 +00:00
euzuro
78964cf417 keep an array of the features we have created. this will allow us to later destroy() them when the time comes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:10:32 +00:00
euzuro
e06b157090 when we destroy a markers layer, remove all of its tiles. do not, however, destroy them... because they were not created here.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@541 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:08:15 +00:00
euzuro
85b14a3c93 when we destroy a grid layer, destroy all of its tiles
git-svn-id: http://svn.openlayers.org/trunk/openlayers@540 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 16:07:26 +00:00
euzuro
8b7a22bc1f dont reinvent the wheel. use Util.js's array enhancer remove() function
git-svn-id: http://svn.openlayers.org/trunk/openlayers@535 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 14:50:17 +00:00
euzuro
7cc874d26b set the map variable when we add a marker to the markers layer
git-svn-id: http://svn.openlayers.org/trunk/openlayers@533 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-07 13:01:36 +00:00