Commit Graph

10327 Commits

Author SHA1 Message Date
Tom Payne
0235caa1e0 Rename ol.source.ImageTileSource to ol.source.TileImage 2013-09-09 15:09:25 +02:00
Tom Payne
bf1d804a5e Rename ol.source.DebugTileSource to ol.source.TileDebug 2013-09-09 15:07:05 +02:00
Frédéric Junod
7ffd2bcaa1 Merge pull request #993 from pagameba/deviceorientation-ios
Detect iOS compass heading
2013-09-09 05:57:34 -07:00
Tom Payne
71a396a189 Rename ol.source.TileSource to ol.source.Tile 2013-09-09 14:40:23 +02:00
Tom Payne
7d5a84ce8a Rename ol.layer.ImageLayer to ol.layer.Image 2013-09-09 14:36:40 +02:00
Tom Payne
5967f96047 Rename ol.source.ImageSource to ol.source.Image 2013-09-09 14:33:12 +02:00
Tom Payne
fc2975f346 Rename ol.layer.LayerGroup to ol.layer.Group 2013-09-09 14:23:16 +02:00
Tom Payne
e428b66ab4 Rename ol.layer.LayerBase to ol.layer.Base 2013-09-09 14:18:24 +02:00
Paul Spencer
4117a5df2d check iOS compass calibration via webkitCompassAccuracy
Ensure that webkitCompassAccuracy is not -1 as this indicates that the
compass has not been calibrated and its values cannot be trusted.
2013-09-09 08:05:37 -04:00
Paul Spencer
f56e01104b Merge pull request #1 from fredj/deviceorientation-ios
Rename externs/html5.js to externs/closure-compiler.js
2013-09-09 05:00:43 -07:00
Frederic Junod
03e2f1a903 Add links to Proj4js and CONTRIBUTING.md 2013-09-09 12:07:16 +02:00
Frederic Junod
20916c75bb Add more api doc 2013-09-09 12:07:03 +02:00
Frédéric Junod
cf7b40268b Merge pull request #988 from fredj/icon_example
IE10 compatibility: no tooltip on icon.html example
2013-09-09 01:58:22 -07:00
Frederic Junod
0efe92ab4c Fix popover in icon example 2013-09-09 10:23:28 +02:00
Frédéric Junod
f123f5e57b Merge pull request #986 from fredj/rotate-north_example
IE10 CSS compatibility: custom-controls example
2013-09-09 01:09:17 -07:00
Frederic Junod
77c7d02873 Better user notification if a.download attribute is not supported 2013-09-09 09:55:30 +02:00
Frederic Junod
0b82cb8050 Fix rotate-north control display on touch devices 2013-09-09 09:19:45 +02:00
Frederic Junod
4bae5e755a Rename externs/html5.js to externs/closure-compiler.js
Add add a fix for issues:
  * https://code.google.com/p/closure-compiler/issues/detail?id=1084
  * https://code.google.com/p/closure-compiler/issues/detail?id=1088
2013-09-08 16:53:28 +02:00
Éric Lemoine
5861f6a148 Merge pull request #992 from elemoine/urlfunction
Stricter with types
2013-09-07 22:44:49 -07:00
Paul Spencer
69872c99d2 Detect iOS compass heading
iOS webkit does not provide an absolute alpha, instead it provides
webkitCompassHeading.
2013-09-07 21:48:49 -04:00
Éric Lemoine
02a285665b Remove unneeded FIXME 2013-09-07 23:50:15 +02:00
Éric Lemoine
e01344f0da Be stricter with types in WMTS 2013-09-07 23:50:01 +02:00
Éric Lemoine
3036ee01ad Be stricter with types in BingMaps 2013-09-07 23:49:37 +02:00
Éric Lemoine
1e308e34f9 Stricter type def for ol.TileUrlFunctionType 2013-09-07 23:32:38 +02:00
Éric Lemoine
30acfc20c3 Stricter type def for ol.ImageUrlFunctionType 2013-09-07 23:32:30 +02:00
Tim Schaub
13a937fad7 Lazily create default style 2013-09-07 09:19:11 -06:00
Tim Schaub
cc11efa420 Merge pull request #958 from tschaub/requires
Make the `build/check-requires-timestamp` target work with namespace provides in cases where the namespace provide isn't required by a module that provides constructors or other objects within that namespace.  This may seem a bit odd, but if I want to provide `foo.bar.Bam` it isn't strictly necessary that my module require `foo.bar`.

