Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub 75fcec15ec Simplify plugin
The augmentExamples just adds metadata to the example markup files.  If we also want to support example markdown files, we can use the metalsmith-markdown plugin before this one.
2015-04-06 11:13:32 -06:00
Tim Schaub 43ed76cda0 Unquoted strings for readability 2015-04-06 09:18:32 -06:00
Tim Schaub 9f1e0f001a Proper lists for example resources 2015-04-06 09:18:32 -06:00
Tim Schaub 6d318dce78 Rework plugin 2015-04-06 09:18:28 -06:00
Tim Schaub c265676f67 Avoid reading css and js files twice 2015-04-06 04:21:12 -06:00
Tim Schaub cdc4283cbf Use global metadata for ol version 2015-04-06 04:10:17 -06:00
Tim Schaub 8afb5698f1 Allow script to be run from anywhere 2015-04-06 04:09:46 -06:00
Tim Schaub 274b70bde3 Use vector source in snap example 2015-04-05 16:55:42 +02:00
Tim Schaub 50f71655e5 Style docs 2015-04-04 17:38:03 +02:00
Tim Schaub 02c4c8b360 Tile grid docs 2015-04-04 17:38:02 +02:00
Tim Schaub e2b37a74a5 WebGL context docs 2015-04-04 17:38:02 +02:00
Tim Schaub 4f428d7cd5 View docs 2015-04-04 17:38:02 +02:00
Tim Schaub 29c3bc066d Overlay docs 2015-04-04 17:36:48 +02:00
Tim Schaub b735504564 Map docs 2015-04-04 17:36:48 +02:00
Tim Schaub 1174baa24e Image and image tile docs 2015-04-04 17:36:48 +02:00
Tim Schaub 6c960215bb Graticule docs 2015-04-04 17:36:47 +02:00
Tim Schaub 3ef5329bd9 Geolocation docs 2015-04-04 17:36:47 +02:00
Tim Schaub c6a330e886 Feature overlay docs 2015-04-04 17:36:47 +02:00
Tim Schaub 16c6ccf40c Feature docs 2015-04-04 17:36:47 +02:00
Tim Schaub 044ea054b1 Extent docs 2015-04-04 17:36:47 +02:00
Tim Schaub 619da529ec Easing docs 2015-04-04 17:36:47 +02:00
Tim Schaub 7f34941be3 Device orientation docs 2015-04-04 17:36:47 +02:00
Tim Schaub d09c4afefb Coordinate docs 2015-04-04 17:36:47 +02:00
Tim Schaub fdabcd8219 Collection docs 2015-04-04 17:36:47 +02:00
Tim Schaub 1a10686299 Attribution docs 2015-04-04 17:36:46 +02:00
Tim Schaub 4463e173e6 Animation docs 2015-04-04 17:36:46 +02:00
Tim Schaub 29596ced00 Add .editorconfig and instructions on its use 2015-04-04 14:17:31 +02:00
Tim Schaub 6a105f9bcf Newlines 2015-04-02 19:23:02 +02:00
Tim Schaub 664a287c94 Tissot's indicatrices 2015-04-02 19:10:20 +02:00
Tim Schaub b9074342a6 TopoJSON example content 2015-04-02 19:10:19 +02:00
Tim Schaub 44ad7ce30a Update doc on using @api annotation 2015-04-02 16:23:54 +02:00
Tim Schaub 5bb7535207 Remove @api annotation from abstract method 2015-04-02 16:23:54 +02:00
Tim Schaub 587c06f565 Stable intersectsExtent method for geometries 2015-04-02 16:23:54 +02:00
Tim Schaub 6134a8bf7a Use @api annotations where geom methods are implemented 2015-04-02 16:23:53 +02:00
Tim Schaub 5c87efccdb Stable WMTS constructor and options 2015-04-02 16:23:53 +02:00
Tim Schaub cedc78972d Mark tile load events as stable 2015-04-02 16:23:53 +02:00
Tim Schaub 5fe6f07969 Make the source.getFeaturesInExtent() method exportable 2015-04-02 16:23:53 +02:00
Tim Schaub d79abe7448 Stable geometry methods 2015-04-02 16:23:53 +02:00
Tim Schaub 419483face Stable GeoJSON read/write methods 2015-04-02 16:23:53 +02:00
Tim Schaub 0b2c097686 Stable format read/write options 2015-04-02 16:23:53 +02:00
Tim Schaub 7ee8866f35 End the getResolutionForExtent experiment 2015-04-02 16:23:53 +02:00
Tim Schaub 21263f9184 Stable view methods 2015-04-02 16:23:42 +02:00
Tim Schaub 89dc3a254b Stable object methods and events 2015-04-02 12:12:36 +02:00
Tim Schaub 11ac778b29 Mark propertychange as stable 2015-04-02 12:04:01 +02:00
Tim Schaub d541ae49d0 Mark moveend as stable 2015-04-02 12:03:21 +02:00
Tim Schaub 56a942e9cf Stable map browser events 2015-04-02 11:57:43 +02:00
Tim Schaub 255e1de3a4 Remove @api annotation from ol.WEBGL_MAX_TEXTURE_SIZE 2015-03-30 20:57:41 +02:00
Tim Schaub be0c9f3c8a Allow orienting coordinates when serializing GeoJSON 2015-03-25 18:32:31 -06:00
Tim Schaub 5d590bcf95 Allow access to right-hand oriented multi-polygon coordinates 2015-03-25 16:57:29 -06:00
Tim Schaub 7572f27cf9 Allow access to right-hand oriented polygon coordinates 2015-03-25 16:57:29 -06:00
Tim Schaub ce36947bdb Allow orienting with the right-hand rule 2015-03-25 16:57:25 -06:00
Tim Schaub 5f6ceff3a7 Use ol.geom.flat.orient namespace 2015-03-25 16:33:17 -06:00
Tim Schaub 22aeb3612e Remove unused createGetTileIfLoadedFunction function 2015-02-24 15:06:10 -08:00
Tim Schaub 3e3104bbb1 Avoid leaking global listenerSpy 2015-02-18 16:05:33 -07:00
Tim Schaub 56c5cef3f8 Example style 2015-02-18 15:45:20 -07:00
Tim Schaub 199fcb05e3 Unregister image listeners when disposing of a tile 2015-02-18 15:45:14 -07:00
Tim Schaub c42af7919e Example docs 2015-02-17 11:22:44 -07:00
Tim Schaub 77d8d48b57 Progress bar for tile loading 2015-02-17 11:22:39 -07:00
Tim Schaub 5cbae8c8f5 Add tile loading events to image tile sources 2015-02-17 11:09:30 -07:00
Tim Schaub bf35b40b11 Fire change event every time state changes 2015-02-17 11:09:16 -07:00
Tim Schaub e5432f7cb5 Avoid creating unnecessary images during rendering 2015-02-16 15:11:16 -07:00
Tim Schaub 2cf1fe5552 Create tile cache for all tile sources 2015-02-16 12:22:15 -07:00
Tim Schaub 0ddae22661 Update package version to 3.2.1 2015-02-13 10:52:02 -07:00
Tim Schaub fb2506672c Changelog for v3.2.1 2015-02-13 10:51:31 -07:00
Tim Schaub e79211e0c1 Respect attributions passed to TileJSON source 2015-02-11 10:15:29 -07:00
Tim Schaub 33c197cf16 Layer renderers should not require a map renderer 2015-02-08 07:25:10 -07:00
Tim Schaub e0f250483d Layer renderers don't need access to the map 2015-02-07 16:56:10 -07:00
Tim Schaub c4ee8518e1 Use frame state for size 2015-02-07 16:52:48 -07:00
Tim Schaub d4b7bb7c57 Use frame state for pixel to coord conversion 2015-02-07 16:52:34 -07:00
Tim Schaub a460cb3983 Fire change instead of calling render on map 2015-02-07 16:46:30 -07:00
Tim Schaub 7f18033171 Make layer renderers observable and re-render on change 2015-02-07 16:42:36 -07:00
Tim Schaub 693ec7706e createLayerRenderer must be implemented by subclass 2015-02-07 16:30:28 -07:00
Tim Schaub 9081682286 Use provided frame state instead of map for pixel to coord conversion 2015-02-07 16:12:39 -07:00
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