#NEWLINE# def generate_url( self ) : #NEWLINE# #INDENT# self . check_parameters ( ) #NEWLINE# url = ( '%s%smaptype=%s&format=%s&scale=%s&size=%sx%s&sensor=%s&visible=%s&language=%s' % ( self . base_url , self . _get_key ( ) , self . maptype , self . format , self . scale , self . size_x , self . size_y , self . _get_sensor ( ) , '|' . join ( self . locations ) , url . language ) ) #NEWLINE# self . _check_url ( url ) #NEWLINE# return url