Commit Graph

45 Commits

Author SHA1 Message Date
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
crschmidt
519fb6da15 Add working version of text file layer. (For those of you playing along at home, this was about 45 minutes of work -- part of which was trying to figure out why the data file wouldn't work, only to find out I had expandtab on in vim -- so I wasn't typing tabs, i was typing spaces!)
This has uncovered the fact that there is some logical error in our code somewhere: Visit markers.html then click the purple marker repeatedly.  Despite the fact that you start clicking in the sea, the marker moves north, as does your center point.

This text file layer does not yet support popups or anything else, just drawing the images at a lat/lon with an 'image' given in the textfile.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@172 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-19 02:26:00 +00:00
crschmidt
fc7bbe5beb Create "Marker" layer. Add appropriate tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 15:54:42 +00:00
crschmidt
70d425580c Add empty class definitions for Icon, Marker to be filled in as part of bugs #5 and #6 respectively
git-svn-id: http://svn.openlayers.org/trunk/openlayers@85 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 03:50:53 +00:00
crschmidt
aa1630bf41 Rearrange Rico includes.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@72 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 01:50:02 +00:00
crschmidt
b81d81b67b Add Rico/Corner back to code from old OpenLayers codebase.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@69 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-17 01:24:52 +00:00
crschmidt
54c0403850 add LayerSwitcher control. Currently, when added, this will simply loop through all the map layers, display a div (with text in it) which allows you tu turn the layer on or off. Layer visibility is a new concept in Layer.js, including a getter and setter, which uses the style.visibility prop to change the status of the layer.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@31 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-14 02:44:49 +00:00
crschmidt
46035298a5 Begin work on Google Maps Layer. In order to create this layer, layer div creation has been moved into Layer.js, and the div that is created is then slotted into the right place by the map.addLayer function. (This is so that, at layer creation time, a div is available). However, it seems like Google Maps does not know how large the div is for reasons I don't yet understand, and there'se also the fact that our zoom levels differ from Google's at the moment. But it's getting there.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@29 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-13 16:11:52 +00:00
Schuyler Erle
50caed2d35 One last fix to make OpenLayers.js work with the new directory scheme.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@13 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:15:56 +00:00
Schuyler Erle
6f421094d2 Fixed example.html and OpenLayers.js to use lib/ instead of js/.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 22:02:21 +00:00
Schuyler Erle
04ba28f5a4 Revised directory structure (js/ -> lib/, test/ -> tests/) to match JSAN distribution standards, as documented at http://www.openjsan.org/documentation/dists.html.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-12 21:15:53 +00:00