euzuro
|
16d9da1268
|
coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@853 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-02 18:49:07 +00:00 |
|
euzuro
|
70af5bbb7f
|
jsdoc
git-svn-id: http://svn.openlayers.org/trunk/openlayers@852 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-02 18:43:50 +00:00 |
|
crschmidt
|
50c00d35d9
|
Fix a lint error in Javascript, thanks to Safari. (Found by a user of the Boston Freemap.)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@850 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 19:36:42 +00:00 |
|
crschmidt
|
32acc4ad3a
|
Change MVS example to use Util.getArgs(), now that it exists.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@849 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 14:07:42 +00:00 |
|
crschmidt
|
7f6ffe8164
|
Factor out getArgs into Util class, since we use it in other places as well. Modify Permalink Control to fit.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@848 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 14:05:34 +00:00 |
|
crschmidt
|
15a47c6513
|
Add support to Permalink control to automatically create Permalink inside map div if no element is given. This isn't pretty, but it's a good way to quickly/easily add a permalink to your map.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@847 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 02:41:21 +00:00 |
|
crschmidt
|
9f0a77aa92
|
Add PermaLink control. Add test for permalink control. This control will automatically center and zoom the map to lat/lon/zoom args, and allows you to set an <a> element whose href is modified when the map moves. controls.html implements an example.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@846 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 02:14:03 +00:00 |
|
crschmidt
|
72e44d6638
|
Commit GeoRSS tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@845 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 01:32:18 +00:00 |
|
crschmidt
|
0389b8cfb5
|
Er, right. bitnerd did the original here, not hobu :)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@844 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-07-01 00:03:08 +00:00 |
|
crschmidt
|
2117aa0539
|
Commit a 'changeParams' method, along with test and example, to show how it would be possible to use WMS-T with changeParams. ChangeParams sets the new params, then recalls initTiles with the new params set.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@843 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 23:59:42 +00:00 |
|
crschmidt
|
c958f9f88a
|
KaMap needs to reimplement initTiles because it uses 0-based indexing instead of lower-left corner indexing, which means that we need to have the tile.draw method also modified here to use this.alpha, and also add the options hash as a param. We should probably move resolution/units into the options param too?
git-svn-id: http://svn.openlayers.org/trunk/openlayers@842 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 15:49:48 +00:00 |
|
crschmidt
|
7313838f1f
|
Grid.js has two other tile.draw methods, which need to now use the this.alpha flag.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@841 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 15:48:50 +00:00 |
|
Schuyler Erle
|
44fee8a018
|
Added an 'alpha' option to Layer.Grid by which Layers can have the PNG alpha hack enabled on a per-Layer basis.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@840 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 15:41:40 +00:00 |
|
crschmidt
|
b064dce7f5
|
Ignore files starting with ".". On MacOS, these may be resource forks, but in any case, ignoring dotfiles is relatively standard practice.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@839 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 04:10:14 +00:00 |
|
euzuro
|
2e79e399b2
|
updated comment
git-svn-id: http://svn.openlayers.org/trunk/openlayers@836 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 01:12:03 +00:00 |
|
euzuro
|
aaa0555b7a
|
the case is never closed, and the sun never sets. this is old code that is no longer used.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@835 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
|
2006-06-30 01:07:02 +00:00 |
|
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 |
|