Tim Schaub
3b028e0017
Merge pull request #268 from tschaub/has
...
Fixing the extend method to work on IE.
2012-03-03 07:12:56 -08:00
Tim Schaub
fb748bae81
Collecting tests together.
2012-03-03 08:11:42 -07:00
Tim Schaub
c6650087cc
Update zoom example to demonstrate custom style.
2012-03-02 23:51:39 -07:00
Tim Schaub
f45043967b
Zoom control tests.
2012-03-02 22:52:18 -07:00
Tim Schaub
45b9c48c43
Accommodations for IE.
2012-03-02 22:11:40 -07:00
Tim Schaub
b9b471f57b
Merge branch 'master' into zoom
2012-03-02 21:26:58 -07:00
tschaub
66e8fafdf2
Correcting example typo. Thanks @probins.
2012-03-02 18:38:42 -07:00
tschaub
59578931c2
Making testing in IE a tiny bit less painful.
...
The super handy quick filter that Marc added in 57c16b7345 was causing a bit of trouble in IE. First, `input` was undefined where it was used as a misspelling for `window`. After that, IE choked on the nice CSS3 selector when filtering the test list. It turns out we don't need to be as selective and can treat all anchor elements within the table rows as candidates.
2012-03-02 18:29:25 -07:00
tschaub
71276b5323
Fixing the extend method to work on IE.
...
In IE, events don't have a `hasOwnProperty` method. Instead of trusting that the source objects have this method, we call the same on the Object prototype. If we want to be safer about the `hasOwnProperty` calling done in e3cc96dbfb , we could create an `OpenLayers.Object.has` method that also used the Object prototype.
2012-03-02 16:54:59 -07:00
tschaub
0ce7674be6
Adding a simple zoom control.
...
This control generates simple zoom in/out links that can be styled with CSS.
2012-03-02 15:45:30 -07:00
tschaub
9b3a78ed5e
Fixing the build by adding missing var.
...
An undeclared variable snuck in with 930206fb57 . This breaks builds using closure compiler. Another reason to set up a CI server and a builds@ list.
2012-03-01 17:00:26 -07:00
tschaub
5a355f3760
Attribution update.
2012-03-01 16:33:50 -07:00
Tim Schaub
485317567e
Merge pull request #266 from tschaub/permalink
...
Making map construction work with permalink.
2012-03-01 15:11:10 -08:00
tschaub
4e9701caa8
Making map construction work with permalink.
...
If a map is configured with a permalink control and a center, the permalink control tries to work with the map center before setCenter is called. This sequence assumes that the map center will already be a LonLat. This fails if the map is constructed with a coordinate array. Safer move is to convert center to LonLat before controls are added.
2012-03-01 13:47:42 -07:00
tschaub
31219c90f5
Adding XYZ example using MapBox tiles.
2012-03-01 13:13:35 -07:00
Tim Schaub
de68e00a58
Merge pull request #263 from jorix/always_requires
...
Avoid using the [first] section. Specify dependencies in the lib.
2012-02-29 19:31:15 -08:00
tschaub
977c334fa3
Doc cleanup.
2012-02-16 10:41:05 -07:00
tschaub
2b5ade2dde
Adding back events documentation.
...
When the list of event types became unconstrained in 501b42228a , we lost the documentation for events that are triggered. This change adds the list of events triggered to the API docs for events properties.
2012-02-16 10:36:34 -07:00
Tim Schaub
560295e78a
Update mobile build profile to include OSM.js.
...
Since 11454cbc1b , the OSM.js script must be included where the OSM layer is used.
2012-01-17 23:55:34 -07:00
Tim Schaub
6aaa9bb749
Fixing undeclared label.
...
Missing var in be585c5f23 causing closure compiler failure.
2012-01-17 23:41:04 -07:00
Tim Schaub
b910a5f4d0
Declare zoomChanged.
...
The zoomChanged variable has been undeclared since d42eec9775 , causing closure compiler to fail.
2012-01-17 23:04:20 -07:00
Tim Schaub
a5f4daa747
Merge pull request #135 from jorix/3496-Build_force_exclude
...
Skip files that are listed in the exclude config list even if they are dependencies of other files. Thanks @jorix for the enhancement.
2012-01-17 12:39:04 -08:00
Tim Schaub
d34d8f22a3
Merge pull request #128 from tschaub/animation
...
Use requestAnimationFrame where available.
2012-01-17 11:56:59 -08:00
Tim Schaub
974ed29de9
Merge pull request #153 from tschaub/proj
...
Move mercator transforms to Projection.js.
2012-01-17 11:46:36 -08:00
tschaub
9a6827f6b3
Documenting the functionality included in Projection.js.
...
This adds documentation for projection methods and includes detail in the release notes about build configuration related changes.
2012-01-17 12:38:31 -07:00
tschaub
bfa6f06bf3
Removing dependency on SphericalMercator.
...
The default transforms (b/w EPSG:4326 & EPSG:900913) now come with any layer type.
2012-01-17 12:35:50 -07:00
tschaub
6134ad6d91
Removing redundant dependency.
...
Projection.js gets pulled in as a transitive dependency of all layers.
2012-01-17 12:34:40 -07:00
tschaub
00975e79cc
Merge branch 'master' of github.com:openlayers/openlayers into proj
2012-01-17 08:52:03 -07:00
Tim Schaub
32e870bebb
Remove SphericalMercator dependency from Bing.
2012-01-16 22:59:23 -07:00
Tim Schaub
4b949176d3
Move mercator transforms to Projection.js.
...
The SphericalMercator mixin is not required for coordinate transforms. Default transforms included whenever Projection.js is included.
2012-01-16 22:39:44 -07:00
tschaub
483fe267b0
Update animation tests to run in a popup.
...
As an optimization, certain browsers (e.g. Firefox) may not execute functions sent to `requestAnimationFrame` while the window is not visible. Because our tests run in an iframe, the tests fail unless we open a popup to run the animation methods.
2012-01-16 17:44:55 -07:00
tschaub
02aa9bcc36
Tests with a description of the updated method.
...
The old `containsPoint` method was sensitive to failure when looking for ray crossings with nearly vertical edges. These added tests demonstrate the simple cases where `containsPoint` succeeds. The tests also now include a case that covers the failure for polygons with nearly vertical edges. The previous `getX` method (within the `containsPoint` method) and the new one are mathematically equivalent. The updated version performs better in cases using coordinates with many significant figures.
2012-01-16 16:59:54 -07:00
Tim Schaub
a7374db913
Merge pull request #134 from probins/splitnoml
...
Removing MultiLineString dependency from the Split control. Thanks @probins for the contribution.
2012-01-09 22:50:15 -08:00
Tim Schaub
0127806ee2
Assert that split control works with no geometry.
2012-01-08 21:14:17 -05:00
tschaub
fc43ea715a
Documenting the deprecated.js script.
2012-01-05 10:50:45 -07:00
tschaub
0e6d971ad0
Updating API doc menus.
...
After the big reshuffle while deprecating stuff, NaturalDocs started over with a new menu so we lost the structure we had set up.
2012-01-05 10:36:45 -07:00
Tim Schaub
b26efd6beb
Merge pull request #126 from tomhughes/url-rewrite
...
Add an interception point to allow image URLs to be rewritten
2012-01-03 14:13:00 -08:00
tschaub
e2834e04e6
Merge branch 'master' into animation
2012-01-03 10:28:40 -07:00
tschaub
519bf9a50a
Removing unused minX and maxX.
2012-01-03 10:28:25 -07:00
tschaub
3556af9cb2
Moving animation methods out of Util.js.
...
Animation methods get their own module, giving methods more sensible names:
* `OpenLayers.Animation.requestFrame` (was `OpenLayers.Util.requestAnimationFrame`)
* `OpenLayers.Animation.start` (was `OpenLayers.Util.startAnimation`)
* `OpenLayers.Animation.stop` (was `OpenLayers.Util.stopAnimation`)
2012-01-03 09:43:50 -07:00
tschaub
b844a3b11b
Happy New Year!
...
Updating copyright to 2012.
2012-01-03 09:01:10 -07:00
Tim Schaub
3f6e0141a4
No animation frames on hidden windows.
...
As an optimization, Firefox does not execute functions passed to requestAnimationFrame when the window is hidden. This is the case for the panTo tests here that use a map in a hidden iframe. Since other browsers may follow suit, we just test the fallback setTimeout method of animating on these tests.
2012-01-02 22:29:23 -07:00
Tim Schaub
bd4278de4a
Docs and tests for animation methods.
2012-01-02 21:54:08 -07:00
Tim Schaub
92472ca604
Avoid illegal invocation of native method.
2012-01-02 21:53:21 -07:00
Tim Schaub
e363bdb782
Rename to startAnimation for symmetry.
2012-01-02 21:52:31 -07:00
Tim Schaub
c151b04257
Use requestAnimationFrame for tweening.
...
Instead of using an arbitrary interval for tweening, we let the device decide the best animation frame rate. Where requestAnimationFrame is not available, this will default to 60 fps.
2012-01-02 20:52:46 -07:00
Tim Schaub
5c2af142b6
Use requestAnimationFrame where available.
...
For kinetic panning, let the device determine the animation frame rate.
2012-01-02 20:40:29 -07:00
Tim Schaub
c7c11757ae
Allow for infinite animation loop.
2012-01-02 20:39:52 -07:00
Tim Schaub
a86151c9e3
Allow callback to cancel animation.
2012-01-02 20:39:38 -07:00
Tim Schaub
709bb7af1b
panDuration not used in this example
2012-01-02 20:37:23 -07:00
tschaub
bc8a38cf16
Util methods for animation loops.
2012-01-02 17:48:43 -07:00
tschaub
f2168d13b7
Increase timeout to avoid flashes.
...
Without this change, flashes are fairly frequent while zooming around a full screen map.
2012-01-02 16:07:40 -07:00
tschaub
3c910c8801
Removing the tileAnimation map property.
...
Edit CSS to change the style.
2012-01-02 15:49:55 -07:00
tschaub
3eb34f587e
Add test for setOpacity.
2012-01-02 11:52:54 -07:00
tschaub
b7b0d6b712
Collecting image tile changes in the Image.js.
2012-01-02 11:40:50 -07:00
Tim Schaub
f5ac1fcd72
Update notes/2.12.md
2011-12-29 15:38:20 -07:00
Tim Schaub
9b7afeb492
Merge pull request #124 from tschaub/norect
...
Moving Rectangle geometries to deprecated.js (closes #123 ).
2011-12-29 14:34:04 -08:00
tschaub
e5b4e1323b
Updated readme.
2011-12-29 14:57:12 -07:00
tschaub
25d907d977
Adding rectangle to deprecated notes.
2011-12-29 14:41:04 -07:00
tschaub
3bddb3af05
Merge branch 'master' of github.com:openlayers/openlayers into norect
2011-12-29 14:40:16 -07:00
tschaub
47368ddfa9
Listing deprecated functionality in the notes.
2011-12-29 14:39:34 -07:00
tschaub
5773ad7ddc
Removing duplicate code.
...
These string prototype methods were unintentionally added twice in 20e19203d5 .
2011-12-29 14:29:03 -07:00
tschaub
958221d5f4
Moving Rectangle geometries to deprecated.js.
...
The VML and SVG renderers still have support for drawing rectangles. This can be safely removed in 3.0.
2011-12-29 14:14:49 -07:00
tschaub
9075f14856
Ignoring the closure-compiler.jar and pyc.
2011-12-29 14:05:12 -07:00
tschaub
d6cb1547ac
Merge branch 'master' of github.com:openlayers/openlayers
2011-12-29 14:03:50 -07:00
Tim Schaub
08d951c02f
Merge pull request #91 from jorix/3519-CC_SrcLin2
...
Using the jscompiler.py that ships with Closure to drive the compiler.
2011-12-29 13:03:27 -08:00
tschaub
e321bd3d60
Merge branch '3519-CC_SrcLin2'
2011-12-29 13:58:48 -07:00
Tim Schaub
d8a34775da
Merge pull request #120 from probins/rulerequires
...
Symbolizer dependencies are only pulled in when serializing as SLD.
2011-12-29 11:43:37 -08:00
Tim Schaub
0176d052a7
Merge pull request #102 from tschaub/nowkt
...
Allow for builds without WKT format
2011-12-14 09:51:06 -08:00
Tim Schaub
7950e284fc
Merge pull request #3 from probins/nowkt
...
Nowkt: fix typo in release notes
2011-12-14 09:48:04 -08:00
Tim Schaub
c8e3ae73d4
I think it's fair to say we've removed Prototype influence.
2011-12-12 20:01:40 -05:00
Tim Schaub
92ea378729
One license block fewer (see #99 ).
2011-12-12 19:57:05 -05:00
tschaub
469842012b
Tests for string methods without WKT.
2011-12-10 17:09:18 -07:00
tschaub
4c97f492c6
Describing changes in release notes.
2011-12-10 17:04:26 -07:00
tschaub
66de55ef9b
Allowing for WKT free builds.
...
The WKT format is used for converting geometries to and from string representations. For builds that do not explicitly include the WKT format, the `OpenLayers.Geometry.fromWKT` returns `undefined`.
2011-12-10 17:00:20 -07:00
tschaub
038a34c4ad
Adding release notes to the repo.
...
Pull requests that change behavior or add specific functionality should include changes to the appropriate release note page.
2011-12-10 16:52:07 -07:00
Tim Schaub
1008ff89e9
Removing broken (or pointless) examples.
2011-12-09 00:14:13 -07:00
Tim Schaub
3844b91cd6
Avoiding closure compiler warnings.
...
These comments are not parsed by Natural Docs and result in unnecessary warnings from closure compiler.
2011-11-30 22:25:38 -08:00
tschaub
598ef62cea
Remove requires for missing file (see #66 ).
2011-11-23 17:17:16 -07:00
tschaub
197dcc5a23
Updating readme format to test website update.
2011-11-23 17:14:24 -07:00
Tim Schaub
ec6c5eb74b
Merge pull request #43 from tschaub/undeprecated
...
Move deprecated methods from main lib. To use deprecated methods and classes in your application, add the deprecated.js script to your build profile.
2011-11-09 11:58:19 -08:00
tschaub
69ad1b7bbe
Add dependencies for deprecated.js.
...
To use deprecated methods, include the "deprecated.js" script in your build profile.
2011-11-09 12:56:05 -07:00
tschaub
caaf911081
Merge branch 'undeprecated' of https://github.com/ahocevar/openlayers into undeprecated
2011-11-09 12:24:53 -07:00
tschaub
b9cc3834d6
Merge branch 'master' of github.com:openlayers/openlayers into undeprecated
2011-11-09 12:24:42 -07:00
Tim Schaub
9605c08a11
Remove extra MapServer subclass.
2011-11-08 22:57:28 -07:00
Tim Schaub
7b6887c954
Remove extra WMS subclasses.
2011-11-08 22:45:13 -07:00
Tim Schaub
ab225e36b9
Remove extra tests.
2011-11-08 22:42:46 -07:00
Tim Schaub
5f2a6d410b
Deprecated XML.js method.
2011-11-08 22:07:29 -07:00
tschaub
b7c826e796
Remove MouseDefaults and MouseToolbar.
2011-11-08 18:32:55 -07:00
tschaub
f90d34fad9
Exclude deprecated methods from full build.
2011-11-08 17:10:31 -07:00
tschaub
20e19203d5
Deprecated methods from BaseTypes.js.
2011-11-08 16:48:58 -07:00
tschaub
dd5d7c9f07
Remove deprecated methods from Element.js.
2011-11-08 16:37:31 -07:00
tschaub
5db084afe8
Pull Ajax.js from the loader.
2011-11-08 16:37:01 -07:00
tschaub
e4d422e781
Deprecated Class.js methods.
2011-11-08 16:24:33 -07:00
tschaub
95e7de2ab4
Deprecated tests for Ajax.js.
2011-11-08 16:17:52 -07:00
tschaub
368ad02bdb
Deprecated methods from Ajax.js.
2011-11-08 16:11:43 -07:00
Tim Schaub
bce3aced23
Merge pull request #42 from tschaub/convenience
...
Adding extent, location, and projection convenience. Where appropriate, literals can be used instead of creating new OpenLayers objects.
2011-11-08 11:05:46 -08:00
tschaub
76bb0be254
Spell projection with p and separate tests to avoid mock issues.
2011-11-08 11:47:59 -07:00
tschaub
00410cf779
Merge branch 'master' of github.com:openlayers/openlayers into convenience
2011-11-08 08:44:33 -07:00
tschaub
28cc0bd962
Fewer news.
2011-10-28 15:53:16 -06:00