Tim Schaub
06dc0902c6
Avoid use of goog.array.clone with arrays
2015-01-15 12:43:12 -07:00
Tim Schaub
1ee03625e9
Optimize hit detection by rendering features in a limited extent
2015-01-07 23:04:42 -07:00
Tim Schaub
1ff43686f5
Use bracket notation instead of goog.object.get
2015-01-07 22:31:01 -07:00
Tim Schaub
f9a92c422c
Use bracket notation instead of goog.object.set
2015-01-07 21:08:24 -07:00
Tim Schaub
0a784bfc3b
Allow bracket notation
...
We use bracket notation with string literals instead of dot notation where we don't want the compiler to do any renaming.
2015-01-07 21:06:04 -07:00
Tim Schaub
38b890a69a
Removing AUTHORS.md
...
This was a partial, unmaintained list of the project contributors. For a complete list of contributors, see the Git log. E.g.
git shortlog -s | cut -c8-
2015-01-03 22:58:06 -07:00
Tim Schaub
7dd322dd6f
Update package version to 3.1.1
2014-12-23 11:29:04 -05:00
Tim Schaub
676476ec64
Changelog for v3.1.1
2014-12-23 11:28:48 -05:00
Tim Schaub
e62c333f32
Correct arguments for forEachGeometryAtPixel
2014-12-23 11:10:04 -05:00
Tim Schaub
4b423fca16
Exclude source files from docs
2014-12-22 17:01:01 -05:00
Tim Schaub
a796542223
Summarize changes and add upgrade notes
2014-12-22 15:17:05 -05:00
Tim Schaub
dc7f60801a
Update package version to 3.1.0
2014-12-22 14:32:35 -05:00
Tim Schaub
9b55d20f90
Changelog for v3.1.0
2014-12-22 14:32:11 -05:00
Tim Schaub
62854f6e32
Add script to standardize changelog ceation
2014-12-22 13:02:27 -05:00
Tim Schaub
9b0349f2d5
Variable for builds directory
2014-12-20 02:55:56 -07:00
Tim Schaub
d4763a0fe7
Set CLOSURE_NO_DEPS globally
2014-12-20 02:35:05 -07:00
Tim Schaub
3582445755
Add task for publishing to npm
...
This task publishes an existing tag to the npm registry. To publish a new release, create a commit that updates the version number in package.json (e.g. to "3.1.0"). Then create a tag, push to GitHub, and run the publish task. Assuming "openlayers" is the remote for the canonical repo, this would look like the following:
git tag -a v3.1.0 -m "3.1.0"
git push --tags openlayers
./tasks/publish.sh 3.1.0
The task creates a build for each of the `PROFILES` in `publish.sh` (these correspond to `.json` files in the `config` directory). Builds are generated in the `dist` directory. Our `package.json` specifies `dist/ol.js` as the "main" build. So when people use a module loader to `require('openlayers')`, they get the full build. It is also possible to load a debug build (e.g. `require('openlayers/dist/ol-debug')`), and we can publish additional builds by adding `config` files and updating `PROFILES` in `publish.sh`.
The `.npmignore` file determines what is *not* included in the package (note that `node_modules` are always ignored). So if additional items are added to `.gitignore` that should not be included in the npm package, they need to go in `.npmignore` as well (ideally, we don't need to generate anything else outside of the `build` directory that doesn't belong in the package).
2014-12-19 17:45:48 -07:00
Tim Schaub
a95327f18e
Define goog and assign to global
...
When concatenating the Closure Library, base.js creates a new `goog` object if there is not already one in scope. Later, `goog.global` is assigned the value of `this`. Calls to `goog.provide` create "namespace" objects by assigning to `goog.global`. To ensure that `goog` is the same as `goog.global.goog`, we need to create a new `goog` object in the scope of base.js and assign it to `this.goog`.
2014-12-19 14:41:47 -07:00
Tim Schaub
b7e0acf4fa
Update pre-release version
2014-12-19 11:05:29 -07:00
Tim Schaub
abdae62481
Move description above annotation to avoid JSDoc warnings
2014-12-15 07:50:48 -08:00
Tim Schaub
b60b0ecdb0
Add support for wrapping the build in UMD syntax.
2014-12-13 13:23:10 -08:00
Tim Schaub
4c504ede74
Doc fix regarding externs
2014-12-07 16:35:58 -08:00
Tim Schaub
32a67801e5
Include correct path in error message
2014-12-07 16:27:31 -08:00
Tim Schaub
39010238b9
Make stability checkbox sticky
2014-11-11 20:06:26 -08:00
Tim Schaub
b991895c61
Similar detail for all crossOrigin options
2014-11-11 19:04:25 -08:00
Tim Schaub
b269161276
A bit more static image doc
2014-11-11 19:01:05 -08:00
Tim Schaub
3685626187
Example demonstrating limited layer extent
2014-11-11 09:11:12 -08:00
Tim Schaub
50c0bc6879
Clip rendering to layer extent
2014-11-11 08:59:57 -08:00
Tim Schaub
d4658837e2
Use toggleClass instead of addClass and removeClass
2014-11-06 10:42:40 -07:00
Tim Schaub
02bfa42736
List events fired in the navigation
2014-11-03 16:52:17 -07:00
Tim Schaub
4b7e52c76f
Allow build.js task to add header
2014-10-30 12:18:08 -06:00
Tim Schaub
e68eb726d2
Test 3d points and proj4 defs
2014-10-27 12:39:28 -06:00
Tim Schaub
8a82048c12
Explicitly pass coordinate dimension before transforming
2014-10-27 10:33:46 -06:00
Tim Schaub
7c2e0fa627
Verbose warnings
2014-10-27 08:45:11 -06:00
Tim Schaub
aad9e4e8d3
Throw instead of calling a function that throws
2014-10-27 08:44:31 -06:00
Tim Schaub
03fa9965c5
Avoid modifying map.logos_ with each frame
2014-10-25 23:54:42 -06:00
Tim Schaub
7152cdc87f
Guard against Bootstrap's max-width setting
...
Bootstrap sets both the max-width and max-height of all image elements to 100%. When attributions are removed from their containing element, this causes logos to shrink.
2014-10-25 23:37:20 -06:00
Tim Schaub
d712b2ba54
Allow source to be set after layer construction
2014-10-25 15:34:47 -06:00
Tim Schaub
c06774acb5
Allow source to be set with set method as well
2014-10-25 15:31:08 -06:00
Tim Schaub
88030dbce7
Allow layer source to be set
2014-10-25 15:31:07 -06:00
Tim Schaub
5cab561f12
Make npm install a dependency of node based targets
2014-10-24 09:28:27 -06:00
Tim Schaub
c6b172aef2
Work with modules that assign to exports
...
CommonJS style modules will either assign `exports` to `module` or will assign properties to `exports`. This allows us to work with either style:
module.exports = Foo;
or
exports.Foo = Foo;
Support for additional properties that are assigned to `exports` (or non-function values assigned to `module.exports`) will likely take additional typedef work in the wrapper.
2014-10-24 08:45:59 -06:00
Tim Schaub
120ace5cef
Minimal typedef
2014-10-24 08:45:31 -06:00
Tim Schaub
bf314f30d5
Remove doc about dispatching events
2014-10-23 17:10:29 -06:00
Tim Schaub
4785001548
Parse examples and build external modules on install
2014-10-23 15:57:10 -06:00
Tim Schaub
01b64bc655
General purpose task for building external modules
2014-10-23 13:40:31 -06:00
Tim Schaub
473023d146
Document exportable vector source symbols
2014-10-22 09:12:37 -06:00
Tim Schaub
3f5dd45310
One OSM attribution
2014-10-21 23:00:10 -06:00
Tim Schaub
26006418a8
Package metadata
2014-10-14 14:32:58 -06:00
Tim Schaub
dd665c7e9e
New package name and updated dependencies
2014-10-14 14:32:58 -06:00
Tim Schaub
081f3689b1
Quarter the number of test cases to avoid timeout
2014-10-14 13:58:19 -06:00
Tim Schaub
8b3677967d
Use getMetersPerUnit
2014-10-14 13:45:23 -06:00
Tim Schaub
edb28d6a47
A tiny bit more deterministic
2014-10-13 23:02:46 -06:00
Tim Schaub
d2bea2692c
Renaming for clarity
2014-10-13 10:29:33 -06:00
Tim Schaub
c1afd513b7
Account for the thumb size when handling clicks
2014-10-13 10:13:50 -06:00
Tim Schaub
9dd5b611c7
Give container ol-control class and tidy css
2014-10-13 09:22:21 -06:00
Tim Schaub
26be3a5450
Example style update
2014-10-13 08:42:45 -06:00
Tim Schaub
b8369ad3f0
Allow thumb to range over the entire container size
2014-10-13 08:40:51 -06:00
Tim Schaub
6f20afeba9
Set interaction hint while dragging
2014-10-12 19:16:49 -06:00
Tim Schaub
d45283c55e
Animate from the current resolution
2014-10-12 18:59:58 -06:00
Tim Schaub
164407bc83
(x - 1) * -1 == 1 - x
2014-10-12 18:21:27 -06:00
Tim Schaub
e1ee3474bf
Unregister listener
2014-10-11 18:49:12 -06:00
Tim Schaub
7129a08e0b
Clear the canvas on layer extent changes
2014-10-11 18:22:18 -06:00
Tim Schaub
49796090fa
Allow renderer to load the image
2014-10-11 18:16:14 -06:00
Tim Schaub
ede37f26f7
Let image resolution be calculated when the image loads
2014-10-11 18:08:48 -06:00
Tim Schaub
ddc3dbaa87
If image size is not provided, determine resolution on load
2014-10-11 18:08:48 -06:00
Tim Schaub
63f126a528
The imageExtent option is required
2014-10-11 18:08:48 -06:00
Tim Schaub
c868e4bbdd
Allow package to be published in npm registry
...
I've contacted the maintainer of the https://www.npmjs.org/package/openlayers package to see if we can take over ownership. Until then, we can publish packages under the name 'ol'.
2014-09-29 22:27:27 -06:00
Tim Schaub
291b033dbf
Report failures to the console
2014-09-28 22:27:07 -06:00
Tim Schaub
8bded032df
Fix failing GML format test
2014-09-28 15:04:54 -06:00
Tim Schaub
a1bb755123
Fix failing KML format tests
2014-09-28 15:04:49 -06:00
Tim Schaub
abc7848073
Fix failing WKT format tests
2014-09-28 14:44:26 -06:00
Tim Schaub
2ad27044a6
Correctly generate child tile ranges for XYZ
...
Instead of incrementing and then doubling, calculate the child tile range by doubling and then incrementing.
With this change, tile coord [0, 0, 0] has the four following children:
[1, 0, 0] [1, 1, 0]
[1, 0, 1] [1, 1, 1]
Without this change, tile coord [0, 0, 0] had the nine following children:
[1, 0, 0] [1, 1, 0] [1, 2, 0]
[1, 0, 1] [1, 1, 1] [1, 2, 1]
[1, 0, 2] [1, 1, 2] [1, 2, 2]
2014-09-28 12:23:12 -06:00
Tim Schaub
9f1bdc7c83
Mark ol.extent.getIntersection as stable
2014-09-17 11:24:54 -06:00
Tim Schaub
fc13499f31
Using the openlayers.org domain
2014-08-28 16:15:41 -06:00
Tim Schaub
61d759acc7
Add unstable class to typedefs in navigation menu
2014-08-24 18:35:18 -06:00
Tim Schaub
79efcc78a5
Add unstable class to member definitions
2014-08-24 18:31:23 -06:00
Tim Schaub
38b2a46b59
Mark ol.RendererType enum as stable
2014-08-24 18:22:19 -06:00
Tim Schaub
e17e909ffa
Annotate stable map options
2014-08-22 17:43:51 -06:00
Tim Schaub
a8999f601b
Hide unstable items by default, provide checkbox for toggling
2014-08-22 17:30:29 -06:00
Tim Schaub
ecaedff890
Add "unstable" class to unstable items
...
This also removes the events from the sidebar. These are repeated on the main page and only add unnecessary length to the sidebar.
2014-08-22 17:28:50 -06:00
Tim Schaub
787688ef33
Copy stability from doclet to observable
2014-08-22 17:27:29 -06:00
Tim Schaub
f11e5de156
Mark exportable ol.has properties as stable
2014-08-22 07:36:05 -06:00
Tim Schaub
947b049799
Rename ol.browserfeature to ol.has
2014-08-22 07:34:35 -06:00
Tim Schaub
f17c33f631
Rename buildcfg to config
2014-08-22 07:28:05 -06:00
Tim Schaub
c7ba6f4c6e
Rename doc template from apidoc to api
2014-08-22 07:28:05 -06:00
Tim Schaub
1fd0bada51
Move apidoc config with other build related config
2014-08-22 07:28:05 -06:00
Tim Schaub
9c4689206b
Document stability for options
2014-08-21 22:14:48 -06:00
Tim Schaub
525456e6cd
Only document olx properties marked as part of the API
...
And mark all olx properties with @api. The stability level will be used to determine what can change between minor releases.
2014-08-21 21:49:06 -06:00
Tim Schaub
9975d842f1
Mark map.beforeRender as unstable
2014-08-21 20:31:05 -06:00
Tim Schaub
bc680ef101
Write out stability info for symbols
2014-08-20 16:17:27 -06:00
Tim Schaub
f498080d78
Fail if tasks have lint
2014-08-19 12:15:11 -06:00
Tim Schaub
30bfa1bf19
Remove additional lint from new tasks
2014-08-19 12:15:11 -06:00
Tim Schaub
6bd0d7efae
Additional documentation
2014-08-19 10:30:38 -06:00
Tim Schaub
1ede97ae18
Respect the tileSize option for XYZ grids
2014-08-19 10:30:37 -06:00
Tim Schaub
ee487ca308
Sources may be configured with a projection, tile grids with an extent
...
An XYZ tile grid is constructed with an extent defining the bounds of the tile grid.
2014-08-19 10:30:27 -06:00
Tim Schaub
e97f79b4ab
Respect XYZ source projection
2014-08-18 23:03:33 -06:00
Tim Schaub
33b68123ac
Add jshint config for tasks and remove lint
2014-08-18 17:22:57 -06:00
Tim Schaub
63ad916ca7
Function for creating tile grids from extents
2014-08-18 17:10:26 -06:00
Tim Schaub
dd5e7693da
General purpose getCorner function for extents
2014-08-18 14:55:49 -06:00