Commit Graph

34 Commits

Author SHA1 Message Date
tsauerwein
82ef80cf60 Add imageSize and origin for hit-detection image 2014-11-21 09:39:38 +01:00
Éric Lemoine
4c0bfd8905 More restrictive type for ol.style.Icon#getImage 2014-09-30 12:26:06 +02:00
Peter Robins
d9976ca207 Fix missing API docs 2014-08-11 09:35:16 +00:00
Tim Schaub
4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Éric Lemoine
8dc9618adb Add ol.style.Icon#getImageSize 2014-06-25 12:16:22 +02:00
Tim Schaub
2a42e7736a Merge pull request #2178 from probins/classdesc
Use @classdesc notation.
2014-06-09 11:18:14 -06:00
Peter Robins
41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
oterral
71951b8bbd Add offset and offsetOrigin in ol.style.Icon 2014-06-04 11:15:13 +02:00
Éric Lemoine
4981cde729 Add "img" option to ol.style.Icon 2014-06-02 07:56:34 +02:00
Éric Lemoine
6cd403945a Set snapToPixel defaut value to true 2014-05-07 09:58:56 +02:00
Éric Lemoine
a62fd53d36 Add "origin" option to ol.style.Image 2014-05-05 09:30:35 +02:00
Frédéric Junod
0cd33ebfe9 Merge pull request #1926 from fredj/cache-anchor
Compute anchor value only once
2014-05-01 23:23:18 +02:00
Andreas Hocevar
fbdbbfb7a7 Get rid of stability annotations and document stability with api
This change adds a stability value to the api annotation, with
'experimental' as default value.

enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.

Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
Andreas Hocevar
c17ac0cae3 Greatly simplify and document the usage of JSDoc
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.

As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.

This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288 Annotations for exports 2014-04-29 09:53:05 -06:00
Frederic Junod
55de0a54b9 Add ol.dom.createCanvasContext2D function 2014-04-02 09:37:41 +02:00
Frederic Junod
fa640cf094 Compute anchor value only once 2014-03-31 10:20:52 +02:00
oterral
5028aa3bc3 Fix anchor origin calculation 2014-03-07 13:35:18 +01:00
Tom Payne
fb1c66525c Catch CORS exceptions when loading icons 2014-03-01 13:56:44 +01:00
Tom Payne
7a34929b15 Rename rotateWithMap to rotateWithView 2014-02-21 14:32:06 +01:00
Tom Payne
27c5ab0312 Replace subtractViewRotation with rotateWithMap 2014-02-21 11:21:20 +01:00
Éric Lemoine
fe159aa7fa Merge pull request #1726 from oterral/fix_anchororigin
Add anchorOrigin option in ol.style.Icon
2014-02-21 09:24:23 +01:00
oterral
0a6390fb21 Add anchorOrigin option in ol.style.Icon 2014-02-21 09:09:59 +01:00
Frederic Junod
430ff9c850 Add opacity property to ol.style.Image 2014-02-19 11:40:40 +01:00
Éric Lemoine
c2d0cab07a Add tests for ol.style.IconImageCache 2014-02-06 12:59:39 +01:00
Éric Lemoine
c2fe25ee26 Use the icon image cache 2014-02-06 12:59:39 +01:00
Éric Lemoine
065663b242 Introduce an icon image cache 2014-02-06 12:59:38 +01:00
Éric Lemoine
3626ff5b16 Icon images are handled by a separate class 2014-02-06 12:59:38 +01:00
Éric Lemoine
49120e4761 Icon anchors are Array.<number> 2014-01-08 10:07:01 +01:00
Éric Lemoine
a0a94414dd Add anchorXUnits and anchorYUnits options to ol.style.Icon 2014-01-08 00:24:55 +01:00
Tom Payne
d82f1f8e02 Add scale to ol.style.IconStyle 2013-12-19 16:26:05 +01:00
Éric Lemoine
e4f2a7552e Add getters to ol.style.Icon 2013-12-19 14:37:57 +01:00
Éric Lemoine
2bd0f8ae3e Add ol.style.Icon#getHitDetectionImage 2013-12-19 09:08:58 +01:00
Éric Lemoine
61f5871e90 Add ol.style.Icon 2013-12-19 00:20:10 +01:00