Commit Graph

1553 Commits

Author SHA1 Message Date
Frederic Junod 5b8b470568 Fix imports in jsdoc blocks 2018-09-03 09:41:00 +02:00
Frederic Junod 3c02bd15fb Add missing 'extent' property in TileImage constructor 2018-09-03 09:41:00 +02:00
Frederic Junod 5fdac622ef Add missing 'extent' property in VectorTile constructor 2018-09-03 09:41:00 +02:00
Frederic Junod 25c1754052 Cast empty optional options in constructor
To remove the typescript errors:
```
Property 'xxx' does not exist on type '{}'
```
2018-09-03 09:40:59 +02:00
Andreas Hocevar ea9517ffd5 Merge pull request #8510 from gberaudo/fix_WMTS_dimensions_handling
Fix WMTS URLs with dimensions
2018-08-22 13:31:53 +02:00
Frédéric Junod d84c64b3e7 Merge pull request #8524 from NeoRaider/xhtml-fixes
Fix compatiblity with XHTML content type
2018-08-22 13:13:22 +02:00
ahocevar 1baa8be269 Add 'rendercomplete' event 2018-08-22 09:53:24 +02:00
Matthias Schiffer 94c6afd65d Avoid HTML entities like   and ©
Use numerical entities instead for XHTML compatiblity.
2018-08-18 13:13:27 +02:00
Guillaume Beraudo 315cfa1033 Fix WMTS layers URLs with dimensions 2018-08-16 15:34:56 +02:00
ahocevar 1eeea2aa4d Use class method syntax instead of .prototype.method = function 2018-08-06 15:30:17 +02:00
ahocevar 2f92e48e93 Use super.method instead of prototype.method.call 2018-08-06 15:30:17 +02:00
Frédéric Junod d49be1393e Merge pull request #8471 from samuel-girard/imagestatic_properties
Add getUrl and getImageExtent to ImageStatic API
2018-08-03 09:22:53 +02:00
Guillaume Beraudo fe86d2e7f7 Expose original getGutter
TileWMS objects take a gutter option but do not have a public getter
for it. This makes it convoluted for user code to recreate the object
(ex: in the case of serialization/deserialization).

- the getGutterInternal() method is renamed to getGutter;
- the getGutter(projection) method is renamed to getGutterForProjection,
  which is also more explicit.

The getGutter method was not API and is only used by the renderer.
2018-08-02 17:12:41 +02:00
Samuel Girard 4012280ad4 Use class property for url 2018-08-02 09:02:04 +02:00
Samuel Girard e48c85a689 Add getUrl and getImageExtent to ImageStatic API 2018-08-01 12:23:38 +02:00
Tim Schaub 6cfa2b22a7 Explicit void 2018-07-26 10:46:39 -06:00
Tim Schaub 2eb07aa081 Use Template<Foo> instead of Template.<Foo> 2018-07-25 18:37:08 -07:00
Tim Schaub affbf59b77 Use Object<Foo, Bar> instead of Object.<Foo, Bar> 2018-07-25 18:33:49 -07:00
Tim Schaub d12ef20b12 Use Array<Foo> instead of Array.<Foo> 2018-07-25 18:32:43 -07:00
ahocevar bbe0a66d07 Set api annotation on classdesc, not constructor 2018-07-21 17:25:22 +02:00
Tim Schaub e1e34e5636 Replace @see with See. 2018-07-19 08:37:32 -06:00
Tim Schaub d46471d763 Replace {@link https://www.example.com/} with https://www.example.com/ 2018-07-19 08:34:35 -06:00
Frederic Junod 323eb3f251 Fix reprojectionErrorThreshold property type 2018-07-19 16:02:58 +02:00
Tim Schaub b8c9125602 Remove lint 2018-07-18 10:35:54 -06:00
ahocevar 9ed3540edf Fix this access in WMTS source 2018-07-18 16:29:53 +02:00
ahocevar 8991dc9718 Do not use this before super() 2018-07-18 12:09:04 +02:00
Tim Schaub b4e0d4c188 Super before this in TileJSON source 2018-07-18 01:00:19 -06:00
Tim Schaub 1309cf9b69 Call super before accessing this in Carto source 2018-07-18 00:53:57 -06:00
Tim Schaub 023bb638b2 Call super before accessing this in raster source 2018-07-18 00:53:17 -06:00
Tim Schaub d885771d8d Call super before accessing this in BingMaps source 2018-07-18 00:52:23 -06:00
Tim Schaub 9ce36da349 Remove @extends and @constructor annotations 2018-07-18 00:36:29 -06:00
Tim Schaub b7b15eb7f0 Remove unused inherits 2018-07-18 00:13:43 -06:00
Tim Schaub 1a5cf52b61 Remove remaining use of inherits in src 2018-07-17 23:43:10 -06:00
Tim Schaub d0ab8dce38 Lint removal 2018-07-16 17:57:57 -06:00
Tim Schaub f78d0d4cfa Manual class transform 2018-07-16 17:09:50 -06:00
Tim Schaub 7b4a73f3b9 Automated class transform
npx lebab --replace src --transform class
2018-07-16 16:18:16 -06:00
Frederic Junod 0c300d651f Change 'Image' type to 'HTMLImageElement' 2018-06-29 09:31:32 +02:00
ahocevar 28409486a5 Make classes in ol/ available as named exports from ol 2018-06-21 18:08:17 +02:00
Frederic Junod f257a8938f Rename ol/source/TileUTFGrid to ol/source/UTFGrid 2018-06-19 14:02:15 +02:00
ThomasG77 cbaa9a7567 Rename defaultDataProjection to dataProjection #8152 2018-06-18 14:08:50 +02:00
Frédéric Junod 6c538c12f6 Merge pull request #8280 from fredj/cleanup
Add missing property in VectorTile options, remove params from createRenderer
2018-06-18 13:41:02 +02:00
Frederic Junod eb902974f3 Add missing properties in option typedef 2018-06-18 11:44:57 +02:00
ahocevar 4127c26ecc Fix code block in comment 2018-06-18 11:19:15 +02:00
Frederic Junod 6444e6989d Add missing properties in option typedef 2018-06-06 16:14:22 +02:00
ahocevar 08e0a0dfea Fix vector tile docs and types 2018-06-05 16:38:15 +02:00
Andreas Hocevar 25034ffd95 Merge pull request #8229 from ahocevar/raster-from-vectorlayer
Support layers instead of renderers for ol/source/Raster
2018-05-28 22:15:02 +02:00
ahocevar f5399de58d Improve API docs 2018-05-28 10:39:29 +02:00
ahocevar 81c0c80a2b Support tile, image and vector layers 2018-05-28 10:28:27 +02:00
ahocevar 137c875df7 Support vector layers instead of renderers for ol/source/Raster 2018-05-28 10:23:47 +02:00
Andreas Hocevar 97dedc7d07 Merge pull request #8227 from ahocevar/better-vectortile-experience
Better vectortile experience
2018-05-28 09:49:26 +02:00