diff options
author | Josh Erb <josh.erb@mapbox.com> | 2018-10-30 18:03:56 -0400 |
---|---|---|
committer | Josh Erb <josherb4@gmail.com> | 2018-11-13 11:39:39 -0800 |
commit | b891a8d6b0dc9e92a283756448b4671bef3da71f (patch) | |
tree | 23f717df2919ad7f6d1ef78054476575829f7021 /platform/darwin/src/MGLLight.h.ejs | |
parent | bf8b24fa8d30df374ee36be781b6a572036187b9 (diff) | |
download | qtlocation-mapboxgl-b891a8d6b0dc9e92a283756448b4671bef3da71f.tar.gz |
[ios][documentation] link API documentation to ios-sdk/examples
Diffstat (limited to 'platform/darwin/src/MGLLight.h.ejs')
-rw-r--r-- | platform/darwin/src/MGLLight.h.ejs | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/platform/darwin/src/MGLLight.h.ejs b/platform/darwin/src/MGLLight.h.ejs index 56c3312107..30efef7937 100644 --- a/platform/darwin/src/MGLLight.h.ejs +++ b/platform/darwin/src/MGLLight.h.ejs @@ -46,11 +46,11 @@ typedef struct __attribute__((objc_boxable)) MGLSphericalPosition { /** Creates a new `MGLSphericalPosition` from the given radial, azimuthal, polar. - + @param radial The radial coordinate. @param azimuthal The azimuthal angle. @param polar The polar angle. - + @return Returns a `MGLSphericalPosition` struct containing the position attributes. */ NS_INLINE MGLSphericalPosition MGLSphericalPositionMake(CGFloat radial, CLLocationDirection azimuthal, CLLocationDirection polar) { @@ -58,12 +58,12 @@ NS_INLINE MGLSphericalPosition MGLSphericalPositionMake(CGFloat radial, CLLocati position.radial = radial; position.azimuthal = azimuthal; position.polar = polar; - + return position; } /** - <%- doc %> + <%- doc.wrap(80, 1) %> */ MGL_EXPORT @interface MGLLight : NSObject @@ -76,6 +76,11 @@ MGL_EXPORT This property corresponds to the <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#light-<%- originalPropertyName(property) %>"><code><%- originalPropertyName(property) %></code></a> light property in the Mapbox Style Specification. +<% if (property.examples) { -%> + + #### Related examples +<%- propertyExample(property).wrap(80, 1) %> +<% } -%> */ @property (nonatomic<% if (property.getter) { %>, getter=<%- objCGetter(property) -%><% } %>) NSExpression *<%- camelizeWithLeadingLowercase(property.name) %>; |