def __init__(self,
                 data,
                 color_property=None,
                 color_stops=None,
                 color_default='grey',
                 color_function_type='interpolate',
                 line_stroke='solid',
                 line_width_property=None,
                 line_width_stops=None,
                 line_width_default=1,
                 line_width_function_type='interpolate',
                 legend_key_shape='line',
                 highlight_color='black',
                 *args,
                 **kwargs):
        """Construct a Mapviz object

        :param data: can be either GeoJSON (containing polygon features) or JSON for data-join technique with vector polygons
        :param vector_url: optional property to define vector linestring source
        :param vector_layer_name: property to define target layer of vector source
        :param vector_join_property: property to aid in determining color for styling vector lines
        :param data_join_property: property to join json data to vector features
        :param color_property: property to determine line color
        :param color_stops: property to determine line color
        :param color_default: property to determine default line color if match lookup fails
        :param color_function_type: property to determine `type` used by Mapbox to assign color
        :param line_stroke: property to determine line stroke (solid, dashed, dotted, dash dot)
        :param line_width_property: property to determine line width
        :param line_width_stops: property to determine line width
        :param line_width_default: property to determine default line width if match lookup fails
        :param line_width_function_type: property to determine `type` used by Mapbox to assign line width
        :param highlight_color: color for feature selection, hover, or highlight
        """
        super(LinestringViz, self).__init__(data, *args, **kwargs)
        
        self.template = 'linestring'
        self.check_vector_template()

        self.color_property = color_property
        self.color_stops = color_stops
        self.color_default = color_default
        self.color_function_type = color_function_type
        self.line_stroke = line_stroke
        self.line_width_property = line_width_property
        self.line_width_stops = line_width_stops
        self.line_width_default = line_width_default
        self.line_width_function_type = line_width_function_type
        self.legend_key_shape = legend_key_shape
        self.highlight_color = highlight_color
def __init__ ( self , data , color_property = None , color_stops = None , color_default = 'grey' , color_function_type = 'interpolate' , line_stroke = 'solid' , line_width_property = None , line_width_stops = None , line_width_default = 1 , line_width_function_type = 'interpolate' , legend_key_shape = 'line' , highlight_color = 'black' , * args , ** kwargs ) : super ( LinestringViz , self ) . __init__ ( data , * args , ** kwargs ) self . template = 'linestring' self . check_vector_template ( ) self . color_property = color_property self . color_stops = color_stops self . color_default = color_default self . color_function_type = color_function_type self . line_stroke = line_stroke self . line_width_property = line_width_property self . line_width_stops = line_width_stops self . line_width_default = line_width_default self . line_width_function_type = line_width_function_type self . legend_key_shape = legend_key_shape self . highlight_color = highlight_color
Construct a Mapviz object

        :param data: can be either GeoJSON (containing polygon features) or JSON for data-join technique with vector polygons
        :param vector_url: optional property to define vector linestring source
        :param vector_layer_name: property to define target layer of vector source
        :param vector_join_property: property to aid in determining color for styling vector lines
        :param data_join_property: property to join json data to vector features
        :param color_property: property to determine line color
        :param color_stops: property to determine line color
        :param color_default: property to determine default line color if match lookup fails
        :param color_function_type: property to determine `type` used by Mapbox to assign color
        :param line_stroke: property to determine line stroke (solid, dashed, dotted, dash dot)
        :param line_width_property: property to determine line width
        :param line_width_stops: property to determine line width
        :param line_width_default: property to determine default line width if match lookup fails
        :param line_width_function_type: property to determine `type` used by Mapbox to assign line width
        :param highlight_color: color for feature selection, hover, or highlight