euzuro
|
a02c0ea8b7
|
you wanted viewportpx from latlon? well, you got it mister. using a small and but ingenious hack by the astute dr. steven erle, we are able to fix the last remaining (famous last words) kink in the google layer. seems like it should be all a-o-k now. Changed the getLonLatFromViewPortPx() to use the Container as well. Case closed.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@834 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 01:04:10 +00:00 |
|
crschmidt
|
5524399a3e
|
This is a demo of using OpenLayers.Layer.WMS to fetch from a non-WMS source, specifically, OpenStreetMap. However, it seems that there's something wrong with the source data here, since there's a definite disconnect at tile boundaries.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@833 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 00:16:33 +00:00 |
|
euzuro
|
afeb15b3e7
|
set defaults correctly
git-svn-id: http://svn.openlayers.org/trunk/openlayers@832 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-29 23:24:48 +00:00 |
|
crschmidt
|
4fe8729895
|
Commit new version of MVS, nasa turned off by default.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-29 15:32:22 +00:00 |
|
crschmidt
|
a6f999970a
|
Use OpenLayers.loadURL so that we get the benefit of ProxyHost.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@827 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-29 00:32:55 +00:00 |
|
crschmidt
|
d2270377ef
|
We lost a whole bunch of MVS functionality when branching for 1.0. I'm not sure why.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@826 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-29 00:09:58 +00:00 |
|
crschmidt
|
5fda900240
|
Commit a test for maxResolution: 'auto', maxResolution: null
git-svn-id: http://svn.openlayers.org/trunk/openlayers@824 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 23:49:49 +00:00 |
|
euzuro
|
43a2f03b2b
|
the 'moveend' event was not getting properly triggered on the end of a drag... because the setCenter() was not passing a new center or zoom. move it outside the if clause and all is well.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@823 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 23:44:24 +00:00 |
|
crschmidt
|
b789fe22fd
|
Change TIGER ka-Map example to be a freemap instance of ka-Map which caches the Open Plans tiger instead of using DM Solutions TIGER product demo.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@822 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 13:34:12 +00:00 |
|
crschmidt
|
d2d3eb075f
|
We round these values to four decimale places: This saves us on rounding errors on the client-side, which could theoretically increase our cache size when we hit them, and in the case of the left/top values, this also makes sure that we get the closest pixel value, not the integer of it -- this is important when we get around to requesting the tiles, since otherwise we end up a pixel off, and then we don't get our images back.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@821 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 12:38:05 +00:00 |
|
crschmidt
|
dcb0f24f50
|
Move getZoomForExtent from WMS to Grid. This also applies to WorldWind and KaMap, so having it in Grid.js means we can use it in more cases where it will matter.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@820 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 02:51:37 +00:00 |
|
crschmidt
|
69c599b881
|
If there's no options passed, this would fail. So let's check that
git-svn-id: http://svn.openlayers.org/trunk/openlayers@819 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 02:38:05 +00:00 |
|
crschmidt
|
e7b45c4731
|
Commit change to WFS layer. It was breaking before, due to a lack of tileSize. This is not fixed, but is a temporary patch until I figure out the deeper reasons why.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@818 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 02:32:59 +00:00 |
|
crschmidt
|
9ea5b2aa31
|
This is needed to allow KaMap and WorldWind to work. It may need to be removed in cases where it's not appropriate, but prevents infinite loops in the meantime (I think).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@817 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 02:21:30 +00:00 |
|
crschmidt
|
38324e7295
|
Change Grid to not setTileSize if the tileSize passed is null. Also change WFS to not call setTileSize if it's null.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@816 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 00:33:28 +00:00 |
|
crschmidt
|
0763e08c12
|
If we don't have a tileSize when we're cloning, that means we're going to pick up the default from the Map Real Soon Now (tm), so we'll just not bother setting the tile size on our cloned layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@815 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 00:29:39 +00:00 |
|
crschmidt
|
843abf10bb
|
Let's keep null around. At least one example (*cough* openlayers homepage *cough*) uses it, although that should obviously have been documented in a test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@814 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-28 00:07:00 +00:00 |
|
crschmidt
|
162d05cb25
|
Convert KaMap and WorldWind to be isBaseLayers, and change FullExtent to MaxExtent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@813 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:51:01 +00:00 |
|
crschmidt
|
239a1cefa9
|
Actually return the extent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@812 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:49:18 +00:00 |
|
euzuro
|
f51e970ab1
|
oops. our API promises zoomToFullExtent() and getFullExtent(), so we have to deliver them. Agreed that the name change to max should stay, but for the time being, have to maintain our API. both of these functions are marked as deprecated, and a ticket is being made to eventually remove them.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@811 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:47:36 +00:00 |
|
crschmidt
|
7d810b47d1
|
Change zoomToFullExtent to zoomToMaxExtent.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@810 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:47:28 +00:00 |
|
euzuro
|
1cf12e8d34
|
set the options *after* the call to updateSize() has been made
git-svn-id: http://svn.openlayers.org/trunk/openlayers@809 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:39:19 +00:00 |
|
euzuro
|
563d91c4fd
|
extra dereferencing.... copy/paste error
git-svn-id: http://svn.openlayers.org/trunk/openlayers@808 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:35:05 +00:00 |
|
euzuro
|
9b53d22a31
|
allow for accessing of default map values even if baseLayer has still not been set
git-svn-id: http://svn.openlayers.org/trunk/openlayers@807 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:31:47 +00:00 |
|
euzuro
|
ff0e83d0a0
|
bringing all changes from sandbox/euzuro/LayersReworking down into the trunk. this is a merge of r656:HEAD http://svn.openlayers.org/sandbox/euzuro/LayersReworking
git-svn-id: http://svn.openlayers.org/trunk/openlayers@806 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 23:16:26 +00:00 |
|
crschmidt
|
63bd624827
|
Commit change to GeoRSS -- once we parse the RSS file, set the layer name.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@804 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 22:20:37 +00:00 |
|
crschmidt
|
102820ad77
|
Commit a GeoRSS example which allows you to enter the URL yourself, and display multiple GeoRSS results.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@803 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 20:23:37 +00:00 |
|
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 |
|
crschmidt
|
f62eb0f687
|
Make the world fit in the map window using auto.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@791 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 12:33:27 +00:00 |
|
euzuro
|
f4342723e4
|
use bound's built in getCenter() function.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@790 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 10:47:48 +00:00 |
|
Schuyler Erle
|
fbbf1b317a
|
Applied Corey Puffault's zoomToExtent() patch from #107.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@789 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 04:42:17 +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
|
ef65e851b9
|
Fix ProxyHost.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@784 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-27 04:05:29 +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
|
35a73b2942
|
Build Ka-Map support by default. (Note that this is in trunk, *not* 1.0: 1.0 will not include ka-Map support).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@773 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-26 16:58:04 +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
|
3546cad5a1
|
Add more descriptive names to the example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@765 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-26 13:55:45 +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 |
|
Schuyler Erle
|
c43a44dc75
|
Pulled down documentation and build.sh fixes from 1.0 branch.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@716 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-23 15:30:43 +00:00 |
|
crschmidt
|
83e1317b38
|
Commit Urban demo for WW. This lets you browse around and look at hte high-res urban density data.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@697 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-23 05:10:04 +00:00 |
|
crschmidt
|
e3e192f869
|
Commit change to worldwind layer so you can turn off landsat and see bathy layer. They only overlap at one zoom.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@696 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-23 04:21:59 +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
|
bd166b5ac1
|
Fix tests for Tile.Image // Layer.WMS changes for alphaImage #96.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@688 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-22 19:52:39 +00:00 |
|
crschmidt
|
809f1da955
|
Update the freemap example to explicitly state that the upper layers are transparent, to work with new code.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@684 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-22 19:11:29 +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 |
|