Tom Payne
f08814250e
Add className option to ol.control.FullScreen
2013-05-07 16:17:35 +02:00
Tom Payne
8c396e5afb
Add className option to ol.control.Attribution
2013-05-07 16:17:13 +02:00
ahocevar
019fc86ac5
Entertaining linter and compiler
2013-05-07 14:20:09 +02:00
Éric Lemoine
c105a98443
Merge pull request #691 from elemoine/mouseposition
...
Add default CSS for mouse position control
2013-05-07 02:48:10 -07:00
ahocevar
666a010e3b
Point-in-polygon improvements
...
As suggested by @tschaub in #674 , geom.pointInPoly is not needed
if we have geom.LinearRing#containsCoordinate. This pull request
also adds tests and documentation on the limitations of the
containsCoordinate method.
I think for now it is ok to keep geometry/topology functions as
simple as possible in ol3. If we decide to not rely on third
party libraries like jsts for topology operations, we can always
refine what we have and e.g. port topology operations over from
ol2.
2013-05-07 10:49:51 +02:00
Frédéric Junod
aa3cc0cec4
Merge pull request #687 from fredj/geolocation
...
Use ol.projection.identityTransform instead of goog.functions.identity
2013-05-06 08:41:36 -07:00
Bart van den Eijnden
3fc0f2b47d
Improvements for xmleql
...
This adds some improvements for the xmleql test assertion. When passed in a
document, use the documentElement. Also improve error reporting as suggested
by @tschaub.
2013-05-06 15:35:40 +02:00
Thomas
f219393149
Add default CSS style for mouse position
...
Missing CSS was confirmed with issue #680 , this commit is to fix it and change
ol-mouse-position class to ol-mouseposition. I choose for the moment the top
right corner to display the coordinates from mouse position control because of
potential conflict with the scaleline control.
2013-05-06 14:07:13 +02:00
Bart van den Eijnden
10b690b5f9
Merge pull request #661 from bartvde/xmleql
...
Add Assertion.prototype.xmleql (r=@twpayne,@tschaub,@elemoine)
2013-05-06 02:43:24 -07:00
Bart van den Eijnden
865404a0d3
Add Assertion.prototype.xmleql
...
This is based on the xml_eq function we had in the OL2 test framework but
adapted to expect.js.
2013-05-06 11:18:49 +02:00
Frederic Junod
fdfe057efe
Use ol.projection.identityTransform instead of goog.functions.identity
2013-05-06 10:21:24 +02:00
Tom Payne
331a5260c9
Merge pull request #679 from twpayne/rename-create-empty-extent
...
Rename ol.extent.createEmptyExtent to ol.extent.createEmpty
2013-05-01 03:45:51 -07:00
Tom Payne
b070b572d0
Rename ol.extent.createEmptyExtent to ol.extent.createEmpty
2013-05-01 12:36:54 +02:00
Tom Payne
70fc6879db
Merge pull request #676 from twpayne/testing-clean-ups
...
Testing clean-ups
2013-05-01 03:25:09 -07:00
Tom Payne
a9b5f003e5
Merge pull request #677 from twpayne/improve-type-checking
...
Improve type checking
2013-04-30 15:55:34 -07:00
Tim Schaub
c1ddc55a12
Merge pull request #678 from tschaub/once
...
Rename onOnce to once
2013-04-30 15:10:47 -07:00
Tim Schaub
ffe9105891
Rename onOnce to once (see #678 )
2013-04-30 14:58:39 -06:00
Tom Payne
1ab9de8b2c
Improve type checking in ol.View2D
2013-04-30 22:00:22 +02:00
Tom Payne
0541053fa9
Improve type checking in ol.TileUrlFunction
2013-04-30 22:00:22 +02:00
Tom Payne
0e69af847e
Improve type checking in ol.source.WMTS
2013-04-30 22:00:22 +02:00
Tom Payne
6e1f049456
Improve type checking in ol.source.StaticImage
2013-04-30 22:00:22 +02:00
Tom Payne
65f891a30d
Improve type checking in ol.source.BingMaps
2013-04-30 22:00:22 +02:00
Tom Payne
fe9fee1609
Improve type checking in ol.RotationConstraint
2013-04-30 22:00:22 +02:00
Tom Payne
bd9d723315
Improve type checking in ol.ResolutionConstraint
2013-04-30 22:00:22 +02:00
Tom Payne
2690410cbe
Improve type checking in ol.renderer.Layer
2013-04-30 22:00:22 +02:00
Tom Payne
070c286c54
Improve type checking in ol.ImageUrlFunction
2013-04-30 22:00:21 +02:00
Tom Payne
539529af59
Improve type checking in ol.coordinate
2013-04-30 21:29:56 +02:00
Tom Payne
d2979fc4ff
Improve type checking in ol.animation
2013-04-30 21:29:10 +02:00
Tom Payne
f0df0d7bf2
Display test errors in Chrome's console, thanks @Turbo87
2013-04-30 18:44:09 +02:00
Tom Payne
984121e095
Remove Assertion#equalArray
2013-04-30 18:22:16 +02:00
Tom Payne
efccede678
Use eql instead of equalArray
2013-04-30 18:21:58 +02:00
Tom Payne
fcc079a5f2
Extend expect.js's eql to handle NaNs
2013-04-30 18:20:34 +02:00
Tom Payne
c012afdbae
Remove unused Assertion#intersect
2013-04-30 18:08:24 +02:00
Tom Payne
59a4155651
Merge pull request #665 from twpayne/fix-firefox-dom-renderer
...
Prevent Bootstrap's setting of max-width from infecting map
2013-04-30 06:46:41 -07:00
Tom Payne
2d83003b64
Merge pull request #671 from twpayne/refactor-tile-functions
...
Refactor tile functions
2013-04-30 06:39:25 -07:00
Frédéric Junod
c3348d1734
Merge pull request #675 from fredj/object-listen
...
ol.Object.{on|onOnce|un} type can also be an array of string
2013-04-30 06:35:54 -07:00
ahocevar
8fb8a718c3
Merge pull request #674 from ahocevar/getfeatureinfo
...
Getting feature information for vector layers. r=@twpayne,@fredj
2013-04-30 06:12:47 -07:00
Frederic Junod
6366bd05b3
ol.Object.{on|onOnce|un} type can also be an array of string
2013-04-30 15:03:52 +02:00
ahocevar
00777de581
Do not check for listeners, as suggested by @fredj
2013-04-30 14:45:47 +02:00
ahocevar
d2c81db06a
Info box instead of tooltip as suggested by @fredj
2013-04-30 14:15:39 +02:00
ahocevar
58c8b07ab5
Get hit candidates from RTree, then refine result
...
Now we get exact hits also for lines and polygons.
2013-04-30 13:34:12 +02:00
ahocevar
cc1b70c74b
Giving the map a getFeatureInfoForPixel method
...
This method is an entry point for getting feature information.
Renderers can use a hit canvas or defer to a layer (source) to
get matching features for a pixel.
For now this is only implemented for vector layers, and it uses
a bbox query because we cannot refine the result because of
missing geometry intersection functions yet.
2013-04-30 13:32:16 +02:00
Éric Lemoine
a0340faa63
Merge pull request #673 from elemoine/closure-no-deps
...
Always set CLOSURE_NO_DEPS to true
2013-04-30 03:30:31 -07:00
Tom Payne
7ed672752d
Merge pull request #668 from twpayne/strip-debug-classes
...
Strip debug classes when compiling
2013-04-30 03:30:05 -07:00
Tom Payne
daa975d01f
Prevent user's setting of max-width from infecting map
...
Thanks @ThomasG77.
2013-04-30 12:26:31 +02:00
Tom Payne
66d95316f1
Merge pull request #666 from twpayne/remove-unused-css-classes
...
Remove unused CSS classes
2013-04-30 02:33:50 -07:00
Tom Payne
09d245c54b
Promote createTileCoordTransform into base class
2013-04-30 11:01:57 +02:00
Tom Payne
7a8d29f5e0
Clip tiles to extent in tile coordinate space
2013-04-30 10:30:50 +02:00
Frédéric Junod
28fcbbf1fe
Merge pull request #672 from fredj/export-update-size
...
Export ol.Map.updateSize
2013-04-30 00:41:08 -07:00
Éric Lemoine
1281d9987a
Add and export View2D.calculateExtent
2013-04-30 09:39:09 +02:00