parameters: (self)
return_statement: return base_url
docstring: Prepares the base URL for fetching tiles.
docstring_summary: Prepares the base URL for fetching tiles.
docstring_tokens: Prepares the base URL for fetching tiles .
function: def GetMapBaseUrl(self):
      """Prepares the base URL for fetching tiles."""
  
      # Add 'requestType' parameter to the URL.
      base_url = _TILE_BASE_URL % (self.target_url, self.request_type)
  
      # Add 'format' parameter to the URL.
      base_url += _IMAGE_FMT % self.image_format
  
      if self.db_type == "gemap":
        # 'channel' and 'version' information is
        # required only for 'gemap' database types.
        base_url += _CHANNEL_VERSION % (self.layer_id, self.version)
  
      return base_url
function_tokens: def GetMapBaseUrl ( self ) : # Add 'requestType' parameter to the URL. base_url = _TILE_BASE_URL % ( self . target_url , self . request_type ) # Add 'format' parameter to the URL. base_url += _IMAGE_FMT % self . image_format if self . db_type == "gemap" : # 'channel' and 'version' information is # required only for 'gemap' database types. base_url += _CHANNEL_VERSION % ( self . layer_id , self . version ) return base_url