Commit Graph

426 Commits

Author SHA1 Message Date
Aleš Jiránek e52ca96dc3 Fix return type annotation of ol.layer.VectorTile.getSource 2017-08-04 12:05:17 +02:00
Guillaume Beraudo 63b14f5f32 Make ol.layer.Group change handling consistent
Changes to the layer were only propagated in some cases like addition/removal of a
layer to the group.

To make it consistent both with the rest of the group.js file and with the
layer.js file, the changes are now always notified.
2017-08-03 11:44:06 +02:00
Marc Jansen 7d6929c710 Manual adjustment of indentation 2017-06-20 10:41:03 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub 64b3302883 Require that map layers are unique 2017-04-13 05:38:49 -06:00
Ilia Choly 2dc656c098 Add ol.RenderOrderFunction typedef 2017-03-09 13:02:39 -05:00
Andreas Hocevar 302087b4ec Reuse properties from ol.layer.TileProperty 2017-02-14 22:19:38 +01:00
Tim Schaub f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod b470220405 Add empty ol.layer.Group.createRenderer 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub afefe66af8 Make layers responsible for creating layer renderers 2016-12-28 14:09:13 -07:00
Tim Schaub 7ee52f413d Shared module for object event types 2016-12-27 13:55:23 -07:00
Tim Schaub 5b937f02ae Shared module for vector tile render type enum 2016-12-27 13:42:44 -07:00
Tim Schaub e24d093d28 Private enum for vector tile property 2016-12-27 13:40:02 -07:00
Tim Schaub c4deee5cb2 Private enum for vector layer property 2016-12-27 13:39:03 -07:00
Tim Schaub 3a77d73c02 Shared module for tile layer property enum 2016-12-27 13:38:19 -07:00
Tim Schaub 9b6256613c Private enum for heatmap properties 2016-12-27 13:36:10 -07:00
Tim Schaub 1a55cbb542 Private enum for layer group properties 2016-12-27 13:35:02 -07:00
Tim Schaub 847efde217 Dedicated module for collection event type enum 2016-12-27 12:31:50 -07:00
Tim Schaub 7a95947dbb Dedicated module for render event type enum 2016-12-27 10:17:17 -07:00
Tim Schaub 549503bd2e Remove property enum from base layer constructor 2016-12-27 09:55:26 -07:00
Tim Schaub 57e3e7273e Add Property enum to ol.layer.Base 2016-12-06 14:49:43 -07:00
Tim Schaub daba1fbcb6 Add EventType enum to ol.Object 2016-12-06 14:49:43 -07:00
Frederic Junod ed677cec4e Rename ol.render.EventType to ol.render.Event.Type 2016-10-13 12:02:51 +02:00
Frederic Junod 189a7f1759 Rename ol.layer.VectorTileProperty to ol.layer.VectorTile.Property 2016-10-13 11:43:40 +02:00
Frederic Junod 80a6512d55 Rename ol.layer.VectorProperty to ol.layer.Vector.Property 2016-10-13 11:42:17 +02:00
Frederic Junod d35537e975 Rename ol.layer.TileProperty to ol.layer.Tile.Property 2016-09-07 10:47:39 +02:00
Frederic Junod fcdeda7f14 Rename ol.layer.HeatmapLayerProperty to ol.layer.Heatmap.Property 2016-09-01 06:58:11 -06:00
Frederic Junod 8b3536fc85 Rename ol.layer.VectorTileRenderType to ol.layer.VectorTile.RenderType 2016-09-01 06:58:11 -06:00
Frederic Junod 5457917e75 Rename ol.layer.GroupProperty to ol.layer.Group.Property 2016-09-01 06:58:10 -06:00
Tim Schaub 00905e8131 Merge pull request #5793 from ahocevar/closure-bye-bye
Closure bye bye
2016-08-31 17:08:58 -06:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Frederic Junod 5583a09889 Reuse ol.LayerState object
Reduce the number of temporary objects by reusing the layer state object.
2016-08-30 13:59:38 +02:00
Frederic Junod 522398d064 Add missing goog.require('ol.style.Style') 2016-08-17 10:00:36 +02:00
Frederic Junod d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Frederic Junod ca7fbc25de Add missing goog.require('ol.asserts') 2016-08-17 09:57:21 +02:00
Tim Schaub 2da724cad4 Static ol.style.Style functions 2016-08-12 10:53:48 -06:00
Tim Schaub d02cf1e7a9 Shuffle assertions 2016-08-12 10:53:47 -06:00
Tim Schaub 907a65ab83 Remove unused goog.require() calls in the source 2016-08-08 09:58:10 -06:00
Tim Schaub 1b8310a6fe Rename ol/objectutil.js to ol/obj.js 2016-08-07 10:49:12 -06:00
Tim Schaub 8ae6ffefc0 Move layer files so they are named like their provides 2016-08-07 10:49:10 -06:00
Tim Schaub ffe3565166 Single provide from ol/collection.js 2016-08-07 10:49:06 -06:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Peter Robins f8f2cd11d5 Replace goog.getUid with ol.getUid 2016-07-20 11:01:00 +00:00
Peter Robins 0713e680e1 Replace goog.abstractMethod 2016-07-19 09:08:23 +00:00
Frederic Junod b8ce70fbf0 Get rid of goog.isFunction 2016-06-20 16:09:25 +02:00
Peter Robins 2c29512c80 Remove sub-namespaces from all remaining typedefs 2016-06-09 10:01:52 +00:00
Frederic Junod e289bfbb7d Use ol.inherits instead of goog.inherits 2016-06-08 08:38:12 +02:00