To make this build target work, we stick with the following convention (used in the Closure Library):

 * If you want to make a function available via `goog.require`, use `goog.provide` to provide the object of which the function is a member (e.g. to make the `foo.bar.baz` function available, use `goog.provide('foo.bar')`).
2013-09-07 08:13:06 -07:00
Frédéric Junod
a177cf159b Merge pull request #990 from fredj/examples_no_webgl
Better user notification if WebGL is not supported
2013-09-06 14:35:54 -07:00
Frederic Junod
aa823e2b28 Better user notification if WebGL is not supported 2013-09-06 22:36:39 +02:00
Frederic Junod
393566155d Export ol.*.SUPPORTED symbols 2013-09-06 22:34:32 +02:00
Frédéric Junod
48bf1702d4 Merge pull request #981 from fredj/side-by-side
Side-by-side example broken
2013-09-06 12:51:43 -07:00
Frederic Junod
169e66835d Bind to layergroup instead of layers 2013-09-06 18:17:12 +02:00
Éric Lemoine
91b6258f13 Merge pull request #985 from ebelo/patch-1
add webgl only info
2013-09-06 02:09:03 -07:00
Emmanuel Belo
dbfa1726d5 Add "WebGL only" note to bind-input example 2013-09-06 11:05:43 +02:00
Éric Lemoine
bebe39102c Merge pull request #978 from pagameba/doc-deviceorientation
More comprehensive docs for ol.DeviceOrientation
2013-09-06 01:39:17 -07:00
Tim Schaub
6617969d36 Example using the moveend event 2013-09-05 15:36:03 -06:00
Tim Schaub
50ed564bf6 Fire a moveend event after rendering
The moveend event is fired after rendering if there is no pending animation, current interaction, or other pre-render functions in the queue.
2013-09-05 15:35:53 -06:00
Paul Spencer
a0ca05d18e Use markdown format for inline links 2013-09-05 09:01:49 -04:00
Paul Spencer
74158e52be Update based on comments
This removes @class and fixes the return type pattern to match the
project standard.  There are a couple of minor changes to the text as
well.
2013-09-05 07:57:16 -04:00
Paul Spencer
f9ba90f4ca More comprehensive docs for ol.DeviceOrientation
Adding an extended class description of DeviceOrientation along with
some additional details in the property accessors.
2013-09-04 21:28:59 -04:00
Tim Schaub
15609f36ad Unused imports 2013-09-04 13:56:03 -06:00
Tim Schaub
2ac3d4d2cd Export namespaces instead of functions in generated code 2013-09-04 13:56:02 -06:00
Tim Schaub
8b7a0a060c Export ol.interaction namespace instead of the defaults function 2013-09-04 13:55:54 -06:00
Tim Schaub
716b7b0cec Export ol.control namespace instead of ol.control.defaults function 2013-09-04 13:55:54 -06:00
Tim Schaub
7d510310ed Removing unnecessary require 2013-09-04 13:55:54 -06:00
Tim Schaub
36ea408ed2 Handle namespace provides
It looks like the convention in the Closure Library is to export either namespaces (starting with lowercase), constructors (starting with uppercase), or enums (all uppercase, one instance).  I don't see any places where the Closure Library exports a function that is not a constructor.

Following the same convention, when we export `ol.foo`, it means we are making available function properties of the `ol.foo` object that start with a lowercase letter.
2013-09-04 13:55:54 -06:00
Tim Schaub
fa1601f04f Export namespaces or constructors but not functions 2013-09-04 13:55:54 -06:00
Tim Schaub
8ca3f13bd2 Instead of providing animation functions, provide the namespace
This follows the convention in the Closure Library of providing either namespace objects (where the property starts with a lowercase letter), constructors (where the property starts with an uppercase letter), or enums (all uppercase properties, only one instance of this in the closure library).
2013-09-04 13:55:36 -06:00
Frédéric Junod
cd11ebbc8a Merge pull request #976 from fredj/focus_touchend
Reset the map focus on 'mouseout' and 'touchend'
2013-09-04 07:06:22 -07:00
Frederic Junod
ae314916cf Reset the map focus on 'mouseout' and 'touchend' 2013-09-04 13:21:06 +02:00