Class: Google::Apis::VectortileV1::BasemapZOrder
- Inherits:
-
Object
- Object
- Google::Apis::VectortileV1::BasemapZOrder
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vectortile_v1/classes.rb,
generated/google/apis/vectortile_v1/representations.rb,
generated/google/apis/vectortile_v1/representations.rb
Overview
Metadata necessary to determine the ordering of a particular basemap element relative to others. To render the basemap correctly, sort by z-plane, then z- grade, then z-within-grade.
Instance Attribute Summary collapse
-
#z_grade ⇒ Fixnum
The second most significant component of the ordering of a component to be rendered onto the basemap.
-
#z_plane ⇒ Fixnum
The most significant component of the ordering of a component to be rendered onto the basemap.
-
#z_within_grade ⇒ Fixnum
The least significant component of the ordering of a component to be rendered onto the basemap.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BasemapZOrder
constructor
A new instance of BasemapZOrder.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BasemapZOrder
Returns a new instance of BasemapZOrder.
142 143 144 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#z_grade ⇒ Fixnum
The second most significant component of the ordering of a component to be
rendered onto the basemap.
Corresponds to the JSON property zGrade
128 129 130 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 128 def z_grade @z_grade end |
#z_plane ⇒ Fixnum
The most significant component of the ordering of a component to be rendered
onto the basemap.
Corresponds to the JSON property zPlane
134 135 136 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 134 def z_plane @z_plane end |
#z_within_grade ⇒ Fixnum
The least significant component of the ordering of a component to be rendered
onto the basemap.
Corresponds to the JSON property zWithinGrade
140 141 142 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 140 def z_within_grade @z_within_grade end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 151 |
# File 'generated/google/apis/vectortile_v1/classes.rb', line 147 def update!(**args) @z_grade = args[:z_grade] if args.key?(:z_grade) @z_plane = args[:z_plane] if args.key?(:z_plane) @z_within_grade = args[:z_within_grade] if args.key?(:z_within_grade) end |