Commit Graph
100 Commits
Author SHA1 Message Date
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
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