crschmidt
4aef16e1bd
Jeff Dege contributed a MousePosition Control, which this commit adds to trunk.
...
Reviewed by Erik on Trac and in person.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1665 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 19:20:23 +00:00
crschmidt
f97ffae403
OpenLayers.js changes didn't suit Safari very well.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1645 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 15:29:47 +00:00
euzuro
5364ce73e5
break permalink into two controls: permalink and argparser. make the arg parser a default control that is added to the map. furthermore, make it such that on addition to the map, the permalink will hunt through the maps controls to make sure there is an argparser control loaded, and if not it will load one itself. now we add a new parameter to the permalink suite: 'layer'. the application will now save the layer visibility information. finally, update tests so nothing breaks.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1634 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 03:28:53 +00:00
crschmidt
7562f7097f
Add revision property. This should allow us to check what version of the code
...
people are using, useful for debugging.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1623 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-06 01:03:13 +00:00
Schuyler Erle
1f4a53291f
Fix uninitialized var error introduced in r1600.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1602 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 18:31:32 +00:00
Schuyler Erle
9e4bf497ca
Remove check for Prototype.js.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1600 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 17:20:58 +00:00
Schuyler Erle
67ced536c0
Merged r1559:r1587 from source:/sandbox/crschmidt/noprototype. OpenLayers is now Prototype-free(tm).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1588 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-05 14:50:47 +00:00
crschmidt
4a14ae5346
Add MapServer layer.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1555 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 21:29:44 +00:00
crschmidt
634588abf0
If we're not running under IE, we should append script tags via the DOM.
...
This works in Safari, Firefox, Opera, and we check for IE and do it the old
way for them. Closes #177 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1540 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-03 14:11:43 +00:00
euzuro
14a2418a62
remove old layer switcher. this fixes #200
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1525 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-10-02 21:22:43 +00:00
crschmidt
0c1caaf717
Redo Yahoo class to work under EventPane.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1387 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-26 20:37:00 +00:00
euzuro
f582775d11
- Removed unnecessary accessors from OpenLayers.Layer: getProjection(),
...
getMaxExtent(), getMaxResolution(), and getNumZoomLevels(). They were just
wrapping around the properties. better to just access the property directly.
Needed to update for these removals in many different files.
- Improved initResolutions() functionality. It is now I believe both thorough
and complete. The only exception is that we should maybe allow a way for
the user to set up resolutions[] array using only minResolution and
numZoomLevels instead of only maxResolution and numZoomLevels... but I'm not
really sure anyone would ever really want to use that. And at any rate, I
don't know the math for how to do it. I'm sure schuyler or Dr. 5 would.
Oh. for a summary of how initResolutions works, see:
http://trac.openlayers.org/wiki/SettingZoomLevels
- Move getResolution(), initResolutions() out of HTTPRequest and into Layer. On
thinking this through (and trying to write documentation), I realized that
the real, true, GENERIC case for a layer will be using this awesome
resolutions[] array that allows for setting number of zoom levels, default
max resolutions, special scale arrays, etc.
- Updated code for getZoomForExtent() to work with resolutions[] array, instead
of using the the log 2 equation.
- Move standard getZoomForExtent() and getExtent() out of Grid and into
Layer. Like above, there is no reason for these methods to be found so far
down in the food chain. They are part of the generic calculations for
generic layers, so they belong in Layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1379 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-26 02:51:38 +00:00
crschmidt
b6200568d4
IE breaks on this -- probably because document.write () delays the onload, but
...
appending script elements doesn't. (Hooray for IE.) rolling this back and
reopening the ticket until I can work out the best workaround for this.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1377 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:51:01 +00:00
crschmidt
84d4e70fa5
More cleanups. These are unneccesary.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1376 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:44:23 +00:00
crschmidt
e9331479dc
Right. 2.0 and trunk are not the same. svn switch is my friend.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1375 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:38:20 +00:00
crschmidt
7ed62ba639
Commit canvas work to trunk. Note that the Canvas layer is *not production
...
ready* -- it is a memory hog, and slow as heck when dragging. However,
including it doesn't harm OpenLayers.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1371 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:20:20 +00:00
crschmidt
9233d5446d
Merge multimap sandbox to trunk.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1370 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-25 18:18:26 +00:00
euzuro
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.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1205 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-14 21:49:19 +00:00
Schuyler Erle
b6d91edda4
EventPane now works -- puts a transparent pane over a layer and passes events through it down to the map.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1193 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-11 18:00:07 +00:00
euzuro
f3a072b151
new layerswitcher, improved google layer, boxes layer, grid fix
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-08-08 18:20:24 +00:00
crschmidt
f873f81545
Scale control file was not included via the non-single file version.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@965 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-18 14:32:53 +00:00
euzuro
63b8cd6210
ve still doesnt totally work, but soon it will... and at any case it no longer auto-includes the script
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@953 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-16 17:11:06 +00:00
euzuro
10d55bd72a
remove document.write() call that loaded the gmaps script in google.js. from now on, the user is responsible for adding that script tag to his/her page. Add a test to make sure gmaps code base is loaded before trying to initialize new gmap2. update isBaseLayer() to return true only if gmaps is correctly loaded. finally, protect all methods if this.gmap is null, do nothing. update OpenLayers.js to now include Google.js and library.cfg to not exclude it.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@910 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-07 12:55:39 +00:00
euzuro
4182cc1955
adding new HTTPRequest class that adds a 'url' and 'params' properties to a Layer, and gives a getFullRequestString() function. Thorough tests.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@886 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-07-06 00:32:11 +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
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
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
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
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
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
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
467236ed25
prepare to take a Yahoo.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@613 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 15:11:01 +00:00
euzuro
b6f541fb49
disable google for now so users dont get errors/slowdowns
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@611 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 14:46:07 +00:00
euzuro
988cf47bdd
temporarily disabling VE until we can come up with a better solution for dynamically loading VE
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@607 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-17 12:39:32 +00:00
euzuro
ec9adf6371
include VirtualEarth.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@589 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-15 12:11:01 +00:00
crschmidt
6347973fd2
r1112@creusa: crschmidt | 2006-06-05 09:53:14 -0400
...
MouseToolbar work. This is working for zoombox -- except for clicking for a second time to turn off the mode in the modal toolbar.
Also, no support for other tools yet.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@507 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-06-05 13:47:09 +00:00
euzuro
6ebf79feec
comment no longer relevant
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@468 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-30 11:40:56 +00:00
euzuro
8a7fff3019
include Feature/WFS.js
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@409 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 23:07:06 +00:00
follower
2d440e36b0
Merged r[280]:[358] from source:/sandbox/follower/b-singlefile/ (Enable building of Single File Library version of OpenLayers library).
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@359 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 12:26:53 +00:00
euzuro
b036da46f5
Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:27:29 +00:00
euzuro
854a468373
add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
crschmidt
c0ec7f9a00
Change @require to @require:
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@326 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 17:17:22 +00:00
crschmidt
4917ecac34
Change Layer.Marker to Layer.Markers.
...
Closes #50 .
git-svn-id: http://svn.openlayers.org/trunk/openlayers@278 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 15:35:38 +00:00
euzuro
1041515bfd
udpatoing Tile.WFS code, removing ol.Application calls. AddingAjax.js file (do we want this?) and including it in the dynamic loader
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@275 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-23 00:22:22 +00:00
euzuro
13b35c68d7
include Popup.js in dynamic loader
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@221 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-21 13:42:45 +00:00
crschmidt
334fb4c2ed
Add start of a KeyboardDefaults class. This works, but because Keyboard events apparently always happen on the document level, I haven't yet figured out how to have them only happen when you're 'focused' on the map, so these are currently off by default. To test them, map.addControl(new OpenLayers.Control.KeyboardDefaults()); in your HTML file.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@214 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 19:59:50 +00:00
crschmidt
563b828ede
Migrate Map MouseControls to MouseDefaults.js. This moves event handling into a control, where we can modify it and edit it without mucking about in the main map class, bringing this portion of the code more into line with the way other aspects of the controls situation work.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@204 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-20 02:29:39 +00:00
euzuro
de294029b5
include WFS.js's in the dynamic loader
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@191 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 18:39:31 +00:00
euzuro
aa6228eeaf
including Feature.js in dynamic loader. All Tests Pass.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@188 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 17:47:35 +00:00