def add_unique_template_variables(self, options):
        """Update map template variables specific to circle visual"""
        options.update(dict(
            geojson_data=json.dumps(self.data, ensure_ascii=False),
            colorProperty=self.color_property,
            colorType=self.color_function_type,
            colorStops=self.color_stops,
            strokeWidth=self.stroke_width,
            strokeColor=self.stroke_color,
            radius=self.radius,
            defaultColor=self.color_default,
            highlightColor=self.highlight_color
        ))

        if self.vector_source:
            options.update(vectorColorStops=self.generate_vector_color_map())
def add_unique_template_variables ( self , options ) : options . update ( dict ( geojson_data = json . dumps ( self . data , ensure_ascii = False ) , colorProperty = self . color_property , colorType = self . color_function_type , colorStops = self . color_stops , strokeWidth = self . stroke_width , strokeColor = self . stroke_color , radius = self . radius , defaultColor = self . color_default , highlightColor = self . highlight_color ) ) if self . vector_source : options . update ( vectorColorStops = self . generate_vector_color_map ( ) )
Update map template variables specific to circle visual