class Google::Apis::VectortileV1::BasemapZOrder
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.
Attributes
z_grade[RW]
The second most significant component of the ordering of a component to be rendered onto the basemap. Corresponds to the JSON property `zGrade` @return [Fixnum]
z_plane[RW]
The most significant component of the ordering of a component to be rendered onto the basemap. Corresponds to the JSON property `zPlane` @return [Fixnum]
z_within_grade[RW]
The least significant component of the ordering of a component to be rendered onto the basemap. Corresponds to the JSON property `zWithinGrade` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vectortile_v1/classes.rb, line 142 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/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